Ensurepass

QUESTION 21

Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

 

A. tcpd

B. inetd

C. fingerd

D. mountd

E. xinetd

 

Answer: A 

 

 

QUESTION 22 CORRECT TEXT

 

A. administrator has added the following line to /etc/inittab in order to disable the ability to reboot a Debian system by pressing the Control + Alt + Delete keys simultaneously: ca:12345:_________:/bin/echo “Rebooting disabled” Please provide the missing string.

 

Answer: CTRLALTDEL

 

 

QUESTION 23 CORRECT TEXT

What word will complete an if statement in bash such as the following: if [ -x “$file” ]; then echo $file _____ (Please provide the missing word only).

 

Answer: FI

 

 

QUESTION 24 CORRECT TEXT

 

A. administrator decides to use xinetd instead of inetd. Now, the administrator needs to transfer information from /etc/inetd.conf to another file. What file must be created or edited? (Please specify the full path).

 

Answer: /ETC/XINETD.CONF

 

 

QUESTION 25

In the following command and its output, echo $$ 12942 which of the following is 12942?

 

A. The process ID of the echo command.

B. The process ID of the current shell.

C. The process ID of the last command executed.

D. The process ID of the last backgrounded command.

 

Answer: B 

 

 

QUESTION 26

Which of the following commands will print the exit value of the previous command to the screen in bash?

 

A. echo $?

B. echo $#

C. echo $exit

D. echo $status

E. echo $&}

 

Answer: A 

 

 

QUESTION 27

Which of the following statements about crontab are true? (Select TWO).

 

A. Every user may have their owncrontab.

B. Changing a crontab requires a reload/restart of the cron daemon.

C. The cron daemon reloads crontab files automatically when necessary.

D. hourly is the same as “0 * * * *”.

E. A cron daemon must run for each existing crontab.

 

Answer: A,C 

 

 

QUESTION 28 CORRECT TEXT

 

A. administrator wants to determine the geometry of a particular window in X, so the administrator issues the __________ -metric command and then clicks on the window. (Please enter only a single command and do not enter duplicate answers in this field.)

 

Answer: /USR/BIN/XWININFO,XWININFO

 

 

QUESTION 29 CORRECT TEXT

The command __________ prints a list of email that is currently in the queue waiting for delivery. (Please specify the command with or without path or arguments)

 

Answer: /USR/BIN/MAILQ,MAILQ

 

 

QUESTION 30 CORRECT TEXT

To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.

 

Answer: SERVER

 

 

Comments are closed.