An online learning platform hosts its virtual classroom service on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances process real-time WebSocket connections and video streaming metadata. The application requires approximately () to download container images, run local database migrations, and pass application-level health checks. The platform experiences sudden spikes in users at the start of every hour. During these spikes, the ALB returns HTTP errors for the first , and the ASG launches three times as many instances as needed, causing a significant budget overrun. Additionally, if an Availability Zone fails, outbound API calls to external video rendering services fail for instances running in the remaining healthy zones because all outbound traffic is routed through a single NAT gateway in the affected Availability Zone.
Which configuration changes should a solutions architect implement to resolve these issues? (Select TWO.)
- Deploy a NAT gateway in each Availability Zone, and update the route tables of the private subnets in each zone to route outbound traffic () through the NAT gateway in the same zone.Cevap
- Increase the default instance warmup time in the Auto Scaling group's target tracking scaling policy to at least , and configure an Auto Scaling warm pool to keep pre-warmed instances ready to transition to the running state.Cevap
- CReduce the default cooldown period of the Auto Scaling group to to allow the scaling policy to react faster to sudden load spikes at the start of each hour.
- DSubmit a request to AWS Support to pre-warm the Application Load Balancer before the start of each hour, and rely on the ALB's target tracking policy to scale the backend EC2 instances.
- EConfigure a single NAT gateway in a public subnet spanning all Availability Zones, and update the private route tables to route all outbound traffic () to this NAT gateway.