Design Secure Architectures

EC2 instances with only private IPv4 addresses must download updates from the internet without accepting unsolicited internet connections. Which design meets these requirements?

Show the answer

Correct answerB. Route internet-bound traffic to a public NAT gateway in a public subnet.

AWhy not this: A private NAT gateway provides private connectivity and cannot provide internet access through an internet gateway.

BWhy this is right: A public NAT gateway translates outbound IPv4 traffic and permits response traffic without accepting unsolicited connections.

CWhy not this: An egress-only internet gateway supports IPv6, not IPv4.

DWhy not this: An internet gateway does not translate private-only instance addresses into public IPv4 addresses.

A public NAT gateway provides outbound IPv4 internet access without allowing unsolicited inbound connections. A direct route to an internet gateway does not provide internet access to instances that have only private IPv4 addresses.