CompTIA Linux+ [Powered by LPI] Exam 2 - LX0-102 Exam Practice Test

The files in the /etc/skel directory are used by the:
Correct Answer: C
Which of the following configuration files does sudo read when determining if a user is permitted to run applications with root privileges?
Correct Answer: D
CORRECT TEXT
To exclude all log messages of a given logging facility, an administrator should use a logging priority of _____ .
Correct Answer:
NONE
In the following command and its output, echo $$ 12942 which of the following is 12942?
Correct Answer: D
CORRECT TEXT
An administrator can run the ________ command to see active network and UNIX domain socket connections as well as other open files. (Please specify the command with no path information, options or parameters)
Correct Answer:
lsof, /usr/bin/lsof
Which crontab entry could be used to set the system time at regular intervals?
Correct Answer: D
On a system running the K Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?
Correct Answer: B
CORRECT TEXT
A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file).
Correct Answer:
/ETC/CRON.ALLOW
CORRECT TEXT
To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.
Correct Answer:
SERVER
CORRECT TEXT
What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments, please no duplicate answers in this field.)
Correct Answer:
/SBIN/IPROUTEDEL0.0.0.0, /SBIN/IPROUTEDELDEFAULT, /SBIN/ROUTEDEL0.0.0.0, /SBIN/ROUTEDELDEFAULT, IPROUTEDEL0.0.0.0, IPROUTEDELDEFAULT, ROUTEDEL0.0.0.0, ROUTEDELDEFAULT
Which of the following can the chage command <b>NOT</tt> change?
Correct Answer: B
Which of the following files, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?
Correct Answer: D
A senior executive asked an administrator to change the default background of the executive machine, which uses XDM. Which of the following filesA senior executive asked an administrator to change the default background of the executive? machine, which uses XDM. Which of the following files would the administrator edit to achieve this?
Correct Answer: C