LFCS Service Configuration Practice Question
Which TWO commands can be used to check the status of a service?
⚠ Common exam trap
Many candidates think `systemd-analyze` checks service status because of its name, but it is strictly a boot analysis tool, not a status checker.
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
✓
service status
The `service` command is a legacy SysV init wrapper that can query the status of a service by calling the appropriate init script with the `status` argument. It remains available on many Linux distributions for backward compatibility, making it a valid tool to check service status.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
systemd-analyze
Why it's wrong here
Analyzes boot performance, not status.
- ✓
service status
Why this is correct
Legacy command, still works with systemd via compatibility.
- ✗
start stop restart
Why it's wrong here
Not a valid command.
- ✓
systemctl status
Why this is correct
Modern command for service status.
- ✗
initctl status
Why it's wrong here
Used by Upstart init system, not systemd.
Go deeper
Related to this question
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 →
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.