Latest XK0-005 Exam Practice Questions
The practice questions for XK0-005 exam was last updated on
2025-06-03
.
Viewing page 1 out of 12 pages.
Viewing questions 1 out of 62 questions.
Question#3
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
Question#5
A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect.
Which of the following would the administrator do to complete this requirement?
A. hostnamectl status --no-ask-password
B. hostnamectl set-hostname "$(perl -le "print" "A" x 86)"
D. hostnamectl set-hostname Comptia-WebNode --transient