Question #844
A company operates a data analytics platform in an AWS Region located in the United States. The platform utilizes an Amazon API Gateway Regional API and AWS Lambda functions to process real-time analytics from an Amazon RDS for PostgreSQL database. The frontend is hosted on Amazon S3 and delivered via an Amazon CloudFront distribution. Amazon Route 53 is employed as the DNS service with a simple routing policy directing traffic to the API Gateway.
The company plans to expand into Asia within six months, where over 85% of the database operations are read-only. They have already deployed the API Gateway and Lambda functions in the new Region.
A solutions architect must design a solution to reduce latency for users accessing analytics reports.
Which solution meets these requirements?
Use AWS DMS with full load to replicate the database to the new Region. Switch Route 53 to geolocation routing.
Use AWS DMS with full load plus CDC to replicate the database to the new Region. Switch Route 53 to latency-based routing.
Configure a cross-Region read replica for the RDS database in the new Region. Change the Route 53 record to latency-based routing to connect to the API Gateway API.
Configure a cross-Region read replica for the RDS database in the new Region. Change the Route 53 record to geolocation routing to connect to the API Gateway API.
Explanation
Option C is correct because:
1. Cross-Region Read Replica: RDS read replicas allow read-only traffic to be offloaded to a replica in the new Region, reducing latency for 85% of read-heavy operations in Asia.
2. Latency-Based Routing: Route 53 directs users to the API Gateway endpoint (US or Asia) with the lowest latency, ensuring optimal performance.
Why other options are incorrect:
- A: DMS full load lacks continuous replication (CDC), leading to stale data. Geolocation routing may not always select the lowest-latency endpoint.
- B: While DMS with CDC ensures data freshness, it introduces unnecessary complexity compared to native RDS read replicas.
- D: Geolocation routing routes based on user location, not actual latency, which may not always align with the fastest path.
Key Points:
- Use cross-Region read replicas for read-heavy workloads to reduce latency.
- Latency-based routing optimizes endpoint selection based on real-time network conditions.
Answer
The correct answer is: C