AWS Certified Solutions Architect – Associate (SAA-C02) — Question 192

A solutions architect is designing a VPC with public and private subnets. The VPC and subnets use IPv4 CIDR blocks. There is one public subnet and one private subnet in each of three Availability Zones (AZs) for high availability. An internet gateway is used to provide internet access for the public subnets. The private subnets require access to the internet to allow Amazon EC2 instances to download software updates.
What should the solutions architect do to enable internet access for the private subnets?

Answer options

Correct answer: A

Explanation

The correct answer is A because creating NAT gateways allows instances in private subnets to access the internet while still being secure from direct access. Option B is incorrect as NAT instances are less scalable and resilient than NAT gateways. Option C is not valid since a second internet gateway cannot be created for a private subnet. Option D is incorrect because egress-only internet gateways are specifically used for IPv6 traffic, not for providing internet access for IPv4 private subnets.