1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. A private subnet needs outbound internet access for…

Added 30 Nov -0001

A private subnet needs outbound internet access for software updates but must not accept inbound connections. What is required?

  1. A NAT gateway inside the private subnet with an elastic IP attached to it
  2. A VPC endpoint for the internet that proxies every outbound HTTPS request
  3. A NAT gateway in a public subnet, plus a route in the private route table Correct answer
  4. An internet gateway attached to the private subnet's own route table

Correct answer

C. A NAT gateway in a public subnet, plus a route in the private route table

42 views

MCQSEXAM

Explanation

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.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs