Question 1 · choose 1
An Auto Scaling group uses a target tracking policy that keeps average CPU utilization at 50%. Each new instance runs at almost 100% CPU for about four minutes while it loads data, before it serves any traffic. During that time the group's average climbs, and the policy launches even more instances. Which change stops this overshoot?
- ARaise the group's health check grace period to 300 seconds
- BSet a default instance warmup of 300 seconds on the group
- CRaise the group's default cooldown to 300 seconds after each scaling activity
- DTurn on instance scale-in protection for newly launched instances
Show the answer and why
ARaise the group's health check grace period to 300 seconds
Incorrect
The grace period keeps a new instance from being marked unhealthy and replaced too early. It does not keep the instance's metrics out of the scaling decision.
BSet a default instance warmup of 300 seconds on the group
Correct
During the warmup, a new instance does not contribute usage data to the aggregated metrics, so its start-up CPU no longer drives more scaling.
CRaise the group's default cooldown to 300 seconds after each scaling activity
Incorrect
The scaling cooldown applies to activities started by simple scaling policies, not to a target tracking policy.
DTurn on instance scale-in protection for newly launched instances
Incorrect
Scale-in protection only stops protected instances from being terminated during scale-in. It does nothing about scale-out decisions.
AWS strongly recommends a default instance warmup for target tracking and step scaling policies so that instances that are still starting do not skew the group's metrics.
AWS documentation
- Set the default instance warmup for an Auto Scaling group (opens in a new tab)
- Set the health check grace period for an Auto Scaling group (opens in a new tab)
- Scaling cooldowns for Amazon EC2 Auto Scaling (opens in a new tab)
- Use instance scale-in protection to control instance termination (opens in a new tab)