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 word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
Which parameter of the ssh command specifies the location of the private key used for login attempts? (Specify ONLY the option name without any values or parameters.)
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
- A . sshd
- B . ssh-agent
- C . ssh-keygen
- D . ssh-add
Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)
- A . export LANGUAGE="pt"
- B . export MESSAGE="pt"
- C . export LANG="pt"
- D . export LC_MESSAGES="pt"
- E . export ALL_MESSAGES="pt"
Which commands can be used to change a user’s account aging information? (Choose THREE correct answers.)
- A . usermod
- B . passwd
- C . chattr
- D . chage
- E . chsh
Which of the following commands can remove a user from a group?
- A . grouprm
- B . groupmod
- C . passwd
- D . usergroups
- E . usermod
Which of the following features are provided by SPICE? (Choose two.)
- A . Connecting local USB devices to remote applications.
- B . Accessing graphical applications on a remote host.
- C . Replacing Xorg as local X11 server.
- D . Downloading and locally installing applications from a remote machine.
- E . Uploading and running a binary program on a remote machine.
Which of the following getent invocations lists all existing users?
- A . getent homco
- B . getent uids
- C . getent pmsswd
- D . getent users
- E . getent logins
What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)
- A . route del default
- B . ifconfig unset default
- C . netstat -r default
- D . ip route del default
- E . sysctl ipv4.default_gw=0
Which file contains the date of the last change of a user’s password?
- A . /etc/gshadow
- B . /etc/passwd
- C . /etc/pwdlog
- D . /etc/shadow
- E . /var/log/shadow