exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 56 discussion

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

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?

  • A. systemctl status systemd-resolved.service
  • B. systemctl enable systemd-resolved.service
  • C. systemctl mask systemd-resolved.service
  • D. systemctl show systemd-resolved.service
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Alizadeh
8 months, 3 weeks ago
Selected Answer: A
The correct answer is A. systemctl status systemd-resolved.service.
upvoted 3 times
...
linux_admin
1 year, 2 months ago
A. systemctl status systemd-resolved.service The systemctl status command is used to show the current status of a system service in a Linux system that uses systemd. The status information includes the name of the service, its state (e.g. running, stopped), and any related error messages or warnings.
upvoted 2 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