满分50,一题一分,35分满分,需要很高的英语水平哦。
1. When the system is mounted, all file systems in the /etc/fstab are mounted, except those with what in the option column?
A. nomount
B. noauto
C. noatime
D. nohup
2. You want to compile a new kernel. You have just run "make dep". What should you do next?
Choose the best answer:
A. make bzImage
B. make dep
C. make clean
D. make mrproper
E. make xconfig
3. With a Linux 2.2 Kernel-based machine configuration of 133 MHZ, 32 MB RAM and a 1 GB HD, how much swap should be configured?
A. 512MB
B. 256MB
C. 128MB
D. 64MB
E. 32MB
4. Which command removes all subdirectories in /tmp, regardless of whether they are non-existent or in use?
A. del /tmp/*
B. m -rf /tmp
C. rm -Ra /tmp/*
D. rm -rf /tmp/*
E. delete /tmp/*,*
5. You have the following file:
-rwxrwxr-x 1 foo root 0 Feb 23 07:48 /bin/foo
Which of the following commands will change the owner of the file /bin/foo from the foo user to the bar user without affecting group ownership?
A. chown /bin/foo bar
B. chown bar /bin/foo
C. chown bar.foo /bin/foo
D. chown.foo.bar /bin/foo
6. Your unmask is set to 002. If you create a new file, what will the permission of the new file be?
A. –rw-rw-r--
B. rwxrwx-w-
C. ------w-
D. rwxrwxr-x
7. What Linux utility allows you to easily configure your Sound Blaster card on Linux?
A. Sndconfig
B. SoundConf
C. Usrconf
D. Sysconf
8. Where can lilo place boot code?
A. The boot ROM
B. The boot RAM
C. The /boot partition
D. The MBR on a hard drive
9. What lilo.conf parameter will cause the root file system to be mounted read only?
A. no-write
B. read
C. no-right
D. read-only
10. Linux is a(n) _________ operating system, meaning the source code is freely available.
A. Open sourced
B. User licensed
C. Closed source
D. Open binary
11. Which of the following commands can be used to extract a tar file?
A. tar -vf
B. tar -xvf
C. tar -e
D. tar -v
12. Which of the following commands can be used to create a tar archive file in verbose mode?
A. tar -v
B. tar -cvf
C. tar -c
D. tar -vf
13. In what file do you change default shell variables for all users?
A. /etc/bashrc
B. /etc/profile
C. ~/.bash_profile
D. /etc/skel/.bashrc
E. /etc/skel/.bash_profile
14. Which two files in a user's home directory are used to customize the bash environment?
A. bash and .bashrc
B. bashrc and-bash_conf
C. bashrc and bashprofile
D. .bashrc and .bash_profile
E. bash.conf and .bash_profile
15. Where are the default settings for the useradd command kept?
A. /etc/default/useradd
B. /etc/sysconfig/useradd.cfg
C. /etc/.useradd
D. /etc/defaults/useradd
E. /etc/login.defs
16. Which protocol is used by ping?
A. TCP
B. UDP
C. SMB
D. ICMP
E. OSPF
17. If you suspect that a gateway machine on your network has failed but you are unsure which machine, which command will help locate the problem?
A. ps
B. netstat
C. nsloopup
D. ifconfig
E. traceroute
18. What is the binary conversion of the IP address 192.168.1.10?
A. 11000000.10101000.00000001.00001010
B. 01101010.11000100.10101000.00000001
C. 00000001.00001010.11000000.10101000
D. 10101000.00000001.00001010.11000000
E. None of the choices
19. Your server logfile shows repeated connections to TCP port 143, what service is being accessed?
A. smtp
B. imap
C. pop3
D. pop2
20. The _____ is used by the local host to determine which hosts are on the local subnet, and which hosts are on remote networks.
A. DNS
B. ARP
C. gateway
D. netmask
E. routing protocol
21. What system file contains definitions of well known ports, their associated services and protocols?
A. /etc/services
B. /etc/sysconfig/network-scripts
C. /etc/services.conf
D. /etc/inet/hosts
E. None of the choices
22. What is a well-known service that binds port 25 and is it required on all hosts?
A. SNMP and it should be turned off if not needed.
B. SMTP and it is a required service.
C. SMTP and it is only required on MX hosts.
D. SLPD and it is required if you run LDAP services.
E. SSHD and it is required for secure logins.
23. Your machine has two working NIC's with proper addresses. You want to split your network into two new subnets. What single command will accomplish this?
A. ifconfig
B. route
C. default
D. netstat
E. None of the choices
24. What directory be default contains the delivered mail for each user?
A. ~/mail/
B. /usr/mail/
C. /var/mail/
D. /var/mail/spool/
E. /var/spool/mail/
25. You are running an email server configured with the default settings. In which directory will you found the delivered mail for the user foo?
A. /var/spool/mail
B. /home/foo/mail
C. /var/mail/spool
D. /var/users/mail
26. You have a standard Apache web server installation and want to make it respond to requests on port 8088. To do this, what configuration file do you need to change?
A. None. This is the default port.
B. /etc/httpd/apache.conf
C. /etc/httpd/ports.conf
D. /etc/httpd/httpd.conf
E. /etc/httpd/access.conf
27. What configuration file and directive will alter your apache server IP and or port that it listens to?
A. Port
B. IPAddress
C. Listen
D. MinSpareServers
28. What Apache directive must you change when using inetd to control your Apache server?
A. ServerType
B. ServerInetd
C. InetServer
D. StartServer
E. ServerMethod
29. Which Apache Directive specifies the location of the HTTP documents?
A. RootDocument
B. ServerRoot
C. DocumentRoot
D. RootServer
E. DocPath
30. What command can be used to shut down the Apache server gracefully?
A. apacheshut
B. apachectl
C. apachestop
D. apachestart
31. How many spare server processes are required by Apache for the typical, low-to-moderate volume website?
A. 1
B. 50
C. 10
D. 200
32. What is the simplest method to connect a Win98 host to a Linux Server? Choose all that apply.
A. Velcro
B. Samba
C. NFS
D. DNS
E. WINS
33. What is true about the root user and NFS?
A. NFS shares don't allow root access by default
B. NFS automatically masks out share permissions
C. NFS automatically maps all root UID's to the local user "rootsquash"
D. NFS ignores all users with a UID of 0 and a GID of 0
E. NFS pays no attention whatsoever to security
34. What configuration files on a Linux Server can be configured to share file systems with clients?
A. /etc/nmbd
B. /etc/smbd
C. /etc/smb/samba.conf
D. /etc/smb.conf
E. /etc/samba/smb.conf
35. This is a line from the file /etc/export:
/product Certkiller (rw)
What does it mean?
A. Only user Certkiller may access the filesystem /product when it is NFS mounted.
B. This computer will mount the filesystem /product on Certkiller via NFS.
C. The filesystem /product is exported for NFS mount to computer Certkiller .
D. All NFS access to /product will use suid Certkiller .
36. Shares can be configured for export via the NFS service by editing what file?
A. /etc/exports
B. /etc/export
C. /etc/exportfs
D. /etc/nfs/exports
37. Which port is used for DNS
A. 110
B. 21
C. 23
D. 52
E. 53
38. What are reverse DNS entries used for?
A. Reverse DNS enable diagnostic commands like traceroute to work.
B. Reverse DNS gives you information about the owner of the DNS entry.
C. Reverse DNS provides the hostname for a particular numeric IP address.
D. Reverse DNS provides geographical information about the DNS net location.
39. What file determines the DNS servers used by your computer?
A. /etc/hosts
B. /etc/named.conf
C. /etc/nsswitch.conf
D. /etc/resolv.conf
40. When you use DNS to find a hostname using a particular IP address, which kind of DNS entry is involved?
A. Reverse DNS entries
B. IP DNS entries
C. Address DNS entries
D. Network DNS entries
41. What file on a system contains a list of hosts that can't connect to the machine's services?
A. /etc/hosts/denial
B. /etc/hosts.deny
C. /etc/host.notallow
D. /etc/inetd.conf
E. /etc/hosts.not
42. Which of the following services would you be least likely to configure to be governed over by the Internet Super Server?
A. ftp
B. telnet
C. ssh
D. finger
E. bind
43. On a system using shadowed passwords, the correct permissions for /etc/passwd are ____- and the correct permission for /etc/shadow are _______.
A. -rw-r-----, -r--------
B. -rw-r--r--, -r--r--r--
C. -rw-r--r--, -r--------
D. -rw-r--rw-, -r-----r--
E. -rw--------, -r-------
44. Which of the following files has the correct permissions?
A. -rw--w--w- 1 root root 369 Dec 22 22:38 /etc/shadow
B. -rwxrw-rw- 1 root root 369 Dec 22 22:38 /etc/shadow
C. -rw-r--r-- 1 root root 369 Dec 22 22:38 /etc/shadow
D. –r-------- 1 root root 369 Dec 22 22:38 /ect/shadow
45. You have a user whose account you want to disable but not remove. What should you do?
A. Edit /etc/gshadow and just remove his name.
B. Edit /etc/passwd and change all numbers to 0.
C. Edit /etc/shadow file and remove the last field.
D. Edit /etc/passwd and insert an * after the first :.
E. Edit /etc/group file and put a # sign in front of his name.
46. To create a user account, keep in mind that the username is at most ____ characters long.
A. 6
B. 8
C. 12
D. 18
47. What file contains the default environment variables when using the bash shell?
A. ~/.profile
B. /bash
C. /etc/profile
D. ~/bash
48. All groups are defined in the /etc/group file. Each entry contains four fields in the following
order.
A. groupname, password, GID, member list
B. GID, groupname, password, member list
C. groupname, GID, password, member list
D. GID, member list, groupname, password
49. There are seven fields in the /etc/passwd file. Which of the following lists all the fields in the
correct order?
A. username, UID, password, GID, home directory, command, comment
B. username, password, UID, GID, comment, home directory, command
C. UID, username, GID, home directory, password, comment, command
D. username, password, UID, group name, GID, home directory, comment
50. What is the usual mode for the /tmp directory?
A. 0777
B. 0755
C. 7777
D. 1777
E. 0222 |