Drag or tap steps into the slots.
LFCS User and Group Management Practice Question
Order the steps to create a systemd service unit that runs a script at boot.
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
Create the unit file, then enable the service for boot, then start the service, then check the status.
Creating the unit file, enabling for boot, starting, and checking status are standard steps.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create the unit file, then enable the service for boot, then start the service, then check the status.
Why this is correct
This is correct because the unit file must exist before enabling, enabling makes the service start at boot, starting runs it immediately, and checking status verifies it's running.
- ✗
Start the service, then create the unit file, then enable for boot, then check status.
Why it's wrong here
This is incorrect because the unit file must be created before the service can be started; you cannot start a service that hasn't been defined yet.
- ✗
Enable the service for boot, then create the unit file, then start, then check status.
Why it's wrong here
This is incorrect because you cannot enable a service that does not have a unit file yet; enabling requires the file to be present.
- ✗
Create the unit file, then start the service, then enable for boot, then check status.
Why it's wrong here
This is incorrect because starting before enabling will not ensure the service starts at boot; enabling must be done before or after starting to set the boot behavior, but it's typically done before starting to avoid a missed boot dependency.
Go deeper
Related to this question
About these practice questions
This LFCS question is part of Courseiva's 406-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 →
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.