An application has sufficient EC2 capacity in private subnets across two Availability Zones, but both subnets use a NAT gateway in the first zone for required external API calls. Which change preserves outbound connectivity in the surviving zone if either zone fails?
Show the answer
Correct answerA. Deploy a NAT gateway in each zone and use same-zone subnet routes.
AWhy this is right: Same-zone NAT routing allows instances in the surviving zone to retain their independent outbound path.
BWhy not this: An internet gateway route alone does not give instances with only private addresses outbound internet connectivity.
CWhy not this: Cross-zone load balancing does not change the private subnets' outbound routing dependency.
DWhy not this: Two NAT gateways in the same zone remain vulnerable to the loss of that zone.
A NAT gateway in each Availability Zone, with each private subnet routing through its local gateway, removes the shared zonal dependency. Cross-zone load balancing distributes inbound application traffic but does not provide resilient outbound internet access.