Courseiva
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.

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 →

How Courseiva writes practice questions · Editorial policy

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.