Interview Prep/AWS/S3, RDS and DynamoDB

The database CPU is high due to read traffic. How do you scale reads?

IntermediateScenarioS3, RDS and DynamoDB
Answer

Situation read → Offload reads to replicas and cache.

What I'd do →

  1. Create read replicas: aws rds create-db-instance-read-replica --db-instance-identifier mydb-r1 --source-db-instance-identifier mydb
  2. Route read queries with a reader endpoint (Aurora) or app-level routing
  3. Add ElastiCache for hot keys
  4. Check slow queries with Performance Insights
  5. Watch ReplicaLag

Why → Replicas are asynchronous, so reads can be stale; choose consistency needs deliberately.

Interview tip → Fix bad queries before adding hardware.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB