An ALB listener forwards to primary and standby target groups with weights of 100 and 0; the standby has sufficient healthy capacity, but a drill shows traffic does not shift when every primary target becomes unhealthy. Which changes together implement automatic failover between these groups? (Choose three.)
Choose 3 answers
Show the answer
Correct answersA. Configure the alarm to notify an SNS topic that invokes a recovery Lambda function.C. Have the recovery function change listener weights to primary 0 and standby 100.E. Create a CloudWatch alarm when the primary group's HealthyHostCount remains below 1.
AWhy this is right: CloudWatch alarm notifications through SNS can invoke Lambda to perform recovery actions.
BWhy not this: Stickiness maintains target group affinity; it does not select another group based on target health.
CWhy this is right: Changing listener weights explicitly directs new routing decisions to the healthy standby group.
DWhy not this: Cross-zone load balancing does not reassign listener weights between target groups.
EWhy this is right: A primary-group HealthyHostCount below 1 detects that no healthy primary targets remain.
Weighted ALB target groups do not automatically transfer traffic when one group has only unhealthy targets. A HealthyHostCount alarm can invoke Lambda through SNS to change the listener weights; cross-zone load balancing distributes traffic across zones, not between weighted target groups.