CompTIACompTIA
XK0-005 · Question #1179
XK0-005 Question #1179: Real Exam Question with Answer & Explanation
The correct answer is A: Add blacklist watchdog to the /etc/modprobe.d/blacklist file.. To disable the Linux Kernel WatchDog Timer Driver for security purposes, the administrator should blacklist the watchdog module.
System Management
Question
A systems administrator wants to disable the Linux Kernel WatchDog Timer Driver for security purposes. Which of the following will accomplish this task?
Options
- AAdd blacklist watchdog to the /etc/modprobe.d/blacklist file.
- BRename the /etc/modprobe.d/watchdog file to watchdog.off instead.
- CRemove the watchdog=1 from the /usr/modules/watchdog.conf file.
- DAdd watchdog=0 to the /etc/modprobe.conf file.
Explanation
To disable the Linux Kernel WatchDog Timer Driver for security purposes, the administrator should blacklist the watchdog module.
Common mistakes.
- B. Renaming a file in
/etc/modprobe.d/might prevent specific configurations from being loaded, but it's not a direct or guaranteed way to stop a module from being loaded if it's referenced elsewhere or loaded by default. - C. There is no standard
/usr/modules/watchdog.conffile, and removing a line likewatchdog=1is not the correct mechanism to disable a kernel module. - D. Adding
watchdog=0to/etc/modprobe.confis not a valid or standard way to disable a kernel module; theblacklistdirective is used for this purpose.
Concept tested. Linux kernel module blacklisting
Reference. https://man7.org/linux/man-pages/man5/modprobe.d.5.html
Topics
#Linux Kernel Modules#System Configuration#Blacklisting Modules#Watchdog Timer
Community Discussion
No community discussion yet for this question.