Bird
0
0

If a route table has the following routes:

medium📝 service behavior Q5 of 15
AWS - VPC Fundamentals
If a route table has the following routes:
- 10.0.0.0/16 -> local
- 0.0.0.0/0 -> nat-456def
What happens when an instance in subnet 10.0.2.0/24 tries to access the internet?
ATraffic is blocked due to missing route
BTraffic goes through the NAT Gateway nat-456def
CTraffic goes directly to the Internet Gateway
DTraffic is routed to another VPC
Step-by-Step Solution
Solution:
  1. Step 1: Identify default route target

    0.0.0.0/0 route points to NAT Gateway nat-456def.
  2. Step 2: Understand NAT Gateway role

    NAT Gateway allows instances in private subnets to access internet via NAT.
  3. Final Answer:

    Traffic goes through the NAT Gateway nat-456def -> Option B
  4. Quick Check:

    Default route to NAT Gateway enables internet access [OK]
Quick Trick: Default route to NAT Gateway enables private subnet internet access [OK]
Common Mistakes:
  • Assuming direct internet access without IGW
  • Confusing NAT Gateway with Internet Gateway
  • Thinking traffic is blocked without IGW route

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes