免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1631 | 回复: 7
打印 上一主题 下一主题

SA-299试题 讨论一下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-27 22:30 |只看该作者 |倒序浏览
our /etc/syslog.conf file contains the line:
*.alert;kern.err;daemon.notice @operator
To which destination are messages sent?
A. The user named operator.
B. The host named operator.
C. The /var/log/operator file.
D. All members of the group operator.
Answer: A  :我认为是:B ·@后跟host name.

Which four files need to be configured on a boot server to allow the JumpStart client boot
operation? (Choose four)
A. hosts
B. vfstab
C. dfstab
D. ethers
E. mnttab
F. bootparams
Answer: A, C, E, F  : 我的答案:a c d f  mnttab不用配置,


Given the line from a name service configuration file:
ethers: nis [UNAVAIL=return] files

Which two statements correctly describe the behavior of the name service switch? (Choose two)
A. If NIS does NOT find the appropriate entry in its ethers map, the search will end without
looking in the local file.
B. If the NIS server does NOT respond, the search for the ethers entry will end without
looking in the local file.
C. If NIS does NOT find the appropriate entry in its ethers map, the search will continue by
looking for it in the local file.
D. If the NIS server does NOT respond, the search for the ethers entry will continue by
looking for it in the local file.
Answer: A, B   我的答案:B ,C  


Which two must you complete when configuring an NIS slave server? (Choose two)
A. You execute the domainname command to set the local NIS domain.
B. You edit the /etc/inet/hosts file to include the NIS master server and NIS slave
servers.
C. You edit the slave server copies of the /etc/ethers file to identify MAC addresses of the
NIS clients.
D. You execute the ypbind command on the slave server to pull the NIS maps from the master
server to the slave server.
Answer: A, C:我的答案:a b

以上的题有些疑问,欢迎大家讨论,指导

论坛徽章:
0
2 [报告]
发表于 2005-04-28 01:05 |只看该作者

SA-299试题 讨论一下

@host
you must prefix the host name or ip address with an @sign. messages are forwarded to te syslogd of the remote system
2. for boot operations to proceed, the following files and directories must be properly configured on the boot server:
/etc/ethers, /etc/hosts, /etc/bootparams, /etc/dfs/dfstab and tftpboot.
answer:  A.C.d.F

3.  return    stop looking for the entry  so answer A B is right

4. this only A is right. I think need to edit /etc/hosts not /etc/inet/hosts. maybe C is right because ??

论坛徽章:
0
3 [报告]
发表于 2005-04-28 07:47 |只看该作者

SA-299试题 讨论一下

UNAVAIL=return  应该是 no respond without looking . no find  continue!  A 的情况应为:nofound=return.
???

论坛徽章:
0
4 [报告]
发表于 2005-04-28 09:36 |只看该作者

SA-299试题 讨论一下

Which two statements correctly describe the behavior of the name service switch? (Choose two)
A. If NIS does NOT find the appropriate entry in its ethers map, the search will end without
looking in the local file.
B. If the NIS server does NOT respond, the search for the ethers entry will end without
looking in the local file.
C. If NIS does NOT find the appropriate entry in its ethers map, the search will continue by
looking for it in the local file.
D. If the NIS server does NOT respond, the search for the ethers entry will continue by
looking for it in the local file.
Answer: A, B


倒数第二题答案如上,最后一题答案是a,d,  其它题你的答案是正确的.
它应该翻译成在不查找files文件的情况下结束查找.关键在这个without的翻译.
"UNAVAIL --- Source is not configured on this system or internal failure.  "  
"return --- Return now. "
在这里A为没有发现相应的条目,也就是说可以理解为它没有经过配置,或配置过程输入了错误的数据,导致查找不能匹配.
B为说明该服务器根本没有配置过NIS服务或NIS在运行过程中出现了问题不能响应终端的请求.

所以遇到return它会"马上返回"不再进行其它查找

论坛徽章:
0
5 [报告]
发表于 2005-04-28 09:53 |只看该作者

SA-299试题 讨论一下

Which two must you complete when configuring an NIS slave server? (Choose two)
A. You execute the domainname command to set the local NIS domain.
B. You edit the /etc/inet/hosts file to include the NIS master server and NIS slave
servers.
C. You edit the slave server copies of the /etc/ethers file to identify MAC addresses of the
NIS clients.
D. You execute the ypbind command on the slave server to pull the NIS maps from the master
server to the slave server.
Answer: A, D
第一条是肯定对的,
]第二条,它编辑的文件是正确的,但表达的不完整,应该在所有的主/从服务器上执行。所以先放一下看后面有没有更合适的答案。
第三条,做了一个无用功,和你配置NIS没关系。
第四条,它说执行ypbind命令,实质它是一个隐含过程。当你要做一个从服务的器时你要先把它配置为nis client所以必须执行ypinit -c命令,它的作用就是利用ypbind进程把主服务器的maps传到终端(也就是当前要成为从服务器的机器上)。这是复制原始maps的过程,是配置nis slave server必不可少的过程。

所以答案是A ,D

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
6 [报告]
发表于 2005-04-28 09:58 |只看该作者

SA-299试题 讨论一下

有些试题的答案是错的。

论坛徽章:
0
7 [报告]
发表于 2005-04-28 10:09 |只看该作者

SA-299试题 讨论一下

slave pull master 不是用ypxfr 命令吗?

论坛徽章:
0
8 [报告]
发表于 2005-04-28 10:17 |只看该作者

SA-299试题 讨论一下

你该好好看看Naming and Directory Services (DNS, NIS, and LDAP)
文档的Setting Up NIS Slave Servers

Your network can have one or more slave servers. Having slave servers ensures the continuity of NIS services when the master server is not available.

Preparing a Slave Server
Before actually running ypinit to create the slave servers, you should run the domainname command on each NIS slave to make sure the domain name is consistent with the master server.


--------------------------------------------------------------------------------
Note –
Domain names are case-sensitive.


--------------------------------------------------------------------------------

Make sure that the network is working properly before you configure an NIS slave server. In particular, check to be sure you can use rcp to send files from the master NIS server to NIS slaves.

Setting Up a Slave Server
The following procedure shows how to set up a slave server.

How to Set up a Slave Server
Become superuser.

Edit the /etc/hosts or /etc/inet/ipnodes file on the slave server to add the name and IP addresses of all the other NIS servers.

Change directory to /var/yp on the slave server.


--------------------------------------------------------------------------------
Note –
You must first configure the new slave server as an NIS client so that it can get the NIS maps from the master for the first time. See Setting Up NIS Clients for details.


--------------------------------------------------------------------------------

To initialize the slave server as a client, type the following.

# /usr/sbin/ypinit -c

The ypinit command prompts you for a list of NIS servers. Enter the name of the local slave you are working on first, then the master server, followed by the other NIS slave servers in your domain in order from the physically closest to the furthest in network terms.

To determine if ypbind is running, type the following.

# ps -ef | grep ypbind

If a listing is displayed, ypbind is running.

If ypbind is running, stop it.

# /usr/lib/netsvc/yp/ypstop

Type the following to restart ypbind.

# /usr/lib/netsvc/yp/ypstart

To initialize this machine as a slave, type the following.

# /usr/sbin/ypinit -s master

Where master is the machine name of the existing NIS master server.

Repeat the procedures described in this section for each machine you want configured as an NIS slave server.

The following procedure shows how to start NIS on a slave server.

How to Start NIS on a Slave Server
Become superuser.

Stop all existing yp processes.

# /usr/lib/netsvc/yp/ypstop

Start ypserve on the slave and run ypbind.

# /usr/lib/netsvc/yp/ypstart

Alternatively, you can reboot the slave server and the daemons start automatically.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP