CompTIA Linux+ (XK0-004) — Question 283
A systems administrator wants to disable the Linux Kernel WatchDog Timer Driver for security purposes. Which of the following will accomplish this task?
Answer options
- A. Add blacklist watchdog to the /etc/modprobe.d/blacklist file.
- B. Rename the /etc/modprobe.d/watchdog file to watchdog.off instead.
- C. Remove the watchdog=1 from the /usr/modules/watchdog.conf file.
- D. Add watchdog=0 to the /etc/modprobe.conf file.
Correct answer: A
Explanation
The correct answer is A because adding 'blacklist watchdog' to the /etc/modprobe.d/blacklist file prevents the watchdog module from loading, effectively disabling it. Options B and C are incorrect as they do not properly prevent the module from loading, and option D does not guarantee the timer driver will be disabled, as it may not be recognized in the context provided.