Questions 49 to 51

Explanations for questions 49 to 51

We'll cover the following

Question 49

An application you manage uses Auto Scaling and a fleet of EC2 instances. You recently noticed that Auto Scaling is scaling the number of instances up and down multiple times in the same hour. You need to implement remediation to reduce the amount of scaling events. The remediation must be cost-effective and preserve elasticity. What design changes would you implement? (Select TWO)

  1. Modify the CloudWatch alarm period that triggers your Auto Scaling scale down policy.
  2. Modify the Auto Scaling group termination policy to terminate the newest instance first.
  3. Modify the Auto Scaling group termination policy to terminate the oldest instance first.
  4. Modify the Auto Scaling group cool-down timers.
  5. Modify the Auto Scaling policy to use scheduled scaling actions.

Correct Answer: 1, 4

Explanation: The cooldown period is a configurable setting for your Auto Scaling group that helps ensure that it doesn’t launch or terminate additional instances before the previous scaling activity takes effect, so using it would help. After the Auto Scaling group dynamically scales using a simple scaling policy, it waits for the cooldown period to complete before resuming scaling activities.

The CloudWatch Alarm Evaluation Period is the number of the most recent data points to evaluate when determining alarm state. This would help as you can increase the number of data points required to trigger an alarm.

CORRECT: “Modify the CloudWatch alarm period that triggers your Auto Scaling scale down policy.” is the correct answer.

INCORRECT: “Modify the Auto Scaling group termination policy to terminate the newest instance first.” is incorrect. The order in which Auto Scaling terminates instances is not the issue here; the problem is that the workload is dynamic, and Auto Scaling is constantly reacting to change and launching or terminating instances.

INCORRECT: “Modify the Auto Scaling group termination policy to terminate the oldest instance first.” is incorrect. As per the previous explanation, the order of termination is not the issue here.

CORRECT: “Modify the Auto Scaling group cool-down timers.” is the correct answer.

INCORRECT: “Modify the Auto Scaling policy to use scheduled scaling actions.” is incorrect. Using scheduled scaling actions may not be cost-effective and also affects elasticity as it is less dynamic.

References:

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.