LPIC-2 Linux Kernel and System Startup Practice Question
Which TWO of the following commands are used to load a kernel module manually at runtime? (Choose two.)
⚠ Common exam trap
Many candidates confuse `depmod` (which only builds dependency metadata) with a module-loading command, or assume `loadmod` or `modload` are valid Linux utilities when they are not.
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
✓
modprobe
Both `modprobe` and `insmod` are standard Linux commands for manually loading kernel modules at runtime. `modprobe` is preferred because it automatically resolves and loads module dependencies, while `insmod` inserts a single module file directly without dependency resolution.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
loadmod
Why it's wrong here
This is not a standard command.
- ✗
depmod
Why it's wrong here
depmod generates dependency files; it does not load modules.
- ✓
modprobe
Why this is correct
Loads a module by name, automatically resolving dependencies.
- ✗
modload
Why it's wrong here
This is not a standard Linux command for loading modules.
- ✓
insmod
Why this is correct
Inserts a module directly from the given file path.
Visual reference
Go deeper
Related to this question
About these practice questions
This LPIC-2 question is part of Courseiva's 507-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-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.