Communication and Network Security

Database servers in a private subnet must download patches from the internet but must never accept connections initiated from it. What should be configured?

Show the answer

Correct answerC. A NAT gateway in a public subnet as the default route

AWhy not this: Public addresses with an internet gateway route expose the servers to inbound connections, violating the requirement.

BWhy not this: A CDN caches content for delivery to users and does not provide outbound access for servers.

CWhy this is right: A NAT gateway translates outbound traffic from private instances and does not allow inbound connections to be initiated from outside.

DWhy not this: Peering links private networks and does not give access to a vendor's public patch servers.

A NAT gateway in a public subnet lets private instances start outbound connections while blocking unsolicited inbound ones. Public IPs with an internet gateway route would make the servers directly reachable from the internet.