Networking and Content Delivery

A private subnet routes 0.0.0.0/0 to an available public NAT gateway with an Elastic IP address, but instances cannot reach the internet. Security controls permit traffic, and the NAT gateway's subnet route table contains only the local route; what should the administrator add?

Show the answer

Correct answerC. A default route to an internet gateway in the NAT gateway's subnet

AWhy not this: A direct internet gateway route bypasses NAT and does not translate the instances' private IPv4 addresses.

BWhy not this: A virtual private gateway provides VPN connectivity, not the missing internet path for the public NAT gateway.

CWhy this is right: The NAT gateway's subnet needs an internet gateway route to forward translated traffic to the internet.

DWhy not this: Routing the NAT gateway's subnet back to the same NAT gateway does not provide an internet path.

A public NAT gateway needs a route from its subnet to an attached internet gateway for internet egress. Routing the private subnet directly to the internet gateway bypasses NAT and does not provide internet access to instances that have only private IPv4 addresses.