会计考友 发表于 2012-8-4 12:19:50

红帽认证RHCE试题及答案5

21. What directory contains the DNS zone files?
A. /etc/bind/
B. /etc/named/
C. /etc/bind.d
D. /var/named
E. /var/bind.d
You answered this question incorrectly
Explanation: The zone files are stored in /var/named by default. The location of this directory is specified in /etc/named.conf.

22. Where are source RPMs installed?
A. /usr/src/linux/rpms/
B. /var/src/linux/rpm/
C. /var/rpm/src/
D. /var/linux/rpm/src/
E. /usr/src/redhat/
You answered this question incorrectly
Explanation: Source RPMs are installed in /usr/src/redhat. There are 5 subdirectories under there. SOURCES contains the original source code. SPECS contains the specification files that control the RPM build process. BUILD is where source code is uncompressed and built. SRPMS contains the source RPM that is created when you build one.

23. Which option can not be specified to a Client using the DHCP protocol?
A. default gateway
B. primary WINS server
C. subnet mask
D. web proxy server
E. IP address
You answered this question incorrectly
Explanation: You can specify all of the above except the address of the web proxy server via DHCP.

24. Your IP address is 10.0.0.2 and your subnet mask is 255.255.255.0. You have one ethernet card. You want to set your default gateway to be 10.0.0.1. Which of the following is the correct syntax to accomplish this?
A. route add default 10.0.0.1 eth0
B. route add default gw 10.0.0.1 dev eth0
C. route add default gw 10.0.0.2 eth0 255.255.255.0
D. route add default gw 10.0.0.2 /dev/eth0 255.255.255.0
E. route add default gw 10.0.0.2 255.255.255.0
You answered this question incorrectly
Explanation: A and B don’t set the proper subnet mask. C is correct. D’s syntax is wrong. E’s syntax is wrong.

25. What command will create the quota.user and quota.group files for me?
A. quotacheck -avug
B. quotacheck -cugf
C. quotacheck -rugf
D. repquota -u
E. none of the above
You answered this question incorrectly
Explanation: A is right. You can also do it like this:
touch /quota.user
touch /quota.group
chmod 600 /quota.*
页: [1]
查看完整版本: 红帽认证RHCE试题及答案5