LPIC-1 Exam 101 v5 (Linux Administrator) — Question 10
A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?
Answer options
- A. Using lsmod --remove --autoclean without specifying the name of a specific module
- B. Using modinfo -k followed by the name of the offending module
- C. Using modprobe -r followed by the name of the offending module
- D. Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf
- E. Deleting the kernel module's directory from the file system and recompiling the kernel, including its modules
Correct answer: D
Explanation
The correct answer is D because adding a blacklist line to /etc/modprobe.d/blacklist.conf prevents the module from being loaded automatically at boot. The other options either do not provide a permanent solution (A, C) or do not directly prevent loading at boot (B, E).