hardMultiple ChoiceObjective-mapped
XK0-006 Practice Question: Determine why a service failed to start due to an…
An administrator needs to determine why a service failed to start due to an unresponsive network filesystem. Which systemd unit dependency directive should be added to ensure the service starts only after the remote filesystem is mounted?
⚠ Common exam trap
Many candidates confuse ordering directives (After) with dependency directives (Requires), mistakenly thinking that ordering alone ensures the service will not start if the filesystem is unavailable.
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
✓
Requires
The Requires directive creates a strong dependency where the service unit will fail to start if the specified remote filesystem unit is not active. This ensures the service only starts after the remote filesystem is mounted, as systemd will attempt to start the required unit and fail the service if it cannot be activated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Wants
Why it's wrong here
Wants is a weaker dependency; the service may start even if mount fails.
- ✗
After
Why it's wrong here
After only orders startup, does not ensure mount is active.
- ✗
BindsTo
Why it's wrong here
BindsTo ties the service lifecycle to the mount unit; not typical for mount dependency.
- ✓
Requires
Why this is correct
Requires creates a strong dependency; the mount must be active for the service to start.
Go deeper
Related to this question
Learn chapter
Navigating the Filesystem
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.
Key term
systemd
systemd is a system and service manager for Linux operating systems that initializes and manages processes, services, and system resources after the kernel boots.
About these practice questions
One of 979 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.