Bird
0
0

Which of the following is a valid cron expression for scheduled scaling in AWS?

easy📝 Configuration Q12 of 15
AWS - Auto Scaling
Which of the following is a valid cron expression for scheduled scaling in AWS?
Acron(0 0 0 0 ? *)
Bcron(60 24 * * ? *)
Ccron(* * * * *)
Dcron(0 12 * * ? *)
Step-by-Step Solution
Solution:
  1. Step 1: Review cron expression format in AWS

    AWS cron expressions have six fields: minutes, hours, day-of-month, month, day-of-week, year.
  2. Step 2: Validate each option

    cron(0 12 * * ? *) is valid: minute=0, hour=12, day-of-month=*, month=*, day-of-week=?, year=*. cron(0 0 0 0 ? *) has invalid zero day-of-month and month values. cron(60 24 * * ? *) has invalid 60 minutes and 24 hours. cron(* * * * *) has only five fields, missing year.
  3. Final Answer:

    cron(0 12 * * ? *) -> Option D
  4. Quick Check:

    Valid AWS cron = 6 fields, correct ranges [OK]
Quick Trick: AWS cron needs 6 fields with valid ranges [OK]
Common Mistakes:
MISTAKES
  • Using 5-field cron instead of 6-field
  • Setting minutes or hours out of range
  • Confusing day-of-week and day-of-month

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes