easyMultiple ChoiceObjective-mapped
XK0-006 Practice Question: A system administrator wants to schedule a script…
A system administrator wants to schedule a script to run every Monday at 3 AM. Which cron entry is correct?
⚠ Common exam trap
Candidates often confuse the day-of-week numbering (where Monday is 1) with the day-of-month field, and mixing up the minute and hour positions, leading candidates to select options that run on the wrong day or at the wrong time.
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 * * 1 /path/to/script.sh
The cron syntax for 'at 3 AM every Monday' is minute 0, hour 3, day-of-month *, month *, and day-of-week 1 (where 0 and 7 both represent Sunday, and 1 represents Monday). This matches the required schedule 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 1 * * /path/to/script.sh
Why it's wrong here
This runs on the 1st day of every month at 3 AM, not weekly on Monday.
- ✗
3 0 * * 1 /path/to/script.sh
Why it's wrong here
This would run at 12:03 AM Monday (hour and minute swapped).
- ✗
0 3 * * 2 /path/to/script.sh
Why it's wrong here
This runs on Tuesday (2) instead of Monday (1).
- ✓
0 3 * * 1 /path/to/script.sh
Why this is correct
This executes at 3:00 AM every Monday.
Go deeper
Related to this question
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 →
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.