An enterprise application utilizes an Amazon Aurora PostgreSQL database cluster for transactional operations and an Amazon DynamoDB table for user session state. During peak traffic periods, the Aurora database experiences high latency on read queries, while the DynamoDB table encounters throttling on a small group of frequently accessed user profiles. Which two configurations should a solutions architect implement to optimize database performance? (Select TWO.)
- Create Amazon Aurora Read Replicas to offload read traffic from the primary database instanceCevap
- Enable Amazon DynamoDB Accelerator (DAX) to cache frequently accessed user profilesCevap
- CRedesign the DynamoDB partition key to use a monotonically increasing creation timestamp
- DConfigure Aurora Read Replicas as the primary disaster recovery failover mechanism for write traffic
Cevap
Creating Amazon Aurora Read Replicas and enabling Amazon DynamoDB Accelerator (DAX) are the correct configurations to optimize the performance.
Creating Amazon Aurora Read Replicas allows the application to redirect read traffic from the primary writer database instance, reducing latency. Additionally, enabling Amazon DynamoDB Accelerator (DAX) introduces an in-memory cache that resolves read throttling on frequently accessed keys (hot keys).
Adım Adım Çözüm
Anahtar Kavram
Scaling read capacity with database replicas and using in-memory caching for key-value databases to handle hot keys.