Courseiva
Service ConfigurationmediumMultiple SelectObjective-mapped

LFCS Service Configuration Practice Question

Which THREE of the following are valid directives for the [Service] section of a systemd unit file?

⚠ Common exam trap

Test-takers frequently confuse `[Unit]` directives (like `Requires`, `Description`, `After`) with `[Service]` directives, leading them to select options that are valid in other sections but not in the `[Service]` block.

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

Type

The `Type` directive is valid in the `[Service]` section because it defines the service's process startup type (e.g., `simple`, `forking`, `oneshot`, `dbus`, `notify`, `idle`). This tells systemd how to monitor the service's main process and determine when it has started successfully, which is essential for proper service management.

Answer analysis

Option-by-option breakdown

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

  • Type

    Why this is correct

    Valid [Service] directive to define service type.

  • Requires

    Why it's wrong here

    Belongs to the [Unit] section.

  • User

    Why this is correct

    Valid [Service] directive to set the user.

  • ExecStart

    Why this is correct

    Valid [Service] directive to specify command.

  • Description

    Why it's wrong here

    Belongs to the [Unit] section.

About these practice questions

Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.