You provide a REST API through Amazon API Gateway integrated with Lambda functions and store API data in DynamoDB. You want the API to be able to fail over to another AWS Region. Route 53 is used for DNS and weather.example.com already exists. Which design meets the requirement for cross-Region failover?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy a second API Gateway and Lambda functions in the secondary Region. Change the Route 53 record to use a failover routing policy and enable Route 53 health checks for target health monitoring. Convert the DynamoDB tables to global tables..
Why this is the answer
The correct solution establishes a disaster recovery strategy by deploying a full stack (API Gateway, Lambda) in a secondary region. Route 53's failover routing policy, combined with health checks, automatically directs traffic to the healthy region. DynamoDB Global Tables ensure data consistency across regions, which is crucial for a seamless failover. The first incorrect option, using an edge-optimized endpoint targeting Lambda functions in both regions, is not a standard failover mechanism for API Gateway and Lambda. Edge-optimized endpoints are for performance, not cross-region failover of the backend. The second incorrect option, using a multivalue answer, distributes traffic to all healthy endpoints. While it offers some redundancy, it doesn't prioritize a primary region or automatically fail over in the same way a failover routing policy does. The fourth incorrect option, making Lambda functions "globally available," is not an AWS feature. Lambda functions are regional. Additionally, multivalue routing has the same limitations as described for the second incorrect option.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed