LPIC-1 System Architecture Practice Question
Which TWO of the following are valid methods to list currently loaded kernel modules?
⚠ Common exam trap
Watch out — candidates often confuse commands that list available modules (like modprobe -l or find /lib/modules) with commands that list currently loaded modules, or they assume dmesg is a valid module listing tool because it shows kernel messages related to module loading.
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
B (lsmod) is correct because it reads the /proc/modules file and formats the output in a human-readable table, listing all currently loaded kernel modules. D (cat /proc/modules) is also correct because /proc/modules is the kernel interface that directly exposes the list of loaded modules with their size, usage count, and dependent modules.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
dmesg | grep module
Why it's wrong here
Shows kernel messages related to modules, not a clean list.
- ✓
lsmod
Why this is correct
Standard command to list loaded modules.
- ✗
modprobe -l
Why it's wrong here
Lists all available modules, not just loaded.
- ✓
cat /proc/modules
Why this is correct
The /proc filesystem shows loaded modules.
- ✗
modinfo
Why it's wrong here
Shows details about a module, not list of loaded ones.
Go deeper
Related to this question
About these practice questions
This LPIC-1 question is part of Courseiva's 527-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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-1 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-1 exam.