exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 213 discussion

Actual exam question from CompTIA's XK0-005
Question #: 213
Topic #: 1
[All XK0-005 Questions]

A systems administrator is investigating a service that is not starting up. Given the following information:



Which of the following systemd commands should the administrator use in order to obtain more details about the failing service?

  • A. systemctl analyze network
  • B. systemctl info network
  • C. sysctl -a network
  • D. journalctl -xu network
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Qubert2
6 months, 3 weeks ago
Selected Answer: D
journalctl: This command is used to query and display logs from the system's journal, which is managed by systemd. It shows logs from various system services, kernel messages, and other components. -x: This option provides additional explanations for log messages, which can give more context about what the logs mean. It helps in troubleshooting by including descriptions for some log entries. -u network: The -u option filters the logs to display only messages related to the specified systemd unit, which in this case is network.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago