XK0-005 · Question #542
A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?
The correct answer is A. systemctl status systemd-resolved.service. The command systemct1 status systemd-resolved.service will show the information about the service systemd-resolved.service. The systemct1 command is a tool for managing system services and units. The status option displays the current status of a unit, such as active, inactive…
Question
A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?
Options
- Asystemctl status systemd-resolved.service
- Bsystemctl enable systemd-resolved.service
- Csystemctl mask systemd-resolved.service
- Dsystemctl show systemd-resolved.service
How the community answered
(28 responses)- A93% (26)
- C4% (1)
- D4% (1)
Explanation
The command systemct1 status systemd-resolved.service will show the information about the service systemd-resolved.service. The systemct1 command is a tool for managing system services and units. The status option displays the current status of a unit, such as active, inactive, or failed. The output also shows the unit description, loaded configuration, process ID, memory usage, and recent log messages. This command will show if the service systemd- resolved.service is running without any errors.
Topics
Community Discussion
No community discussion yet for this question.