CompTIA Linux+ [Powered by LPI] Exam 2 (LX0-102) Free Practice Test
Question 1
CORRECT TEXT
An 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).
An 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).
Correct Answer:
/ETC/XINETD.CONF
Question 2
Which of the following is pool.ntp.org?
Correct Answer: D
Question 3
An administrator is running an email server configured with the default settings. In which directory will the administrator commonly find the delivered mail for the user foo?
Correct Answer: B
Question 4
Which of the following commands is used to set restrictions on the size of a core file that is created for a user when a program crashes?
Correct Answer: A
Question 5
CORRECT TEXT
An administrator can run the ________ command to see active network and UNIX domain socket connections. (Please specify the command with no options or parameters).
An administrator can run the ________ command to see active network and UNIX domain socket connections. (Please specify the command with no options or parameters).
Correct Answer:
/BIN/NETSTAT, NETSTAT
Question 6
An administrator suspects that a gateway machine on their network has failed; the administrator is unsure which machine is the problem. Which of the following commands will help locate the problem machine?
Correct Answer: E
Question 7
Which of the following SQL statements will select the fields name and address from the contacts table?
Correct Answer: C
Question 8
Which of the following is the purpose of the nsswitch.conf file?
Correct Answer: D
Question 9
Which of the following commands would an administrator use to create an OpenSSH authentication key?
Correct Answer: A