Which of the following commands is used to deactivate a network interface?
Which of the following looks like a correct entry in the /etc/hosts file?
A. localhost 127.0.0.1 localhost.localdomain
B. localhost.localdomainlocalhost 127.0.0.1
C. localhostlocalhost.localdomain 127.0.0.1
D. 127.0.0.1 localhost.localdomainlocalhost
E. localhost.localdomain 127.0.0.1 localhost
Which of the following lines would an administrator find in the file /etc/resolv.conf?
A. order hosts,bind
B. 192.168.168.4 dns-server
C. hosts: files,dns
D. domain mycompany.com
Which of the following find commands will print out a list of suid root files in /usr?
A. find /usr -uid 0 -perm +4000
B. find -user root +mode +s /usr
C. find -type suid -username root -d /usr
D. find /usr -ls *s* -u root
E. find /usr -suid -perm +4000
Which of the following commands will provide locale-specific information about a system and its environment?
Which of the following should the permission settings be for /etc/passwd and /etc/shadow?
A. /etc/passwd: -rw-r–r– /etc/shadow: -r——–
B. /etc/passwd: -r——– /etc/shadow: -rw-r–r–
C. /etc/passwd: -rw-r–r– /etc/shadow: -rw-r–r–
D. /etc/passwd: -r——– /etc/shadow: -r——–}
Which of the following configuration files should be modified to set default shell variables for all users?
QUESTION 38 CORRECT TEXT
By default, which directories contents will be copied to a new user’s home directory when the account is created, passing the -m option to the useradd command?
Suppose that the command netstat -a hangs for a long time without producing output. An administrator might suspect:
A. a problem with NFS
B. a problem with DNS
C. a problem with NIS
D. a problem with routing
E. thatthe netstat daemon has crashed
QUESTION 40 CORRECT TEXT
Please specify the directory containing the configuration files for the CUPS printing system. (Provide the full path to the directory).