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
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
- A . tcpd
- B . inetd
- C . fingerd
- D . mountd
- E . xinetd
You need to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, "hello".
Which command will do this?
- A . cupsreject -c -r hello HPLaserjet4
- B . cupsreject -p -m hello HPLaserjet4
- C . cupsdisable -c -r hello HPLaserjet4
- D . cupsdisable -p -m hello HPLaserjet4
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
- A . The user issuing the command must be in the group script.
- B . The script file must be found in the $PATH.
- C . The script file must have the executable permission bit set.
- D . The script must begin with a shebang-line (#!) that points to the correct interpreter.
- E . The file system on which the script resides must be mounted with the option scripts.
Fill in Blanks
The ________ command is used to add a group to the system.
The system’s timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)
What is the purpose of the iconv command?
- A . It converts bitmap images from one format to another such as PNG to JPEG.
- B . It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
- C . It displays additional meta information from icon files ending in .ico.
- D . It changes the mode of an inode in the ext4 file system.
- E . It converts files from one character encoding to another.
What is true about the file .profile in a user’s home directory?
- A . It must be executable.
- B . It must call the binary of the login shell.
- C . It must use a valid shell script syntax.
- D . It must start with a shebang.
- E . It must be readable for its owner only.
What is the purpose of the Sticky Keys feature in X?
- A . To assist users who have difficulty holding down multiple keys at once
- B . To prevent repeated input of a single character if the key is held down
- C . To ignore brief keystrokes according to a specified time limit
- D . To repeat the input of a single character
On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.
- A . -rw-r—–, -r——–
- B . -rw-r–r–, -r–r–r–
- C . -rw-r–r–, -r——–
- D . -rw-r–rw-, -r—–r–
- E . -rw——-, -r——–