LPIC-2 Linux Kernel and System Startup Practice Question
To list all currently loaded kernel modules, which command is used?
⚠ Common exam trap
Many candidates confuse `lsmod` with `modprobe` or `kmod` options, or assume a non-existent command like `modlist` is correct because it sounds plausible.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
lsmod
The correct command to list all currently loaded kernel modules is `lsmod`. It reads the `/proc/modules` file and displays the module name, size, used count, and a list of dependent modules. This is the standard and most direct method on Linux systems.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
lsmod
Why this is correct
lsmod lists all loaded kernel modules.
- ✗
kmod -l
Why it's wrong here
kmod is a wrapper for kernel module commands, but 'kmod -l' is not valid; use lsmod.
- ✗
modlist
Why it's wrong here
modlist is not a standard Linux command.
- ✗
modules_loaded
Why it's wrong here
modules_loaded is not a command.
Go deeper
Related to this question
About these practice questions
One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.