Linux英文试题测试题(2)

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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/70fc90617119f2fda43f4a41b995ba3d.html