五十几道RHCE参考笔试试题(一)

来源:Linux认证    发布时间:2012-11-11    Linux认证视频    评论

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          

视频学习

我考网版权与免责声明

① 凡本网注明稿件来源为"原创"的所有文字、图片和音视频稿件,版权均属本网所有。任何媒体、网站或个人转载、链接转贴或以其他方式复制发表时必须注明"稿件来源:我考网",违者本网将依法追究责任;

② 本网部分稿件来源于网络,任何单位或个人认为我考网发布的内容可能涉嫌侵犯其合法权益,应该及时向我考网书面反馈,并提供身份证明、权属证明及详细侵权情况证明,我考网在收到上述法律文件后,将会尽快移除被控侵权内容。

最近更新

社区交流

考试问答