AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 202
An online retail company is running a web application in the us-wast-2 Region and serves consumers in the United States. The company plans to expand across several countries in Europe and wants to provide low latency for all its users.
The application needs to identify the users’ IP addresses and provide localized content based on the users’ geographic location. The application uses HTTP GET and POST methods for its functionality. The company also needs to develop a failover mechanism that works for GET and POST methods and is based on health checks. The failover must occur in less than 1 minute for all clients.
Which solution will meet these requirements?
Answer options
- A. Configure a Network Load Balancer (NLB) for the application in each environment in the new AWS Regions. Create an AWS Global Accelerator accelerator that has endpoint groups that point to the NLBs in each Region.
- B. Configure an Application Load Balancer (ALB) for the application in each environment in the new AWS Regions. Create an AWS Global Accelerator accelerator that has endpoint groups that point to the ALBs in each Region.
- C. Configure an Application Load Balancer (ALB) for the application in each environment in the new AWS Regions. Create Amazon Route 53 public hosted zones that have failover routing policies.
- D. Configure a Network Load Balancer (NLB) for the application in each environment in the new AWS Regions. Create an Amazon CloudFront distribution. Configure an origin group with origin failover options.
Correct answer: B
Explanation
Option B is correct because an Application Load Balancer (ALB) is designed to handle HTTP/HTTPS traffic and can facilitate the necessary health checks and failover mechanisms for GET and POST methods effectively. Option A is incorrect as a Network Load Balancer (NLB) is less suited for handling HTTP-specific features like IP-based routing and failover for HTTP methods. Option C does not incorporate the Global Accelerator, which is essential for low latency across regions. Option D also involves an NLB and CloudFront, which do not provide the same level of application-layer features needed for the described use case.