Courseiva
Service ConfigurationmediumMultiple ChoiceObjective-mapped

LFCS Service Configuration Practice Question

Exhibit

Refer to the exhibit.

Output of `systemctl status apache2`:

● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; generated; vendor preset: enabled)
   Active: active (running) since Mon 2023-08-14 10:15:30 UTC; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1234 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
   Main PID: 5678 (apache2)

Warning: apache2.service changed on disk. Run 'systemctl daemon-reload' to reload units.

Based on the exhibit, what is the correct interpretation?

⚠ Common exam trap

Linux Foundation often tests the distinction between a service that is running but has a pending configuration reload versus a service that has failed or is inactive, causing candidates to misinterpret the 'daemon-reload' notice as an error.

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

The service is running but the unit file has been modified recently and needs reloading

The 'daemon-reload' notice in the systemctl status output indicates that the unit file has been modified on disk but systemd has not yet reloaded its configuration. Running 'systemctl daemon-reload' will re-read the unit files and apply the changes, which is why option C is correct.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The service is inactive

    Why it's wrong here

    Status shows active.

  • The configuration file is corrupt

    Why it's wrong here

    No indication of corruption; only that the unit file changed.

  • The service is running but the unit file has been modified recently and needs reloading

    Why this is correct

    Active (running) and warning indicate unit file change.

  • The service is failing

    Why it's wrong here

    Status shows active (running).

About these practice questions

This LFCS question is part of Courseiva's 507-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 →

How Courseiva writes practice questions · Editorial policy

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.