An application's database is deployed on a single Amazon RDS for MySQL Multi-AZ DB instance. Monitoring metrics indicate that high read latency during business hours is causing performance degradation, while write latency remains low. Which two actions should a solutions architect take to scale the database layer and improve query response times?
- Create Amazon RDS Read Replicas and update the application to route read traffic to the replica endpoints.Cevap
- Deploy an Amazon ElastiCache cluster to store the results of common read queries.Cevap
- CConfigure the application to query the standby instance of the RDS Multi-AZ deployment to distribute the read load.
- DSubmit a request to AWS Support to pre-warm the primary RDS DB instance prior to peak business hours.
- EDeploy an Amazon ElastiCache for Memcached cluster to enable multi-AZ database replication and transaction persistence.
Cevap
To scale the database layer for read-heavy workloads, a solutions architect should create Amazon RDS Read Replicas to offload read operations and deploy an Amazon ElastiCache cluster to cache frequently accessed query results.
The correct actions are implementing RDS Read Replicas and deploying ElastiCache. Creating RDS Read Replicas allows horizontal scaling of read operations by routing read traffic away from the primary database. Implementing an Amazon ElastiCache cluster caches frequent query results, reducing the round-trip latency to the database and saving DB CPU cycles.
Adım Adım Çözüm
Anahtar Kavram
Scaling read capacity for Amazon RDS databases using Read Replicas and caching.
Tahmini Süre:1m 0s