Instances in a private subnet hold no public IP addresses and must download operating-system patches from the internet, yet they must never be reachable by connections started from the internet. Which VPC component lets these instances reach the internet for outbound updates only?
- AA NAT gateway in a public subnet, allowing the private instances to start outbound connections while blocking inbound ones Correct
- BAn internet gateway placed in the route table, giving the private instances direct two-way connectivity with the public internet
- CA virtual private gateway, allowing the private instances to start outbound connections to internet patch servers
- DA security group rule, allowing the private instances to start outbound connections to internet patch servers
Why A is correct: A NAT gateway lets private-subnet instances initiate outbound traffic such as patch downloads while preventing any connection started from the internet from reaching them.
Why B is wrong: An internet gateway makes a subnet public in both directions, which would expose the instances to inbound connections that the requirement forbids.
Why C is wrong: A virtual private gateway terminates a VPN to a private network and provides no path to the public internet for downloading patches.
Why D is wrong: A security group can permit outbound traffic but cannot supply the internet routing path that private instances without public addresses require.