Courseiva
Linux Kernel and System StartupmediumMultiple ChoiceObjective-mapped

LPIC-2 Linux Kernel and System Startup Practice Question

An organization is migrating from SysV init to systemd. What systemd command should be used to check the status of the HTTP service?

⚠ Common exam trap

Many exam-takers confuse `systemd` (the daemon) with `systemctl` (the control tool), leading them to choose `systemd status httpd` instead of the correct `systemctl status httpd`.

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

systemctl status httpd

The correct command to check the status of a service in systemd is `systemctl status httpd`. This command displays the current state, recent log entries, and process details for the specified unit. The `systemctl` utility is the primary interface for managing systemd services, while `systemd` itself is the init system daemon, not a user-facing command.

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 httpd

    Why it's wrong here

    systemd-analyze is used for analyzing boot performance, not for checking service status.

  • systemctl list-units httpd

    Why it's wrong here

    list-units lists all units, but does not show detailed status of a single service.

  • systemd status httpd

    Why it's wrong here

    systemd is the init system itself, not a command; systemctl is the correct tool.

  • systemctl status httpd

    Why this is correct

    This command shows whether the service is active, enabled, and other details.

About these practice questions

Courseiva writes every LPIC-2 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 LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.