五十几道RHCE参考笔试试题(三)
来源:优易学  2011-11-29 20:07:06   【优易学:中国教育考试门户网】   资料下载   IT书店
21. If you want to allow X-Windows programs from hostB to run on the display on hostA what would you need to do?
Choose the best answer:
A. run xhost +hostB on hostA.
B. run xhost +hostA on hostB.
C. run xhost + on hostA.
D. run xhost + on hostB.
E. just set the DISPLAY environment variable and it will work.         

22. What port does the Squid proxy server use by default?
Choose the best answer:
A. 80
B. 1080
C. 3028
D. 3128
E. 8080         

23. What program can be used to test the smb.conf file for errors?
Choose the best answer:
A. mount
B. test
C. samba --checkparm
D. testparm
E. smbfs         

24. What file contains the configuration for the Network Time Protocol server?
Choose the best answer:
A. /etc/ntp.conf
B. /etc/xntp.conf
C. /etc/NTP
D. /etc/time.conf
E. /etc/timeserver.conf         

25. You have created a /home/projectx directory with the owner of projectx and a group of projectx. How can you set its permissions so that all files created in this directory are owned by the projectx group?
Choose the best answer:
A. chown projectx.projextx /home/projectx
B. chgrp projectx /home/projectx
C. chmod 755 /home/projectx
D. chmod g-s /home/projectx
E. chmod g+s /home/projectx         

26. What program allows you to acess SMB shares using ftp-like commmands?
Choose the best answer:
A. mount
B. smbftp
C. smbclient
D. smbmount
E. samba         

27. What does the -N option do for the dhcpcd program?
Choose the best answer:
A. Sets the hostname of the machine to the name provided by DHCP.
B. If the dhcpcd server is already running then it sends it an ALRM signal to get it to renew its lease.
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         

28. Where are kernel modules stored assuming you are using kernel version 2.4.16-9?
Choose the best answer:
A. /lib/redhat/modules/2.4.16-9
B. /lib
C. /lib/modules/2.4.16-9
D. /lib/modules
E. /usr/lib/modules/         

29. What does the following cron entry do?
10 5 * * * /bin/foo

Choose the best answer:
A. runs /bin/foo every 10 minutes 5 days a week
B. runs /bin/foo at 10:05 AM every day
C. runs /bin/foo on the 10th of May every year
D. runs /bin/foo at 5:10 AM every day
E. none of the above         

30. What directory contains the DNS zone files?
Choose the best answer:
A. /etc/bind/
B. /etc/named/
C. /etc/bind.d
D. /var/named
E. /var/bind.d

责任编辑:小草

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