Courseiva
Service ConfigurationhardMultiple ChoiceObjective-mapped

LFCS Service Configuration Practice Question

Exhibit

● systemctl status myapp.service
● myapp.service - My Application
   Loaded: loaded (/etc/systemd/system/myapp.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
   Docs: man:myapp(1)

● systemctl list-dependencies myapp.service
● myapp.service
● myapp.service does not have any dependencies.

Refer to the exhibit. An administrator tries to start myapp.service with 'systemctl start myapp.service' but receives 'Failed to start myapp.service: Unit myapp.service is not loaded properly: Invalid argument'. What is the most likely issue?

⚠ Common exam trap

Linux Foundation often tests the distinction between loading-phase errors (syntax, invalid argument) and runtime errors (execution failures, missing binaries), causing candidates to confuse a malformed unit file with a broken ExecStart path.

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 unit file has a syntax error.

The error 'Unit myapp.service is not loaded properly: Invalid argument' indicates that systemd attempted to parse the unit file but encountered a syntax error or an invalid directive. This typically happens when a key-value pair in the unit file is malformed, such as a missing equals sign, an unsupported option, or a value that does not conform to systemd's expected format. Unlike a runtime failure (e.g., a missing ExecStart binary), this error occurs during the loading phase, before any execution attempt.

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 unit file has a syntax error.

    Why this is correct

    'Invalid argument' indicates the unit file contains an incorrect directive or value.

  • The service name is misspelled.

    Why it's wrong here

    A misspelled name would result in 'Unit not found'.

  • The ExecStart path is invalid.

    Why it's wrong here

    An invalid ExecStart would produce a different error, like 'Executable not found'.

  • The service is masked.

    Why it's wrong here

    Masked units show 'masked' in status and 'Failed to start... Unit is masked'.

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.