OpenExamsFREE PRACTICE — ANY EXAM

Free LPIC-1 exam 101 Practice Questions

200 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the LPIC-1 exam 101 practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1Which lspci option displays the kernel driver in use for a selected PCI device?

    1. A. -t
    2. B. -k
    3. C. -s
    4. D. -n

    Answer: B

    Explanation: LPI states: "Another way to verify which kernel module is in use for the specified device is provided by the option -k". Thus -k provides the driver information; -s selects a device rather than requesting that information.

    Reference: LPI Learning Materials — 101.1 Lesson 1 — Commands for Inspection, lspci -k

  2. 2A server writes large, unpredictable amounts of log data under /var/log. Which layout keeps that growth from consuming free space in the root filesystem?

    1. A. Place /var on a separate filesystem.
    2. B. Place /boot on a separate filesystem.
    3. C. Place /home on a separate filesystem.
    4. D. Place /usr on a separate filesystem.

    Answer: A

    Explanation: LPI explains that applications write to /var and states: "But if /var is kept under a separate partition, the root filesystem will be unaffected." Separating unrelated directories does not isolate log growth.

    Reference: LPI Learning Materials — 102.1 Lesson 1 — Variable Data (/var), separate partition

  3. 3Which command reports the current working directory of a shell session?

    1. A. uname
    2. B. env
    3. C. pwd
    4. D. history

    Answer: C

    Explanation: LPI describes pwd: "Print the path to the current working directory." uname reports system information, env reports or changes an environment, and history concerns previous commands.

    Reference: LPI Learning Materials — 103.1 Lesson 1 — Summary, pwd

  4. 4What is the maximum number of primary partition-table entries in a conventional MBR partition table?

    1. A. 2
    2. B. 4
    3. C. 8
    4. D. 128

    Answer: B

    Explanation: LPI identifies MBR’s "limit of only 4 primary partitions per disk." An extended partition uses an entry while allowing logical partitions inside it; it does not add primary entries.

    Reference: LPI Learning Materials — 104.1 Lesson 1 — Understanding MBR and GPT, MBR limitations

  5. 5An administrator needs to see USB devices arranged by their hub connections. Which command displays this hierarchy?

    1. A. lsusb -v
    2. B. lsusb -d 1234:5678
    3. C. lsusb -s 01:02
    4. D. lsusb -t

    Answer: D

    Explanation: The lesson states: "With option -t, command lsusb shows the current USB device mappings as a hierarchical tree". The other options request detail or select a device.

    Reference: LPI Learning Materials — 101.1 Lesson 1 — Commands for Inspection, lsusb -t

  6. 6Which separate filesystem most directly helps preserve regular users' personal files when reinstalling Linux?

    1. A. /usr
    2. B. /tmp
    3. C. /boot
    4. D. /home

    Answer: D

    Explanation: LPI states: "Keeping user’s personal directories (under /home) on a separate partition makes it easier to reinstall the system without the risk of accidentally touching user data." The other directories do not hold regular users’ home directories.

    Reference: LPI Learning Materials — 102.1 Lesson 1 — Keeping Things Separated

  7. 7Which uname option prints the running kernel's release string?

    1. A. -r
    2. B. -n
    3. C. -m
    4. D. -s

    Answer: A

    Explanation: The displayed uname manual pairs "-r, --kernel-release" with "print the kernel release". -n reports the node name, -m the machine hardware name, and -s the kernel name.

    Reference: LPI Learning Materials — 103.1 Lesson 1 — Getting Command Information, uname manual excerpt

  8. 8After making partition-table changes in an interactive fdisk session, which command writes them to disk?

    1. A. p
    2. B. n
    3. C. q
    4. D. w

    Answer: D

    Explanation: LPI states: "nothing will be written to disk unless you use the write (w) command." p prints, n creates an in-memory entry, and q quits without saving.

    Reference: LPI Learning Materials — 104.1 Lesson 1 — Managing MBR Partitions with FDISK, saving changes

  9. 9A loaded kernel module is no longer needed and is not in use. Which command requests its removal, including related unused modules?

    1. A. modprobe -r module_name
    2. B. modprobe module_name
    3. C. modinfo module_name
    4. D. lsmod

    Answer: A

    Explanation: LPI specifies: "to unload a module and its related modules, as long as they are not being used by a running process, command modprobe -r should be used." Loading, inspecting metadata, and listing modules do not remove them.

    Reference: LPI Learning Materials — 101.1 Lesson 1 — Commands for Inspection, unloading modules

  10. 10A planned root filesystem uses encryption that the installed boot loader cannot read. Which layout addresses access to the kernel and initial RAM disk?

    1. A. Put /home on an unencrypted partition.
    2. B. Create a separate /boot the boot loader can read.
    3. C. Put /var/log on a larger encrypted partition.
    4. D. Create a second swap partition on another disk.

    Answer: B

    Explanation: LPI says a separate boot partition may be desired when the root partition "uses an unsupported encryption or compression method." A readable /boot makes the boot files accessible; home, log, and swap placement do not.

    Reference: LPI Learning Materials — 102.1 Lesson 1 — The Boot Partition (/boot)

Topics in this practice bank

These topics describe the available practice for LPIC-1 exam 101. Review the examination outline and its sources for scope and allocation details.

  • System Architecture
    • Determine and configure hardware settings
    • Boot the system
    • Change runlevels / boot targets and shutdown or reboot system
  • Linux Installation and Package Management
    • Design hard disk layout
    • Install a boot manager
    • Manage shared libraries
    • Use Debian package management
    • Use RPM and YUM package management
    • Linux as a virtualization guest
  • GNU and Unix Commands
    • Work on the command line
    • Process text streams using filters
    • Perform basic file management
    • Use streams, pipes and redirects
    • Create, monitor and kill processes
    • Modify process execution priorities
    • Search text files using regular expressions
    • Basic file editing
  • Devices, Linux Filesystems, Filesystem Hierarchy Standard
    • Create partitions and filesystems
    • Maintain the integrity of filesystems
    • Control mounting and unmounting of filesystems
    • Manage file permissions and ownership
    • Create and change hard and symbolic links
    • Find system files and place files in the correct location

How to use these free practice questions

Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.

These are independent study questions, not actual examination items. For examination requirements and official information, view LPIC-1 exam 101 details.