Recall & Review
beginner
What is a NAT Gateway in AWS?
A NAT Gateway is a service that allows instances in a private subnet to access the internet or other AWS services, while preventing inbound internet traffic to those instances.
Click to reveal answer
beginner
Why do private subnets need a NAT Gateway to access the internet?
Private subnets do not have direct internet access. A NAT Gateway enables outbound internet traffic from private subnets by routing requests through it, while keeping the subnet secure from inbound internet traffic.
Click to reveal answer
intermediate
Where should you place a NAT Gateway in your AWS VPC?
You should place the NAT Gateway in a public subnet with a route to an Internet Gateway. This allows it to forward traffic from private subnets to the internet.
Click to reveal answer
intermediate
How do you configure route tables for private subnets to use a NAT Gateway?
In the private subnet's route table, add a default route (0.0.0.0/0) that points to the NAT Gateway's ID. This directs outbound internet traffic through the NAT Gateway.
Click to reveal answer
advanced
What is the difference between a NAT Gateway and a NAT Instance?
A NAT Gateway is a managed AWS service that is highly available and scales automatically. A NAT Instance is a user-managed EC2 instance that requires manual scaling and maintenance.
Click to reveal answer
Where should a NAT Gateway be placed in an AWS VPC?
✗ Incorrect
A NAT Gateway must be placed in a public subnet to route traffic from private subnets to the internet.
What does a NAT Gateway allow instances in a private subnet to do?
✗ Incorrect
A NAT Gateway allows instances in private subnets to initiate outbound internet connections while blocking inbound traffic.
Which route should be added to a private subnet's route table to use a NAT Gateway?
✗ Incorrect
Private subnets route all internet-bound traffic (0.0.0.0/0) to the NAT Gateway.
What is a key advantage of using a NAT Gateway over a NAT Instance?
✗ Incorrect
NAT Gateways are managed by AWS and scale automatically, unlike NAT Instances.
Can a NAT Gateway be used to allow inbound internet traffic to private subnet instances?
✗ Incorrect
NAT Gateways do not allow inbound internet traffic to private subnet instances; they only enable outbound connections.
Explain how a NAT Gateway enables internet access for instances in a private subnet.
Think about where the NAT Gateway lives and how routes direct traffic.
You got /4 concepts.
Describe the differences between a NAT Gateway and a NAT Instance in AWS.
Consider ease of use and reliability.
You got /4 concepts.