XK0-005 · Question #109
XK0-005 Question #109: Real Exam Question with Answer & Explanation
The correct answer is D: insmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko. To enable external storage modules after they have been disabled, the insmod command is used to manually insert the specific kernel module responsible for USB storage.
Question
A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled. Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?
Options
- Armmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko
- Bmodinfo /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko
- Cdepmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko
- Dinsmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko
Explanation
To enable external storage modules after they have been disabled, the insmod command is used to manually insert the specific kernel module responsible for USB storage.
Common mistakes.
- A.
rmmod(remove module) is used to unload a kernel module from the kernel, which is the opposite of what is needed to enable external storage. - B.
modinfodisplays information about a kernel module, such as its description, author, and dependencies, but it does not load or unload the module. - C.
depmodis used to generate a list of module dependencies and map files, which helpsmodprobeload modules efficiently, but it does not load modules itself.
Concept tested. Linux kernel module management (insmod)
Reference. https://man7.org/linux/manpages/man8/insmod.8.html
Topics
Community Discussion
No community discussion yet for this question.