Courseiva
System Management →hardMultiple Choice

XK0-006 System Management Practice Question

An administrator needs to schedule a backup script to run every Monday at 2:00 AM. Which crontab entry will accomplish this?

⚠ Common exam trap

The trap here is mixing up the order of hour and minute fields, or confusing day of week numbering where 0 is Sunday and 1 is Monday.

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

✓

0 2 * * 1 /path/to/backup.sh

The correct crontab entry must set minute to 0, hour to 2, and day of week to 1 (Monday). The fields are minute, hour, day of month, month, day of week, command. The entry '0 2 * * 1 /path/to/backup.sh' satisfies these conditions and schedules the backup for every Monday at 2:00 AM.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    2 0 * * 1 /path/to/backup.sh

    Why it's wrong here

    This entry specifies minute 2, hour 0, which would run at 12:02 AM, not 2:00 AM. The hour field is 0 (midnight) and minute is 2. The correct time is 2:00 AM, which requires hour 2 and minute 0. So this does not meet the schedule requirement.

  • ✗

    0 2 * * 0 /path/to/backup.sh

    Why it's wrong here

    This entry uses day of week 0, which represents Sunday, not Monday. It would run the backup at 2:00 AM every Sunday. The scenario requires Monday, so this is incorrect. Day of week values are 0-7 where 0 and 7 are Sunday, 1 is Monday, etc.

  • ✗

    0 2 1 * * /path/to/backup.sh

    Why it's wrong here

    This entry specifies day of month 1 and any day of week. It would run at 2:00 AM on the first day of every month, regardless of the day of the week. This does not ensure it runs every Monday. The day of week field is wildcard, so it runs monthly, not weekly on Monday.

  • ✓

    0 2 * * 1 /path/to/backup.sh

    Why this is correct

    This crontab entry specifies minute 0, hour 2, any day of month, any month, and day of week 1 (Monday). It correctly runs the backup script at 2:00 AM every Monday. The fields are in the order: minute, hour, day of month, month, day of week, command.

About these practice questions

One of 781 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

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.