Lpi 102-500 Practice Exams
Last updated on Oct 22,2026- Exam Code: 102-500
- Exam Name: LPI Level 1
- Certification Provider: Lpi
- Latest update: Oct 22,2026
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.
Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)
Which of the following environment variables can be defined in locale. conf? (Choose TWO correct answers.)
- A . LC_ALL
- B . LC_USERNAME
- C . LC_U?F8
- D . LC_GEOGRAPHY
- E . LC_TIME
Which of the following commands puts the output of the command date into the shell variable mydate?
- A . mydate="$(date)"
- B . mydate="exec date"
- C . mydate="$((date))"
- D . mydate="date"
- E . mydate="${date}"
Given the following excerpt of the sudo configuration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)
- A . Jane can run /bin/id only after specifying her password.
- B . Jane can run /sbin/fdisk after specifying root’s password.
- C . Jane can run /sbin/fdisk after specifying her password.
- D . Jane can run /bin/kill without specifying a password.
- E . Jane can run /bin/id without specifying her password.
Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?
- A . It would be passed to the default router 192.168.178.1 on wlan0.
- B . It would be directly transmitted on the device eth0.
- C . It would be passed to the default router 255.255.255.0 on eth0.
- D . It would be directly transmitted on the device wlan0.
- E . It would be passed to the router 192.168.1.1 on eth0.
Which of Ihe following slates can NetworkManager show regarding the system’s network connectivity? (Choose TWO correct answers.)
- A . Up
- B . Portal
- C . full
- D . Login-required
- E . firewalled
Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.) https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg