AWS Certified Solutions Architect - Professional / Question #531 of 529

Question #531

A company is providing traffic data through a REST API hosted on Amazon API Gateway, integrated with AWS Lambda functions for each operation. They use Amazon Route 53 for DNS with a record for traffic.example.com and store data in Amazon DynamoDB. The company needs to enable cross-Region failover for the API. Which solution meets these requirements?

A

Deploy Lambda functions in a new Region. Update API Gateway to use an edge-optimized endpoint with Lambda functions from both Regions. Convert DynamoDB tables to global tables.

B

Deploy a new API Gateway and Lambda functions in another Region. Configure Route 53 with a multivalue answer record pointing to both APIs. Enable health checks. Convert DynamoDB to global tables.

C

Deploy a new API Gateway and Lambda functions in another Region. Update Route 53 with a failover routing policy and enable health monitoring. Convert DynamoDB tables to global tables.

D

Deploy a new API Gateway in another Region. Use global Lambda functions. Configure Route 53 with a multivalue answer record. Enable health checks. Convert DynamoDB to global tables.

Explanation

Option C is correct because:
1. Cross-Region Deployment: Deploying API Gateway and Lambda in another Region ensures redundancy.
2. Route 53 Failover Routing: A failover routing policy with health checks ensures traffic switches to the secondary Region if the primary fails.
3. DynamoDB Global Tables: Converts tables to global tables for cross-Region replication, ensuring data availability.

Other options are incorrect because:
- A: Edge-optimized API Gateway endpoints are not designed for cross-Region failover. Lambda functions cannot span Regions without separate deployments.
- B: Multivalue routing is for active-active setups, not failover (active-passive).
- D: Lambda functions are Region-scoped; 'global Lambda' is not a valid AWS feature.

Key Points: Use Route 53 failover routing with health checks, deploy resources in multiple Regions, and use DynamoDB global tables for cross-Region data consistency.

Answer

The correct answer is: C