Courseiva
easyMultiple ChoiceObjective-mapped

XK0-006 Practice Question: A database administrator needs to schedule a…

A database administrator needs to schedule a one-time system backup to run at 2:00 AM tomorrow. Which command should be used?

⚠ Common exam trap

The CompTIA Linux+ exam often tests the distinction between one-time (`at`) and recurring (`cron`, `systemd-timer`) job schedulers, trapping candidates who confuse `atq` (a query command) with `at` (the scheduling command).

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

at 2:00 AM tomorrow

The `at` command is specifically designed to schedule a one-time job at a specified time, making it the correct choice for a backup that runs exactly once at 2:00 AM tomorrow. It accepts natural language time specifications like '2:00 AM tomorrow' and executes the command at that moment without recurring.

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-run --on-calendar='*-*-* 02:00:00' /usr/bin/backup

    Why it's wrong here

    Creates a recurring timer unit, not one-time.

  • at 2:00 AM tomorrow

    Why this is correct

    Schedules a one-time job at the specified time.

  • echo '/usr/bin/backup' | atq

    Why it's wrong here

    atq lists pending jobs, does not schedule.

  • crontab -e

    Why it's wrong here

    Used for recurring tasks, not one-time.

About these practice questions

This XK0-006 question is part of Courseiva's 979-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.