AWS - VPC FundamentalsYou 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 assignedBThe private subnet route table does not have a route to the NAT GatewayCThe Internet Gateway is not attached to the VPCDThe NAT Gateway is missing an Elastic IPCheck Answer
Step-by-Step SolutionSolution:Step 1: Check route table configurationInstances in private subnets need a route directing internet traffic (0.0.0.0/0) to the NAT Gateway.Step 2: Identify missing route issueIf this route is missing, traffic won't reach the NAT Gateway, causing no internet access.Final Answer:The private subnet route table does not have a route to the NAT Gateway -> Option BQuick 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 routesAssuming Elastic IP is optionalConfusing Internet Gateway attachment with NAT Gateway routing
Master "VPC Fundamentals" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - AWS Cost Explorer basics - Quiz 10hard AWS CLI - Using profiles for multiple accounts - Quiz 7medium AWS CLI - Why CLI matters for automation - Quiz 10hard AWS CLI - CLI scripting basics - Quiz 6medium EC2 Fundamentals - Why EC2 matters for compute - Quiz 2easy EC2 Fundamentals - Instance states (running, stopped, terminated) - Quiz 4medium Identity and Access Management - Assuming roles for temporary access - Quiz 2easy Identity and Access Management - IAM policies (JSON structure) - Quiz 2easy S3 Fundamentals - Uploading and downloading objects - Quiz 10hard S3 Fundamentals - S3 lifecycle rules - Quiz 4medium