AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 387
A company has a web application that is hosted on Amazon EC2 instances. The company is deploying the application into multiple AWS Regions.
The application consists of dynamic content such as WebSocket-based real-time product updates. The company uses Amazon Route 53 to manage all DNS records.
Which solution will provide multi-Region access to the application with the LEAST latency?
Answer options
- A. Deploy an Application Load Balancer (ALB) in front of the EC2 instances in each Region. Create a Route 53 A record with a latency-based routing policy. Add IP addresses of the ALBs as the value of the record.
- B. Deploy an Application Load Balancer (ALB) in front of the EC2 instances in each Region. Deploy an Amazon CloudFront distribution with an origin group that contains the ALBs as origins. Create a Route 53 alias record that points to the CloudFront distribution's DNS address.
- C. Deploy a Network Load Balancer (NLB) in front of the EC2 instances in each Region. Create a Route 53 A record with a multivalue answer routing policy. Add IP addresses of the NLBs as the value of the record.
- D. Deploy a Network Load Balancer (NLB) in front of the EC2 instances in each Region. Deploy an AWS Global Accelerator standard accelerator with an endpoint group for each NLB. Create a Route 53 alias record that points to the accelerator's DNS address.
Correct answer: D
Explanation
AWS Global Accelerator routes TCP-based WebSocket traffic over the high-speed AWS global network to the closest regional Network Load Balancer (NLB), ensuring the lowest possible latency and jitter. Amazon CloudFront (Option B) is optimized primarily for HTTP/HTTPS caching and is less suited than Global Accelerator for raw TCP/WebSocket performance across multiple regions. Options A and C do not leverage the AWS global private network for the entire transit path, forcing traffic over the public internet and resulting in higher latency.