LPIC-1 System Architecture Practice Question
Which THREE of the following are valid systemd service unit types?
⚠ Common exam trap
The trap is that 'exec' might seem plausible, but it is not a valid systemd service unit type in the context of the LPIC-1 exam. The standard recognized types are simple, forking, oneshot, dbus, notify, and idle. 'Exec' is not included, and 'runtime' is invalid. The question expects exactly three correct answers: oneshot, simple, and forking.
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
✓
oneshot
(oneshot) is correct because it is a valid systemd service unit type that defines a service where the main process runs once and exits, after which systemd considers the service as active. This is commonly used for tasks like filesystem checks or one-time initialization scripts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
oneshot
Why this is correct
A service that runs a command and exits; often used for setup scripts.
- ✓
simple
Why this is correct
The default type; the main process is started and kept running.
- ✗
runtime
Why it's wrong here
Not a valid systemd service type.
- ✗
exec
Why it's wrong here
Not a valid systemd service type.
- ✓
forking
Why this is correct
A service type where the main process forks and the parent exits.
Go deeper
Related to this question
About these practice questions
One of 527 original LPIC-1 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 LPIC-1 practice question is part of Courseiva's free LPI 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 LPIC-1 exam.