mediumMultiple ChoiceObjective-mapped
XK0-006 Practice Question: Based on the exhibit, which statement is true…
Exhibit
Refer to the exhibit.
$ systemctl status sshd.service
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2023-06-12 10:23:45 UTC; 2h 15min ago
Main PID: 1234 (sshd)
CGroup: /system.slice/sshd.service
└─1234 /usr/sbin/sshd -DBased on the exhibit, which statement is true about the sshd service?
⚠ Common exam trap
The trap here is that candidates see `Active: active (running)` and incorrectly assume the service is enabled to start at boot, but the actual evidence for boot behavior is the `disabled` keyword in the Loaded line, not the Active line.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The service is not enabled to start at boot.
The exhibit shows the output of `systemctl status sshd.service`. The line `Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: enabled)` indicates the service is currently loaded but its enablement state is `disabled`, meaning it is not configured to start automatically at boot. The `Active: active (running)` line with a PID confirms the service is currently running, but the question asks about boot-time behavior, which is governed by the `disabled` state. Therefore, option D is correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The service is masked.
Why it's wrong here
'disabled' means it does not start at boot; 'masked' is a different state.
- ✗
The service is inactive.
Why it's wrong here
'Active: active (running)' shows it is running.
- ✗
The service has exited.
Why it's wrong here
The service is still running with PID 1234.
- ✓
The service is not enabled to start at boot.
Why this is correct
'disabled' indicates the service is not enabled for automatic start.
Go deeper
Related to this question
Learn chapter
Process Management and System Monitoring
Key term
Output
In IT service management, output is the result or deliverable produced by a process, system, or component, such as data, reports, or services delivered to a customer.
Key term
systemctl
systemctl is the command-line tool used to inspect, start, stop, enable, or disable services managed by the systemd init system in Linux.
About these practice questions
This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.