五十几道RHCE参考笔试试题(一)
来源:优易学  2011-11-29 20:06:15   【优易学:中国教育考试门户网】   资料下载   IT书店
1. What file do I edit to prevent specific users from accessing an ftp server? 
Choose the best answer: 
A. /etc/hosts.allow 
B. /etc/hosts.deny 
C. /etc/ftpacess 
D. /etc/ftpusers 
E. /etc/ftpd.conf          

2. You have just added a new NFS share to the appropriate file. What must you do to activate the share? 
Choose the best answer: 
A. reboot 
B. exportfs -a 
C. ndc restart 
D. server nfs start 
E. mount -A          

3. What does the -H option do for the dhcpcd program? 
Choose the best answer: 
A. Sets the hostname of the machine to the name provided by DHCP. 
B. Kills any previous version of the dhcpcd program that may be running. 
C. Passes the machine name to DHCP as part of the DHCP request. 
D. Only tries to get a new ip address if the current one is older than a certain number of hours. 
E. None of the above          

4. What command will map all of the dependencies between modules into a file? 
Choose the best answer: 
A. modmap 
B. depmod -a 
C. depmod --rebuild 
D. modmap --rebuild 
E. modprobe --rebuild          

5. What file contains the list of terminals that root is allowed to log into? 
Choose the best answer: 
A. /etc/rooterm.conf 
B. /etc/terminals 
C. /etc/secure 
D. /etc/tty.conf 
E. /etc/securetty          

6. How do you install an RPM? 
Choose the best answer: 
A. rpm -evh packagename.rpm 
B. rpm -ivh packagename.rpm 
C. rpm -q packagename.rpm 
D. rpm -qa *.rpm 
E. rpm -ql *.rpm          

7. What command will turn off the ftpd service in all runlevels? 
Choose the best answer: 
A. chkconfig ftpd off 
B. rm /etc/rc.d/init.d/*ftpd* 
C. chkconfig --levels 12345 ftpd off 
D. service ftpd stop 
E. service ftpd stop -persistant          

8. What file would you edit to share out a directory via NFS? 
Choose the best answer: 
A. /etc/nfsd.conf 
B. /etc/nsf 
C. /etc/fstab 
D. /etc/exports 
E. /etc/export.conf          

9. How can you see the kernel routing table? 
Choose the best answer: 
A. netstat -Route 
B. netstat -rn 
C. netstat -an 
D. route show default gw 
E. netstat          

10. Sendmail is an example of a(n):? 
Choose the best answer: 
A. MTA 
B. MUA 
C. MDA 
D. MLA 
E. All of the above  

责任编辑:小草

文章搜索:
 相关文章
热点资讯
热门课程培训