LPI LINUX ESSENTIALS QUESTIONS AND
ANSWERS 2024/2025
What are the differences between hard disk drives and solid state disks? (Choose two.)
→ Hard disks have a motor and moving parts, solid state disks do not.
→
→ Solid state disks provide faster access to stored data than hard disks.
Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address
198.51.100.165 stored on a DNS server?
→ In the PTR record for 165.100.51.198.in-addr.arpa.
Which of the following types of bus can connect hard disk drives with the motherboard?
→ The SATA bus
Members of a team already have experience using Red Hat Enterprise Linux. For a small
hobby project, the team wants to set up a Linux server without paying for a subscription.
Which of the following Linux distributions allows the team members to apply as much of their
Red Hat Enterprise Linux knowledge as possible?
→ CentOS
What information can be displayed by top?
→ B. Running processes, ordered by CPU or RAM consumption.
Which of the following commands can be used to resolve a DNS name to an IP address?
→ D. host
1|Page| GradeA+ | 2 0 0 2 5
,2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel!
Which of the following outputs comes from the command free?
→ E. total used free shared buff/cache available
What is true about the dmesg command? (Choose two.)
→ It displays the content of the Linux kernel's ring buffer.
→
→ E. It might not display older information because it was overwritten by newer
information.
→ Hide Solution
Which of the following outputs could stem from the command last?
→ E. root tty2 Wed May 17 21:11 - 21:11 (00:00)
→ Hide Solution
What is the UID of the user root?
→ 0
Which permissions are set on a regular file once the permissions have been modified with the
command chmod 654 file.txt?
→ E. -rw-r-xr--
What is true about the owner of a file?
→ A. Each file is owned by exactly one user and one group.
Which of the following permissions are set on the /tmp/ directory?
→ A. rwxrwxrwt
1|Page| GradeA+ | 2 0 0 2 5
, 2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel!
Which command adds the new user tux and creates the user's home directory with default
configuration files?
→ B. useradd ""m tux
What information is stored in /etc/passwd? (Choose three.)
→ B. The numerical user ID
→ C. The username
→ D. The encrypted password
Which of the following tar options handle compression? (Choose two.)
→ B. -z
→
→ D. -j
FILL BLANK -What keyword is used in a shell script to begin a loop? (Specify one keyword
only, without any additional information.)
→ for
Which of the following commands creates an archive file work.tar from the contents of the
directory ./work/?
→ B. tar ""cf work.tar ./work/
Which of the following keys can be pressed to exit less?
→ D. q
The current directory contains the following file:
1|Page| GradeA+ | 2 0 0 2 5