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
Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
- A . Start and prepare the desktop environment for the user.
- B . Configure additional devices like new monitors or projectors when they are attached.
- C . Handle the login of a user.
- D . Lock the screen when the user was inactive for a configurable amount of time.
- E . Create an X11 configuration file for the current graphic devices and monitors.
You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:
- A . The file at that location was used to make the script.
- B . This script provides identical functionality as the file at that location.
- C . This script will self-extract into a file at that location.
- D . The program at that location will be used to process the script.
What is a purpose of an SSH host key?
- A . It must be sent by any SSH client in addition to a user key in order to identify the client’s host.
- B . It provides the server’s identity information to connecting SSH clients.
- C . It is the root key by which all user SSH keys must be signed.
- D . It authenticates any user that logs into a remote machine from the key’s host.
- E . It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done
- A . for
- B . loop
- C . until
- D . while
Which of the following configuration files should be modified to set default shell variables for all users?
- A . /etc/bashrc
- B . /etc/profile
- C . ~/.bash_profile
- D . /etc/.bashrc
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
Which of the following statements about sytemd-journald are true? (Choose three.)
- A . It is incompatible with syslog and cannot be installed on a system using regular syslog.
- B . It only processes messages of systemd and not messages of any other tools.
- C . It can pass log messages to syslog for further processing.
- D . It maintains metadata such as _UID or _PID for each message.
- E . It supports syslog facilities such as kern, user, and auth.
When the command echo $ outputs 1, which of the following statements is true?
- A . It is the process ID of the echo command.
- B . It is the process ID of the current shell.
- C . It is the exit value of the command executed immediately before echo.
- D . It is the exit value of the echo command.
Which file inside the CUPS configuration directory contains the definition of the printers?
- A . cups-devices.conf
- B . snmp.conf
- C . printcap.conf
- D . printers.conf
- E . cupsd.conf
An administrator wants to determine the geometry of a particular window in X, so she issues the
__________ -metric command and then clicks on the window.