Lpi LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2 (102-350) Free Practice Test
Question 1
X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?
Correct Answer: C
Question 2
CORRECT TEXT
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
Correct Answer:
id, /usr/bin/id
Question 3
What command should be used to print a listing of email in the system's mail queue?
Correct Answer: D
Question 4
On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.
Correct Answer: B
Question 5
You have just set up the X Display Manager as your default display manager. What file should you edit to change the default background for it?
Correct Answer: C
Question 6
CORRECT TEXT
What word will complete an if statement in bash such as the following:
if [ -x "$file" ]; then
echo $file
(Please provide the missing word only)
What word will complete an if statement in bash such as the following:
if [ -x "$file" ]; then
echo $file
(Please provide the missing word only)
Correct Answer:
fi
Question 7
Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?
Correct Answer: D