0
0
AWScloud~20 mins

Routing policies (simple, weighted, latency) in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Routing Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
How does a simple routing policy behave in AWS Route 53?
You have a Route 53 record with a simple routing policy pointing to a single IP address. What happens when a user queries this DNS record?
AThe DNS query returns multiple IP addresses in a round-robin fashion.
BThe DNS query returns the single IP address every time.
CThe DNS query returns IP addresses based on the user's geographic location.
DThe DNS query returns IP addresses weighted by traffic percentage.
Attempts:
2 left
💡 Hint

Simple routing returns one fixed answer.

Architecture
intermediate
2:00remaining
Weighted routing policy distribution
You configure two Route 53 records with weighted routing: one with weight 70 and the other with weight 30. What is the expected behavior when users query this DNS record?
A70% of queries return the first record's IP, 30% return the second record's IP.
BAll queries return the IP of the record with the higher weight.
CQueries are routed based on the lowest latency between user and record.
DQueries are routed randomly without considering weights.
Attempts:
2 left
💡 Hint

Weighted routing splits traffic based on weights.

service_behavior
advanced
2:00remaining
Latency routing policy behavior
You have two AWS regions with Route 53 latency routing records. A user in Europe queries the DNS. Which IP address will Route 53 return?
AThe IP address of the region with the lowest latency to the user in Europe.
BThe IP address of the region with the highest weight assigned.
CThe IP address of the region closest geographically to the user, ignoring latency.
DThe IP address of the region with the most health checks passing.
Attempts:
2 left
💡 Hint

Latency routing chooses the fastest region for the user.

security
advanced
2:00remaining
Impact of health checks on weighted routing
In a weighted routing setup with two records, one record's health check fails. What happens to DNS queries?
ADNS queries fail with an error until the unhealthy record recovers.
BDNS queries continue to be routed based on weights, ignoring health checks.
CDNS queries are routed randomly between both records.
DAll DNS queries are routed to the healthy record regardless of weights.
Attempts:
2 left
💡 Hint

Health checks remove unhealthy endpoints from routing.

🧠 Conceptual
expert
2:00remaining
Combining latency and weighted routing policies
You want to route traffic to two AWS regions using latency routing but also want to control traffic distribution with weights. Which approach is valid?
ACreate weighted routing records for each region, then create latency records as children of weighted records.
BUse latency routing for regions and assign weights directly to latency records; Route 53 supports this combination.
CRoute 53 does not support combining latency and weighted routing policies on the same DNS name.
DCreate latency routing records for each region, then create weighted records as children of latency records.
Attempts:
2 left
💡 Hint

Route 53 routing policies are mutually exclusive per record name.