A logistics company hosts a fleet telemetry tracking application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances reside in private subnets across two Availability Zones, Zone A and Zone B. The instances must download routing updates daily from an external server over the internet. Currently, a single NAT Gateway is deployed in Zone A to provide outbound internet access.
The company has identified two primary failure patterns:
1. Outbound internet connectivity fails for all instances in both zones if Zone A experiences an outage.
2. At the start of daily delivery shifts at 8:00 AM, a sudden, massive surge in telemetry connections causes the ALB to drop requests and return HTTP 503 (Service Unavailable) errors, even though dynamic CPU-based auto-scaling is configured.
Which combination of actions will resolve these issues? (Select TWO.)
- Deploy a NAT Gateway in a public subnet in each Availability Zone, and update the route table of each private subnet to route outbound traffic through the local NAT Gateway in its respective zone.Answer
- Create a Scheduled Scaling policy to scale out the Auto Scaling group before 8:00 AM, and request AWS Support to pre-warm the Application Load Balancer to handle the anticipated connection surge.Answer
- CReduce the Auto Scaling group cooldown period to 30 seconds to allow the tracking instances to launch and bootstrap more rapidly during the traffic surge.
- DDeploy a single NAT Gateway in a public subnet in Zone B, and configure the route tables of both private subnets to use this new NAT Gateway as a secondary failover route for internet traffic.
- EConfigure dynamic scaling policies with a CPU utilization target threshold of 90% to trigger rapid auto-scaling of both the Application Load Balancer and the Auto Scaling group when the traffic surge occurs.