0
0
AWScloud~20 mins

Route tables configuration in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Route Tables Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Configuration
intermediate
2:00remaining
Identify the correct route table entry for internet access

You have a VPC with CIDR 10.0.0.0/16 and a subnet 10.0.1.0/24. You want instances in this subnet to access the internet. Which route table entry correctly enables this?

ADestination: 0.0.0.0/0, Target: eni-12345678
BDestination: 0.0.0.0/0, Target: igw-12345678
CDestination: 10.0.0.0/16, Target: nat-12345678
DDestination: 10.0.1.0/24, Target: local
Attempts:
2 left
💡 Hint

Internet access requires routing all external traffic (0.0.0.0/0) to the internet gateway.

Architecture
intermediate
2:00remaining
Choosing route tables for public and private subnets

You have a VPC with public and private subnets. Which route table setup correctly isolates private subnet traffic from direct internet access?

APublic subnet route table: 0.0.0.0/0 → igw; Private subnet route table: 0.0.0.0/0 → nat-gateway
BPublic subnet route table: 0.0.0.0/0 → local; Private subnet route table: 0.0.0.0/0 → local
CBoth subnets use the same route table with 0.0.0.0/0 → igw
DPublic subnet route table: 0.0.0.0/0 → nat-gateway; Private subnet route table: 0.0.0.0/0 → igw
Attempts:
2 left
💡 Hint

Private subnets use NAT gateways to access the internet indirectly.

security
advanced
2:00remaining
Effect of missing local route in route table

What happens if a route table in a VPC does not include the default local route (e.g., 10.0.0.0/16 → local)?

ANo effect; local route is optional.
BInstances lose internet access but can communicate internally.
CInstances can communicate internally but cannot reach the internet.
DInstances cannot communicate with each other within the VPC subnet range.
Attempts:
2 left
💡 Hint

The local route enables communication inside the VPC CIDR block.

service_behavior
advanced
2:00remaining
Route table behavior with overlapping CIDR blocks

You have a route table that includes the routes 10.0.0.0/16 → local and 10.0.1.0/24 → nat-gateway. Which route applies for traffic to 10.0.1.5?

ATraffic routes to the NAT gateway because 10.0.1.0/24 is more specific.
BTraffic routes locally because 10.0.0.0/16 covers the entire range.
CTraffic is dropped due to conflicting routes.
DTraffic routes randomly to either local or NAT gateway.
Attempts:
2 left
💡 Hint

More specific routes take priority over broader ones.

🧠 Conceptual
expert
2:00remaining
Diagnosing route table misconfiguration causing subnet isolation

A subnet's instances cannot reach the internet, but the subnet is public and associated with a route table that has 0.0.0.0/0 → igw. What is the most likely cause?

AThe subnet's network ACL blocks outbound internet traffic.
BThe internet gateway is not attached to the VPC.
CThe subnet's instances lack public IP addresses.
DThe route table is missing the local route for the VPC CIDR.
Attempts:
2 left
💡 Hint

Public subnets require instances to have public IPs to access the internet.