Ensurepass

QUESTION 71 CORRECT TEXT

 

A. administrator wants to temporarily prevent users from logging in. Please complete the following command: touch /etc/______

 

Answer: NOLOGIN

 

 

QUESTION 72

 

A. administrator needs to pause the CUPS printer Laserjet4, and wants to cancel all print jobs with a message, “hello”. Which of the following commands will do this?

 

A. cupsreject -c -r hello Laserjet4

B. cupsreject -p -m hello Laserjet4

C. cupsdisable -c -r hello Laserjet4

D. cupsdisable -p -m hello Laserjet4

 

Answer: C 

 

 

QUESTION 73 CORRECT TEXT

 

A. ISP has given an administrator an IP block for use. The block is 192.168.112.64/26. If the administrator uses the first usable IP for the router that is installed on the network, how many usable IPs are left? (Please enter the number and not a word)

 

Answer: 61

 

 

QUESTION 74

To prevent a specific user from scheduling tasks with at, which of the following should the administrator do?

 

A. Add the specific user to /etc/at.allow file.

B. Add the specific user to [deny] section in the /etc/atd.conf file.

C. Add the specific user to /etc/at.deny file.

D. Add the specific user to nojobs group.

E. Run the following: atd –deny [user].

 

Answer: C 

 

 

QUESTION 75

Which of the following commands would an administrator use to create an OpenSSH authentication key?

 

A. sshd

B. ssh-agent

C. ssh-keygen

D. ssh-add

 

Answer: C 

 

 

QUESTION 76 CORRECT TEXT

 

A. administrator is logged in as root. What command should the administrator run to find out what groups user bruno belongs to?

 

Answer: /USR/BIN/GROUPSBRUNO,/USR/BIN/IDBRUNO,GROUPSBRUNO,IDBRUNO

 

 

QUESTION 77

Which of the following can the chage command <b>NOT</tt> change?

 

A. The number of days since January 1, 1970 on which the user account will no longer be accessible.The number of days since January 1, 1970 on which the user? account will no longer be accessible.

B. The number of days since January 1, 1970 when the password can change.

C. The number of days since January 1st, 1970 when the password was last changed.

D. The maximum number of days during which a password is valid.

E. The number of days of inactivity after a password has expired before the account is locked.

 

Answer: B 

 

 

QUESTION 78 CORRECT TEXT

 

A. administrator is configuring a secured webserver, however connecting to https://127.0.0.1 is not working. The administrator runs netstat -ntl, which returns the following output: tcp 0 0

0.0.0.0:80 0.0.0.0:* LISTEN What port should be listening before a successful connection is possible? (Provide only the numerical value of the port).

 

Answer: 443

 

 

QUESTION 79 CORRECT TEXT

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to print the status of the printer’s queue? (Provide only the command, without any options or parameters).

 

Answer: /USR/BIN/LPQ,LPQ

 

 

QUESTION 80

Which of the following statements is true regarding the below /etc/resolv.conf file? search example.com 127.0.0.1 208.77.188.166

 

A. There is a syntax error.

B. If DNS queries to the localhost fail, the server 208.77.188.166 will be queried.

C. example.com will be appended to all host lookups.

D. The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion.

E. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried.

 

Answer: A 

 

 

Comments are closed.