CompTIA Linux+ [Powered by LPI] - Exam 2 - LX0-104 Exam Practice Test
To prevent a specific user from scheduling tasks with at, what should the administrator do?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
FILL BLANK
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Correct Answer:
netstat -or- /bin/netstat -or- ss -or- /usr/bin/ss
Section: Networking Fundamentals
Section: Networking Fundamentals
Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

How would an outgoing packet to the destination 192.168.2.150 be handled?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which of the following actions prevents a specific user form scheduling tasks usingatorbatch?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?
Correct Answer: E
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Fill in the blank.
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)
Correct Answer:
DISPLAY -or- $DISPLAY
Section: Security
Section: Security
Which of the following details is NOT provided in any output from the netstat utility?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which file inside the CUPS configuration directory contains the definition of the printers?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
Correct Answer: A,B,E
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
What is true about the file /etc/localtime?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
FILL BLANK
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
Correct Answer:
/etc/skel
Section: Shells, Scripting and Data Management
Section: Shells, Scripting and Data Management
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)
Correct Answer: A,B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which file used by XDM specifies the default wallpaper?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
FILL BLANK
In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)
In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)
Correct Answer:
/etc/cron.allow
Section: Administrative Tasks
Section: Administrative Tasks