LPIC-2 Linux Kernel and System Startup Practice Question
Which TWO of the following commands are used to manage kernel modules? (Select TWO.)
⚠ Common exam trap
Many candidates confuse 'managing' modules with 'listing' or 'removing' them, and may incorrectly select lsmod or rmmod, or fail to recognize that modprobe is the primary management command while insmod is a lower-level alternative.
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
✓
insmod
B (insmod) is correct because it directly inserts a kernel module into the running kernel, though it does not resolve dependencies automatically. C (modprobe) is correct because it is the recommended tool for managing kernel modules, as it automatically loads dependencies and handles module parameters via configuration files in /etc/modprobe.d/.
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 it's wrong here
lsmod lists loaded modules, does not manage them.
- ✓
insmod
Why this is correct
insmod loads a single module directly.
- ✓
modprobe
Why this is correct
modprobe is used to load and unload modules with dependency resolution.
- ✗
rmmod
Why it's wrong here
rmmod removes modules, but the question asks for managing, including loading.
- ✗
depmod
Why it's wrong here
depmod generates dependency files, not manage modules directly.
Visual reference
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.