Bird
0
0

You created a scheduled scaling action with this cron expression:

medium📝 Debug Q14 of 15
AWS - Auto Scaling
You created a scheduled scaling action with this cron expression:
cron(0 25 * * ? *)
Why does the scaling not trigger as expected?
AThe day-of-week field is missing
BThe minute value 0 is invalid
CThe hour value 25 is invalid in cron expressions
DThe cron expression needs only 5 fields
Step-by-Step Solution
Solution:
  1. Step 1: Check the hour field in the cron expression

    The hour field is set to 25, but valid hour values are 0 to 23.
  2. Step 2: Understand cron validation rules in AWS

    AWS rejects cron expressions with invalid field values, so the scaling action won't trigger.
  3. Final Answer:

    The hour value 25 is invalid in cron expressions -> Option C
  4. Quick Check:

    Hour must be 0-23 in AWS cron [OK]
Quick Trick: Check cron field ranges; hours max 23 [OK]
Common Mistakes:
MISTAKES
  • Assuming minute 0 is invalid
  • Thinking day-of-week is mandatory
  • Using 5 fields instead of 6

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes