Courseiva
easyMultiple ChoiceObjective-mapped

XK0-006 Practice Question: Schedule a system maintenance task to run at 3 AM…

An administrator needs to schedule a system maintenance task to run at 3 AM every Sunday. Which cron expression should be used?

⚠ Common exam trap

The trap here is that candidates may remember that Sunday can be 0 or 7 and choose Option A, not realizing that the XK0-005 exam expects the standard POSIX value of 0 for Sunday, and that 7 is non-standard or implementation-specific.

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 3 * * 0

In cron, Sunday can be specified as either 0 or 7. The expression '0 3 * * 0' means the task runs at minute 0, hour 3 (3 AM), every day of the month (*), every month (*), and only on Sunday (0). This matches the requirement exactly.

Answer analysis

Option-by-option breakdown

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

  • 0 3 * * 7

    Why it's wrong here

    Sunday=0 or 7, but in some systems 7 is Saturday; best to use 0.

  • 0 3 * * 0

    Why this is correct

    Correct: minute 0, hour 3, every day, every month, Sunday.

  • 0 3 * * 1

    Why it's wrong here

    Runs on Monday, not Sunday.

  • * 3 * * 0

    Why it's wrong here

    Runs every minute between 3:00 and 3:59 AM on Sunday.

About these practice questions

One of 979 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 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.