A medical healthcare provider hosts a critical real-time telemedicine and remote patient monitoring platform on Amazon EC2 instances. The instances are deployed within an Auto Scaling group (ASG) across three Availability Zones (, , and ) in private subnets. Outbound internet access is required for downloading updates and communicating with third-party medical API endpoints. A single Application Load Balancer (ALB) distributes incoming traffic to the EC2 instances.
During seasonal scheduling windows, the platform experiences sudden, near-instantaneous traffic spikes of up to the baseline volume within a window. During these surges, the following issues are observed:
- The ALB drops a significant portion of incoming requests during the initial minutes of the surge.
- The EC2 instances take approximately to bootstrap (install medical compliance agents and load local cache files). During this startup period, the ASG continues to launch additional unnecessary instances, leading to extreme over-provisioning.
- A transient outage in disabled its NAT Gateway, which subsequently caused all outbound API calls from instances in and to fail because their route tables directed all internet-bound traffic through the NAT Gateway in .
Which two actions should a Solutions Architect implement to resolve these scaling and reliability issues? (Select TWO.)
- Deploy a NAT Gateway in a public subnet in each Availability Zone, and configure the route tables of the private subnets to route outbound traffic through the NAT Gateway in their respective Availability Zone.Answer
- Create a custom Amazon Machine Image (AMI) containing the compliance agents and pre-loaded cache files, and configure an Auto Scaling group warm pool with instances in the Stopped state to serve as pre-initialized capacity.Answer
- CDecrease the default cooldown period of the Auto Scaling group to 60 seconds to allow the scaling policy to quickly launch new instances in response to the sudden CPU utilization spikes.
- DConfigure a single NAT Gateway in a shared services VPC, and establish VPC peering connections from the application VPC to route all outbound traffic through the shared NAT Gateway to ensure centralized redundancy.
- ERely on the ALB's default elastic scaling behavior to dynamically adjust to the traffic spikes, and configure the Auto Scaling group's target tracking policy with a low CPU utilization threshold of 20% to trigger earlier scaling.