Official Bank 0/120

LPI Level 1 Exam 102s: 120 (102-400) - Linux Professional Institute Exam Questions

Last updated on June 22, 2026

97% Exam Compliance
120 Total Questions
1
Question
What is the difference between the commands test -e path and test -f path?
Options
A The -f option tests for a regular file. The -e option tests for an empty file.
B The -f option tests for a regular file. The -e option tests for an executable file.
C Both options check the existence of the path. The -f option also confirms that it is a regular file.
D They are equivalent options with the same behaviour.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Which of the following is a valid IPv6 address?
Options
A 2001::db8:4581::1
B 2001%db8%9990%%1
C 2001:db8:0g41::1
D 2001.db8.819f..1
E 2001:db8:3241::1
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
Options
A syslog tty12
B /var/log/messages | /dev/tty12
C | /dev/tty12
D mail.* /dev/tty12
E *.* /dev/tty12
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
What is true regarding a default route?
Options
A Without a default route, no network communication even in directly attached networks is possible.
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 The default route is always used first. When the default route is not available more specific routes are tried.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.