Free Lpi 102-350 Practice Test & Real Exam Questions
Which bash option will prevent you from overwriting a file with a ">"?
Correct Answer: B
Vote an answer
What command is used to hold keys during a login session to be used for automatic authentication while logging in to other machines using ssh?
Correct Answer: A
Vote an answer
CORRECT TEXT
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Provide only the name of the program without any path information)
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Provide only the name of the program without any path information)
Correct Answer:
xdm
What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done
____ i in *.txt; do
echo $i
done
Correct Answer: A
Vote an answer
CORRECT TEXT
To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.
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
Which command allows you to make a shell variable visible to subshells?
Correct Answer: C
Vote an answer
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: A
Vote an answer
CORRECT TEXT
What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments)
What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments)
Correct Answer:
route del default, ip route del default, /sbin/route del default, /sbin/ip route del default
What output will the following command produce?
seq 1 5 20
seq 1 5 20
Correct Answer: E
Vote an answer
CORRECT TEXT
Which file lists which users can execute commands using sudo? (Provide the full path and filename)
Which file lists which users can execute commands using sudo? (Provide the full path and filename)
Correct Answer:
/etc/sudoers
