A company is designing a multi-region application with an Application Load Balancer (ALB) in us-east-1 and us-west-2. They want to route traffic to the nearest region using latency-based routing. Which AWS service should they use to achieve this?
Amazon Route 53’s latency routing policy directs traffic to the region with the lowest network latency for each user, satisfying the requirement to route to the nearest region in a multi-region ALB deployment. This policy uses latency measurements between AWS regions and the client’s DNS resolver, not geographic distance, to select the optimal endpoint.
Why this answer
Route 53's latency routing policy directs traffic to the region with the lowest network latency for the end user, based on measurements between AWS regions and the client's DNS resolver. This directly meets the requirement to route traffic to the nearest region without adding any additional infrastructure or cost beyond DNS queries.
Exam trap
The trap here is that candidates often confuse AWS Global Accelerator's Anycast routing with DNS-based latency routing, but Global Accelerator optimizes network path performance for TCP/UDP traffic at the transport layer, not DNS-level latency-based routing for ALB endpoints.
How to eliminate wrong answers
Option A is wrong because AWS Global Accelerator uses Anycast IPs and the AWS global network to route traffic to the optimal endpoint, but it does not use latency-based DNS routing; it operates at the network layer (Layer 3/4) and is designed for TCP/UDP traffic, not for HTTP/HTTPS ALB routing based on latency. Option B is wrong because AWS Transit Gateway is a network transit hub used to interconnect VPCs and on-premises networks via a central router, not a DNS-based traffic routing service; it has no capability to route traffic based on latency or user location. Option C is wrong because CloudFront with multiple origins can route requests to different origins based on geographic or latency-based behaviors, but it is a CDN service that caches content at edge locations; for dynamic traffic that must reach the ALB directly without caching, CloudFront adds unnecessary latency and complexity, and its latency-based origin routing is not as granular or cost-effective as Route 53 latency routing for this specific use case.