Free · No account needed · No credit card

Linux Professional Institute Certification Level 2 LPIC-2 Practice Test

511 questions with instant explanations, domain breakdown, and wrong-answer analysis. Built for the real exam.

Instant feedback after each answer
Full explanations included
Domain score breakdown
Real exam: 90 min
Pass mark: 500%

Sample questions with explanations

This is exactly what you see during practice — question, options, and a full explanation after you answer.

Q1Linux Kernel and System Startupmedium
Full explanation →

A system administrator needs to ensure that a custom kernel module loads automatically at boot. The module is named 'my_driver' and is built for the current kernel. Which configuration file should be modified to ensure the module loads automatically?

AAdd the insmod command in /etc/rc.local
BAdd the module name to /etc/modules.conf
Add a configuration file in /etc/modules-load.d/Correct
DAdd a configuration file in /etc/modprobe.d/

Option C is correct because systemd-based Linux distributions use /etc/modules-load.d/ to specify kernel modules that should be loaded automatically at boot. Placing a configuration file (e.g., my_driver.conf) containing the module name 'my_driver' in this directory instructs sys…Read full explanation

Q2Linux Kernel and System Startupeasy
Full explanation →

During boot, the kernel outputs a message indicating that a required device driver is not found. Which command can be used to rebuild the initramfs to include the missing driver?

Amkinitrd
Bgrub-mkconfig
Cmkinitcpio
dracutCorrect

Dracut is the standard tool for building initramfs images on modern Red Hat-based distributions (RHEL, CentOS, Fedora). When a required kernel driver is missing during boot, you can use `dracut --force` to rebuild the initramfs, which will automatically include the currently load…Read full explanation

Q3Linux Kernel and System Startuphard
Full explanation →

A server with a custom kernel fails to boot after a kernel update. The system displays a kernel panic: 'VFS: Unable to mount root fs on unknown-block(0,0)'. The root filesystem is on an LVM volume. What is the most likely cause?

AThe GRUB configuration is pointing to the wrong kernel partition.
BThe kernel does not have the necessary device drivers compiled in.
CThe root filesystem is formatted with an unsupported filesystem.
The initramfs is missing LVM support.Correct

The kernel panic 'VFS: Unable to mount root fs on unknown-block(0,0)' indicates the kernel cannot locate the root filesystem. Since the root filesystem resides on an LVM volume, the initramfs must contain LVM tools and modules to activate the volume group and logical volumes befo…Read full explanation

Untimed Practice

Answer at your own pace. Explanation and domain tag shown immediately after each answer.

Timed Practice

Countdown timer starts immediately. Results and domain scores shown at the end — just like the real exam.

Why practice here?

Full explanations on every question

Not just the right answer — you get exactly why each wrong option is wrong, so you learn the concept, not the answer.

Domain score breakdown

After each session see your score by exam domain so you know exactly where to focus study time.

100% free, forever

No subscription, no trial, no email wall. Start a session in under 10 seconds.

Exam-style questions

Scenario-based, precise wording, realistic distractors — written to match what you actually see on exam day.

← All LPIC-2 questionsLPIC-2 exam guideStudy guidePractice by domain