A private subnet needs outbound internet access for software updates but must not accept inbound connections. What is required?
Correct answer
C. A NAT gateway in a public subnet, plus a route in the private route table
42 views
C. A NAT gateway in a public subnet, plus a route in the private route table
42 views
A private subnet has no route to an internet gateway, so outbound traffic is sent to a NAT gateway placed in a public subnet, which translates the source address and returns replies only for connections that started inside. The private route table points 0.0.0.0/0 at the NAT gateway, while the public subnet's table points at the internet gateway. NAT gateways are stateful, so no inbound security group rule is needed for the replies.
Asked in: NTS, PPSC IT, Campus Interviews
Not sure why the answer is C? Ask here and get an explanation.