You configure an AWS Auto Scaling group with a scheduled scaling action to increase the desired capacity from 2 to 5 instances at 8:00 AM daily. What happens if the current desired capacity is already 6 instances at 8:00 AM?
Scheduled scaling actions set the desired capacity to the specified value and can scale in or out.
Scheduled scaling actions set the desired capacity of the Auto Scaling group to the specified value. Amazon EC2 Auto Scaling changes the capacity accordingly, including scaling in if the new value is lower than the current desired capacity.
Which of the following AWS CLI commands correctly creates a scheduled scaling action to increase the desired capacity of an Auto Scaling group named webserver-group to 10 instances at 6:00 PM UTC daily?
Scheduled scaling requires either a start time or a recurrence expression for repeated actions.
Option D correctly uses the --recurrence parameter with a cron expression to schedule the scaling action daily at 18:00 UTC and sets the desired capacity to 10. It omits --start-time because recurrence alone is sufficient.
You manage an application with predictable traffic spikes from 9 AM to 5 PM on weekdays. You want to optimize costs by scaling out before 9 AM and scaling in after 5 PM. Which architecture best supports this using AWS scheduled scaling?
Think about timing and days when traffic spikes occur.
Option C schedules scaling actions just before and after the traffic spike window on weekdays only, ensuring capacity matches demand and reduces costs outside business hours.
Which IAM policy statement least restricts permissions while allowing a user to create and manage scheduled scaling actions for a specific Auto Scaling group named app-group?
Consider least privilege principle and resource scoping.
Option A restricts permissions to only the necessary actions and limits them to the specific Auto Scaling group resource, following best security practices.
You set a scheduled scaling action to increase desired capacity at 7:00 AM daily, but the Auto Scaling group does not scale up as expected. Which is the most likely cause?
Check if the scheduled action is configured to repeat or only run once.
If a scheduled scaling action has a start time in the past and no recurrence, it runs only once at that time and does not trigger again. To run daily, a recurrence expression is needed.