0
0
AWScloud~5 mins

NAT Gateway for private subnet internet in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AIn a private subnet
BIn a VPN Gateway
CIn the Internet Gateway
DIn a public subnet
What does a NAT Gateway allow instances in a private subnet to do?
AAccess the internet for outbound traffic
BDirectly connect to other VPCs
CReceive inbound internet traffic
DHost public websites
Which route should be added to a private subnet's route table to use a NAT Gateway?
A0.0.0.0/0 to NAT Gateway
BSpecific IP range to NAT Gateway
CLocal route only
D0.0.0.0/0 to Internet Gateway
What is a key advantage of using a NAT Gateway over a NAT Instance?
ARuns on EC2 instances
BRequires manual scaling
CIs managed and scales automatically
DAllows inbound internet traffic
Can a NAT Gateway be used to allow inbound internet traffic to private subnet instances?
AYes, it allows inbound traffic
BNo, it only allows outbound traffic
COnly if configured with security groups
DOnly for HTTPS traffic
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.