How will the number of EC2 instances in this Auto Scaling group be affected in this scenario?
The Auto Scaling group will launch an additional EC2 instance every time the RequestCountPerTarget metric exceeds the predefined limit.
The Auto Scaling group will launch one EC2 instance and will wait for the default cooldown period before launching another instance.
The Auto Scaling group will send an alert to the ALB to rebalance the traffic and not add new EC2 instances until the load is normalized.
The Auto Scaling group will try to distribute the traffic among all EC2 instances before launching another instance.
Explanations:
The Auto Scaling group does not automatically launch an EC2 instance every time the RequestCountPerTarget metric exceeds the limit. Scaling actions are based on the scaling policy and cooldown period, not on every metric exceedance.
The Auto Scaling group will launch one EC2 instance when the RequestCountPerTarget metric exceeds the limit and will wait for the default cooldown period before evaluating if additional scaling is needed.
The Auto Scaling group does not directly send an alert to the ALB to rebalance traffic. Scaling is based on metrics and policies, not on rebalancing triggered by an alert.
The Auto Scaling group does not try to distribute traffic among instances before scaling. It launches additional instances based on the scaling policy, not by simply redistributing traffic.