Practice for the LPI Linux Essentials exam with 13 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: What is NOT one of the ways that DHCP can be used to deliver IP addresses?. Follow @CertPunch and visit certpunch.com for more certification practice exams and study content.
Prefer hands-on? Take this round as an interactive practice test — answer every question, get instant feedback, and see your score: Start the LPI Linux Essentials practice test →
What you will practice
- What is NOT one of the ways that DHCP can be used to deliver IP addresses?
- What is a set of standards that underlie most modern network communications at the software level?
- Which storage device would be listed as /dev/sdb in Linux?
- Which network interface always exists in a Linux system?
- Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and system…
- Which of the following is the filesystem for a CD-ROM?
Answers and explanations
Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.
Q1. What is NOT one of the ways that DHCP can be used to deliver IP addresses?
Answer: D. Permanent
Dynamic Host Configuration Protocol address allocation is strictly categorized into manual, automatic, and dynamic methods. The term permanent is not an allocation type, though automatic allocation effectively assigns a permanent address to a client.
Q2. What is a set of standards that underlie most modern network communications at the software level?
Answer: C. TCP/IP
Transmission Control Protocol and Internet Protocol provide the foundational software networking standards for modern communication. For the exam, remember that while Wi-Fi is a hardware technology, this protocol suite handles the actual software routing.
Q3. Which storage device would be listed as /dev/sdb in Linux?
Answer: B. 2nd hard drive
Linux assigns drive letters sequentially starting from the letter A. Therefore, the first drive is SDA, making SDB consistently represent the second registered hard drive detected by the system.
Q4. Which network interface always exists in a Linux system?
Answer: A. lo
The loopback interface provides internal networking for the operating system to communicate with itself. It is virtually always present, whereas interfaces like eth0 or wlan0 strictly depend on having physical networking hardware installed.
Q5. Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and system as a whole but not with individual processes?
Answer: C. /sys
The sysfs pseudo filesystem mounts at sys and specifically structures kernel and hardware information. A key exam takeaway is that proc traditionally handles individual process data, while sys organizes global device and kernel details.
Q6. Which of the following is the filesystem for a CD-ROM?
Answer: D. isofs
The isofs module is used by Linux to support the ISO 9660 filesystem, which is the standard for optical discs like CD-ROMs. For the exam, remember that ext2 is for disks, procfs is for kernel data, and isofs handles optical media.
Q7. Which of the following is NOT TRUE about the Linux Distribution Life cycle?
Answer: A. Linux distros are always short term releases
Many Linux distributions offer both short-term releases and long-term support versions, meaning they are not exclusively short-term. Recognizing the difference between LTS and standard releases is a key part of understanding the software lifecycle.
Q8. Which of the following commands is used to view memory usage on a system?
Answer: A. free
The free command reports the total amount of free and used physical and swap memory on the system. Note that ps only shows process snapshots, while route and netstat manage networking details rather than hardware memory statistics.
Q9. Which of the following commands can be used to change default permissions for files and directories at the time of creation?
Answer: B. umask
The umask command defines the default permission mask applied to newly created files and directories. Remember that chmod modifies existing permissions, whereas chown and chgrp alter file ownership rather than creation masks.
Q10. Which option can be used with useradd to create a new user without a home directory?
Answer: C. -M
The capital M option tells the useradd command to create a new user account without creating a home directory. Conversely, the lowercase m option explicitly instructs the system to generate the home directory.
Q11. What does the letter t at the end of drwxrwxrwt indicate within the following directory permissions? drwxrwxrwt 14 root root 36864 2012-03-02 11:17 /tmp
Answer: A. The t is used to show that the directory is globally writable, but only the owner can delete their own files within the directory
The letter t represents the sticky bit, which restricts file deletion within a shared directory. Even if multiple users have write access to the directory, only the file owner, directory owner, or root user can delete files there.
Q12. What command is used to change the group ownership of a file?
Answer: C. chgrp
The chgrp command modifies the group ownership associated with a file or directory. You can memorize this easily because chgrp stands for change group, differentiating it from chown, which typically changes the user owner.
Q13. Which of the following ways would NOT allow a user to perform a command-line task that requires root privileges?
Answer: B. Disabling firewall and force open a directory, file, or folder
Disabling a firewall does not grant a user administrative command-line rights, as elevated privileges require tools like sudo or su. The suggested action involves modifying network security rather than altering user authorization levels.
More LPI Linux Essentials drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.