XK0-005 · Question #397
A user does not want Bluetooth to start up every time the system starts. Which of the following commands should the user execute to accomplish this task?
The correct answer is B. Systemctl disable Bluetooth. Service. To prevent a systemd service from starting automatically upon system boot, a specific systemctl subcommand is used.
Question
A user does not want Bluetooth to start up every time the system starts. Which of the following commands should the user execute to accomplish this task?
Options
- ASystemctl disabled Bluetooth.service
- BSystemctl disable Bluetooth. Service
- CSystem stop Bluetooth.service
- DSystem stopped Bluetooth.service
How the community answered
(61 responses)- A3% (2)
- B93% (57)
- C2% (1)
- D2% (1)
Why each option
To prevent a systemd service from starting automatically upon system boot, a specific `systemctl` subcommand is used.
`Systemctl disabled` uses an incorrect subcommand; it should be `disable`.
`Systemctl disable Bluetooth.service` correctly uses the `disable` subcommand to remove the service from the boot-time startup sequence, ensuring Bluetooth does not start automatically with the system.
`Systemctl stop` only terminates the running service temporarily but does not prevent it from starting again on the next boot.
`Systemctl stopped` uses an incorrect subcommand; it should be `stop`.
Concept tested: Systemd service management (disabling services)
Source: https://www.freedesktop.org/software/systemd/man/systemctl.html
Topics
Community Discussion
No community discussion yet for this question.