CompTIA Linux+ XK0-006 (V8) Practice Question

You created a systemd service named backup.service that should run a shell script once each night. After starting it you run:

$ systemctl status backup.service
● backup.service - Daily Backup Job
   Loaded: loaded (/etc/systemd/system/backup.service; enabled; vendor preset: disabled)
   Active: active (exited) since Wed 2025-07-30 04:02:15 EDT; 5min ago
  Process: 458 ExecStart=/usr/local/bin/backup.sh (code=exited, status=0/SUCCESS)

Which statement correctly explains what this output means?

  • The status output shows the backup script exited with an error, so the unit is currently in a failed state.

  • The service is a long-running daemon that is still running in the background and will restart automatically if its PID terminates.

  • The backup script ran once, exited with status 0, and systemd now shows the unit as active (exited) even though no process is running.

  • Because vendor preset is disabled, the service is actually disabled and will not start automatically on the next boot.

CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot