LFCS Service Configuration Practice Question
Which systemd unit type is used to group services and other units together for boot execution?
⚠ Common exam trap
Many candidates confuse 'service' units with the concept of grouping, because services are the most common unit type, but they fail to recognize that only 'target' units can aggregate multiple units into a single boot synchronization point.
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
✓
target
In systemd, the 'target' unit type is designed to group services, sockets, timers, and other units into a logical synchronization point for boot execution. Targets do not execute code themselves but instead define dependencies (via Wants, Requires, and After directives) that ensure all associated units are started in the correct order to reach a desired system state, such as multi-user.target or graphical.target.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
socket
Why it's wrong here
A socket unit activates a service on demand when traffic arrives at a listening socket, which is socket activation rather than boot grouping. It is tempting because sockets participate in startup, but the target unit is what groups and orders units during boot.
- ✗
timer
Why it's wrong here
A timer unit schedules activation of another unit at a defined time or interval, replacing cron-style jobs. It is tempting because timers reference and trigger other units, but that is scheduled activation, not grouping units for boot execution, which the target unit performs.
- ✗
service
Why it's wrong here
A service unit describes and controls one individual daemon or process; it does not group other units for boot ordering. It is tempting because services are the units most commonly enabled at boot, but grouping and ordering across units is the target unit's role.
- ✓
target
Why this is correct
A target unit groups other units and services into a synchronisation point for boot execution, satisfying the stem's grouping requirement. Unlike service units, which run a specific process, targets aggregate units and are pulled in by dependencies, replacing SysV runlevels. This makes `target` the unit type designed for boot-stage grouping.
Go deeper
Related to this question
About these practice questions
This LFCS question is part of Courseiva's 406-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 LFCS practice question is part of Courseiva's free Linux Foundation 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 LFCS exam.