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.*
26. You have just added a new NFS share to the appropriate file. What must you do to activate the share?
A. reboot
B. exportfs -a
C. ndc restart
D. server nfs start
E. mount -A
You answered this question incorrectly
Explanation: To share a directory via NFS you must edit the /etc/exports file and then run exportfs -a.
27. How can you turn off interface eth1?
A. service network stop
B. service netork stop eth1
C. ifstop eth1
D. ifdown eth1
E. ps -aux |grep eth1| kill `awk -f {$1}`
You answered this question incorrectly
Explanation: The ifdown eth1 command will turn off the eth1 interface. the service network stop command will stop all networking which is not what you want. The ifstop command does not exist. The last command is just nonsense.
28. What file do you edit to set the default runlevel?
A. /etc/grub.conf
B. /etc/lilo.conf
C. either A or B
D. /etc/inittab
E. /etc/runlevel
You answered this question incorrectly
Explanation: /etc/inittab is the standard place to do this and is the best answer.
29. Which options to chmod allow read access to all but only allow write and execute access to the owner?
A. chmod 777 filename
B. chmod 700 filename
C. chmod 744 filename
D. chmod 447 filename
E. chmod 775 filename
You answered this question incorrectly
Explanation: A is wrong because it allows read write and execute to everyone. B is wrong because it does not allow read access to everyone. C is correct. D is wrong because it allows write acess to everyone. E is wrong because it allows write access to the group.
30. What file contains the list of terminals that root is allowed to log into?
A. /etc/rooterm.conf
B. /etc/terminals
C. /etc/secure
D. /etc/tty.conf
E. /etc/securetty
You answered this question incorrectly
Explanation: The /etc/securetty file contains a list of all terminals that root is allowed to log into.
上一页 [1] [2] [3] [4] [5] [6] 下一页
责任编辑:小草