Bird
0
0

You created a NAT Gateway in a public subnet but instances in the private subnet cannot access the internet. What is the most likely cause?

medium📝 Debug Q14 of 15
AWS - VPC Fundamentals
You created a NAT Gateway in a public subnet but instances in the private subnet cannot access the internet. What is the most likely cause?
AThe private subnet has a public IP assigned
BThe private subnet route table does not have a route to the NAT Gateway
CThe Internet Gateway is not attached to the VPC
DThe NAT Gateway is missing an Elastic IP
Step-by-Step Solution
Solution:
  1. Step 1: Check route table configuration

    Instances in private subnets need a route directing internet traffic (0.0.0.0/0) to the NAT Gateway.
  2. Step 2: Identify missing route issue

    If this route is missing, traffic won't reach the NAT Gateway, causing no internet access.
  3. Final Answer:

    The private subnet route table does not have a route to the NAT Gateway -> Option B
  4. Quick Check:

    Missing route to NAT Gateway = no internet [OK]
Quick Trick: Check private subnet route table for NAT Gateway route [OK]
Common Mistakes:
  • Ignoring route table routes
  • Assuming Elastic IP is optional
  • Confusing Internet Gateway attachment with NAT Gateway routing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes