Design Secure Architectures

A dual-stack VPC contains public web subnets and private worker subnets. Workers need outbound internet access over IPv4 and IPv6 without permitting internet-initiated connections; which default routes should the worker subnet route tables use?

Show the answer

Correct answerB. IPv4 to a public NAT gateway; IPv6 to an egress-only internet gateway

AWhy not this: An internet gateway does not give instances with private IPv4 addresses outbound IPv4 internet access.

BWhy this is right: These routes provide outbound internet access for each address family without enabling internet-initiated connections.

CWhy not this: An ordinary internet gateway provides an IPv6 path that can support internet-initiated connections.

DWhy not this: A NAT gateway does not provide native IPv6-to-IPv6 internet access; its IPv6 support uses NAT64 to reach IPv4 destinations.

Private dual-stack subnets use a public NAT gateway for outbound IPv4 and an egress-only internet gateway for outbound IPv6. An ordinary internet gateway does not provide the required outbound-only IPv6 boundary.