A company runs a high-volume financial transaction application on Amazon EC2 instances within an Auto Scaling group (ASG) distributed across three Availability Zones (, , and ). The instances reside in private subnets and must connect to external payment APIs to process requests. All private subnets currently route internet-bound traffic through a single NAT Gateway located in a public subnet in . The application requires exactly minutes to bootstrap, initialize caches, and pass Application Load Balancer (ALB) health checks. During sudden, unscheduled traffic surges, the application experiences two main failures: first, the ALB drops requests and returns 503 errors before the ASG can scale; second, the ASG continuously launches new instances in rapid succession, resulting in severe over-provisioning and the premature termination of active instances. Additionally, a recent localized utility outage in disabled the single NAT Gateway, which halted all outbound payment processing for instances running in and .
Which TWO actions should the Solutions Architect take to resolve these issues while ensuring maximum fault tolerance and scaling efficiency?
- Deploy a dedicated NAT Gateway in the public subnet of each Availability Zone, and update the route tables of the private subnets in each zone to point outbound traffic to the NAT Gateway in their respective zone.Cevap
- Modify the Auto Scaling group scaling policies to use target tracking and set the instance warmup duration to seconds.Cevap
- CReduce the default cooldown period of the Auto Scaling group to seconds to allow scaling policies to execute more rapidly during sudden peaks.
- DDeploy an additional NAT Gateway in , and update the route tables of private subnets in both and to point outbound traffic to this new NAT Gateway to distribute outbound NAT traffic.
- ESubmit a ticket to AWS Support to request permanent pre-warming of the Application Load Balancer to its maximum anticipated capacity to absorb unscheduled traffic surges.