A company's reporting application queries an Amazon RDS for PostgreSQL database. During business hours, the database experiences high CPU utilization and performance degradation due to a high volume of read-only queries. A solutions architect needs to design a solution to offload the read traffic and reduce database latency. Which solution will meet these requirements?
- AEnable Amazon RDS Multi-AZ deployment and configure the application to route read queries to the standby database instance.
- BMigrate the database to Amazon DynamoDB and use sequential timestamps as the partition key to optimize read performance.
- Create Amazon RDS Read Replicas and configure the application to route read queries to the read replica endpoints.Answer
- DMigrate the database to Amazon DynamoDB and configure Provisioned Capacity mode to handle unpredictable and spiky read requests.
Answer
Create Amazon RDS Read Replicas and configure the application to route read queries to the read replica endpoints.
The correct answer is to create Amazon RDS Read Replicas and route read-only queries to them. This directly offloads the read traffic from the primary database instance, reducing CPU utilization and query latency.
Step-by-Step Solution
Key Concept
Scaling read capacity using Amazon RDS Read Replicas