XK0-004 · Question #14
A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?
The correct answer is A. echo "blacklist bluetooth" > /etc/modprobe.d/blacklist-bluetooth. To blacklist a module, you have to add the following line to the specified configuration file in the /etc/modprobe.d/ directory as root: blacklist <module_name> where <module_name> is the name of the module being blacklisted. You can modify the /etc/modprobe.d/blacklist.conf file
Question
A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?
Options
- Aecho "blacklist bluetooth" > /etc/modprobe.d/blacklist-bluetooth
- Becho "kill bluetooth" > /etc/modprobe.d/kill-bluetooth
- Cecho "modprobe bluetooth" > /etc/modprobe.d/modprbe-bluetooth
- Decho "rmod bluetooth" > /etc/modprobe.d/rmmod-bluetooth
How the community answered
(34 responses)- A82% (28)
- B3% (1)
- C9% (3)
- D6% (2)
Explanation
To blacklist a module, you have to add the following line to the specified configuration file in the /etc/modprobe.d/ directory as root: blacklist <module_name> where <module_name> is the name of the module being blacklisted. You can modify the /etc/modprobe.d/blacklist.conf file that already exists on the system by default. However, the preferred method is to create a separate configuration file, /etc/modprobe.d/<module_name>.conf, that will contain settings specific only to the given kernel https://access.redhat.com/documentation/en- us/red_hat_enterprise_linux/6/html/deployment_guide/blacklisting_a_module
Topics
Community Discussion
No community discussion yet for this question.