XK0-004 · Question #446
A user does not want Bluetooth to start up event time the system starts. Which of the following commands should the user execute to accomplish this task?
The correct answer is B. systemctl disable bluetccth.service. The systemctl disable command removes a service's boot-time symlinks so it no longer starts automatically on every system boot.
Question
A user does not want Bluetooth to start up event time the system starts. Which of the following commands should the user execute to accomplish this task?
Options
- Asystemctl disabled bluetcc-h.service
- Bsystemctl disable bluetccth.service
- Csystemctl stop bluetooth.service
- Dsystemctl stepped bluetccth.service
How the community answered
(61 responses)- A2% (1)
- B87% (53)
- C3% (2)
- D8% (5)
Why each option
The systemctl disable command removes a service's boot-time symlinks so it no longer starts automatically on every system boot.
"disabled" is not a valid systemctl subcommand - the correct keyword is "disable" without the trailing "d", so this command will return a syntax error.
systemctl disable bluetooth.service removes the symbolic links from systemd target directories such as /etc/systemd/system/multi-user.target.wants/ that cause the service to be started during boot. This persistently prevents Bluetooth from auto-starting on all future reboots while leaving the service available for manual invocation. The disable subcommand modifies only the persistent startup configuration and does not affect a currently running instance.
systemctl stop immediately halts the running Bluetooth service but leaves the boot-time symlinks intact, so the service will start again automatically on the next reboot.
"stepped" is not a recognized systemctl subcommand regardless of spelling and will produce an error without taking any action.
Concept tested: Disabling systemd service persistent boot startup
Source: https://www.freedesktop.org/software/systemd/man/systemctl.html
Topics
Community Discussion
No community discussion yet for this question.