五十幾道RHCE參考筆勢試題(四)

31. you want to compile a new kernel. you have just run "make xconfig". what should you do next?
choose the best answer:
a. make bzimage
b. make dep
c. make clean
d. make mrproper
e. make xconfig 

32. what file contains the configuration for bind?
choose the best answer:
a. /etc/bind.conf
b. /etc/named.conf
c. /etc/dns.conf
d. /var/named/bind.conf
e. /var/named.conf 

33. how can you find out which ports are being used?
choose the best answer:
a. ifconfig -a
b. netstat -a
c. netstat -rn
d. ports
e. cat /etc/services 

34. you install linux and reboot your machine and you see only l instead of the expected lilo. what is wrong?
choose the best answer:
a. lilo did not load at all.
b. the first stage boot loader loaded but not the second stage.
c. the descriptor table is corrupt.
d. the second stage boot loader loaded at an incorrect address
e. nothing is wrong. 

35. what is the correct syntax to mount an ms dos formatted floppy disk (do not assume that there is an entry in /etc/fstab)?
choose the best answer:
a. mount /dev/floppy /mnt/fd0
b. mount -t iso9660 /dev/fd0 /mnt/floppy
c. mount -t vfat /dev/fd0 /mnt/floppy
d. mount -t msdos /dev/floppy /mnt/floppy
e. mdir 

36. which option can not be specified to a client using the dhcp protocol?
choose the best answer:
a. default gateway
b. primary wins server
c. subnet mask
d. web proxy server
e. ip address 

37. which options to chmod allow read access to all but only allow write and execute access to the owner?
choose the best answer:
a. chmod 777 filename
b. chmod 700 filename
c. chmod 744 filename
d. chmod 447 filename
e. chmod 775 filename 

38. you are configuring a linux dhcp server. you have it setup and working (as linux clients are getting ip addresses from the dhcp server fine) but some windows 95 clients are not getting ip addresses properly from your dhcp server. what do you need to do?
choose the best answer:
a. route add -host 255.255.255.255 dev eth0
b. route add -net 255.255.255.255 dev eth0
c. service dhcp restart
d. touch /var/state/leases
e. windows 95 is not compatible with a linux dhcp server. 

39. what command allows you to switch from using gnome to using kde?
choose the best answer:
a. xconfigurator
b. xsetup
c. xwindowconfig
d. switchdesk
e. videocfg 

40. what file do you edit to set the default runlevel?
choose the best answer:
a. /etc/grub.conf
b. /etc/lilo.conf
c. either a or b
d. /etc/inittab
e. /etc/runlevel 

41. how do i immeadiately shut down a linux system?
choose the best answer:
a. turn off the monitor then turn off the cpu.
b. /sbin/stop
c. init 6
d. shutdown -h now
e. none of the above