Exam Code: LX0-104 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: CompTIA Linux+ [Powered by LPI] – Exam 2
Certification Provider: CompTIA
Free Today! Guaranteed Training- Pass LX0-104 Exam.
2017 NEW RECOMMEND
Free VCE & PDF File for CompTIA LX0-104 Real Exam
Pass on Your First TRY 100% Money Back Guarantee Realistic Practice Exam Questions
Q1. – (Topic 3)
Where are user specific crontabs stored?
A. In the database file /etc/crontab.db which is shared by all users.
B. As individual per-user files within /var/spool/cron.
C. As individual per-user files in /etc/cron.user.d.
D. In the .crontab file in the user's home directory.
E. In the file /var/cron/user-crontab which is shared by all users.
Q2. – (Topic 2)
Which of the following commands shows the current color depth of the X Server?
E. cat /etc/X11
Q3. – (Topic 1)
When the command echo $$ outputs 12942, what is the meaning of 12942?
A. It is the process ID of the echo command.
B. It is the process ID of the current shell.
C. It is the process ID of the last command executed.
D. It is the process ID of the last command which has been placed in the background.
Q4. – (Topic 6)
Which of the following commands can be used to limit the amount of memory a user may use?
Q5. – (Topic 5)
What is true regarding a default route?
A. The default route is always used first. When the default route is not available more specific routes are tried.
B. When a default route is set, all other routes are disabled until the default route is deleted.
C. The default route is only used if there is not a more specific route to a destination host or network.
D. Without a default route, no network communication even in directly attached networks is possible.
Q6. – (Topic 1)
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
A. unset -v FOOBAR;./myscript
B. set -a FOOBAR="";./myscript
C. env -u FOOBAR./myscript
D. env -i FOOBAR./myscript
Q7. – (Topic 4)
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)
A. Synchronize the hardware and system clocks.
B. Output date and time in different formats.
C. Set the system clock.
D. Set the hardware clock.
E. Update the time via NTP.
Q8. – (Topic 5)
What is the purpose of the nsswitch.conf file?
A. It is used to configure where the C library looks for system information such as host names and user passwords.
B. It is used to configure network protocol port numbers such as for HTTP or SMTP.
C. It is used to configure LDAP authentication services for the local system.
D. It is used to configure which network services will be turned on during the next system boot.
Q9. – (Topic 3)
Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)
Q10. – (Topic 1)
Which of the following commands puts the output of the command date into the shell variable mydate?
B. mydate="exec date"