CompTIA Linux+ [Powered by LPI] - Exam 2 - LX0-104 Exam Practice Test
What output will the following command produce?
seq 1 5 20
seq 1 5 20
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
In order to discover the link layer address of the device that owns a specific IPv4 or IPv6 address, which mechanism is used?
Correct Answer: E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
FILL BLANK
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
Correct Answer:
VALUES -or- values
Section: Shells, Scripting and Data Management
Section: Shells, Scripting and Data Management
Which Bash option prevents a user from accidentally overwriting a file with a ">"?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following is true regarding the mail queue of a mail server? (choose two correct answers.)
Correct Answer: C,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following programs can be used to determine the routing path to a given destination?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in
/ usr?
/ usr?
Correct Answer: E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
FILL BLANK
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)
Correct Answer:
/etc/xinetd.d/ -or- /etc/xinetd.d
Section: Security
Section: Security
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
Correct Answer: A,C,E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
FILL BLANK
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Correct Answer:
/usr/bin/xwininfo -or- xwininfo
Section: User Interfaces and Desktops
Section: User Interfaces and Desktops
Which of the following resources can be directly limited for a given user usingulimit? (Choose three correct answers.)
Correct Answer: B,D,E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).