mediumMultiple Select
XK0-006 Which three are valid systemd unit types? Practice Question
Which three are valid systemd unit types?
⚠ Common exam trap
Candidates often mistakenly select 'process' and 'job' as valid systemd unit types because they sound plausible, but they are not part of the official list of systemd unit types. This confusion arises from general Linux terminology versus systemd-specific unit definitions.
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
✓
socket
B (socket), C (service), and D (timer) are all valid systemd unit types. A socket unit encapsulates a local IPC or network socket in the system for socket-based activation, a service unit describes a process controlled and supervised by systemd, and a timer unit provides a mechanism for triggering activation of other units based on time events. These are among the 12 standard systemd unit types defined in the systemd documentation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
process
Why it's wrong here
systemd recognises unit types such as service, socket, timer, mount, target and device; "process" is not among them, so no such unit can be loaded. It is tempting because systemd manages processes, and a process-supervision unit would be the natural fit if such a type existed.
- ✓
socket
Why this is correct
Socket units are a genuine systemd unit type, pairing a listening socket with a service so systemd activates the service on incoming connection. This satisfies the stem's requirement for valid unit types, alongside service, target, mount, timer and device units.
- ✓
service
Why this is correct
A service unit manages daemons and long-running processes, which systemd starts, stops and supervises through unit files. It satisfies the stem's requirement for a valid unit type, since systemd defines service alongside socket, target, timer, mount and device units.
- ✓
timer
Why this is correct
A systemd timer unit schedules activation of another unit at defined times, replacing cron functionality through OnCalendar directives. It is a genuine unit type alongside service, socket, target, mount and path, satisfying the stem's requirement for valid systemd unit types rather than a configuration file or runtime concept.
- ✗
job
Why it's wrong here
systemd's defined unit types include service, socket, timer, path, mount and target; "job" describes a unit's queued execution transaction, not a unit type. It is tempting because systemctl output shows jobs, and a job unit would be the obvious choice if scheduling work were its purpose.
Go deeper
Related to this question
Learn chapter
Process Management and System Monitoring
Key term
Process
In IT service management, a process is a structured set of activities designed to accomplish a specific objective, such as managing incidents or changes, by transforming inputs into defined outputs.
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
About these practice questions
One of 781 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.