Question 240
A relational application has hundreds of read queries per write and the primary RDS instance becomes CPU bound. What should the solutions architect recommend?
Explanation
Correct Answer
Read replicas offload SELECT workloads from the primary database writer. In this situation, read requests appear on replicas and the writer's CPU utilization decreases. The decision can be verified by that concrete result.
Incorrect Answers
RDS Proxy pools database connections and reduces connection churn. That relates to a different need: a MySQL application uses an RDS instance and spikes to thousands of connections from short-lived Lambda functions.
DynamoDB is a managed key-value and document database that scales for predictable access patterns. That relates to a different need: an application performs millions of simple key-value lookups per second and does not need joins or transactions across complex relational entities.
Keyed reads avoid examining unrelated items and improve latency. That relates to a different need: an application runs DynamoDB queries with Scan and consumes excessive read units to find one specific customer.