
Answer-first summary for fast verification
Answer: Create read replicas for the database. Configure the read replicas with the same compute and storage resources as the source database.
## Explanation **Correct Answer: D** **Why Option D is correct:** 1. **Read Replicas for Read/Write Separation**: Amazon RDS Read Replicas are specifically designed to offload read traffic from the primary database instance. This allows you to separate read and write operations, which is exactly what the operations team wants to achieve. 2. **Same Compute and Storage Resources**: When creating read replicas for performance optimization, it's recommended to configure them with the same compute and storage resources as the source database to ensure they can handle the read workload effectively. Using half the resources (Option C) could lead to performance bottlenecks. 3. **Quick Implementation**: Read replicas can be created relatively quickly compared to other architectural changes, meeting the requirement to "optimize the application's performance quickly." **Why other options are incorrect:** **Option A & B (Multi-AZ deployments):** - Multi-AZ deployments are primarily for **high availability and disaster recovery**, not for read/write separation. - In Multi-AZ, the standby replica is **synchronously replicated** and cannot serve read traffic - it's only for failover purposes. - The secondary Availability Zone replica in Multi-AZ is not accessible for read operations. **Option C (Half resources):** - Configuring read replicas with only half the compute and storage resources could lead to performance issues, especially if the read workload is significant. - For optimal performance when offloading read traffic, read replicas should have comparable resources to handle the redirected workload effectively. **Key AWS Concepts:** - **Read Replicas**: Asynchronous copies of the primary database that can serve read traffic - **Multi-AZ**: Synchronous replication for high availability (not for read scaling) - **Performance Optimization**: Read replicas allow horizontal scaling for read-heavy workloads **Best Practice**: When creating read replicas for performance optimization, match the instance type and storage to the source database to ensure they can handle the redirected read traffic without performance degradation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An application allows users at a company's headquarters to access product data. The product data is stored in an Amazon RDS MySQL DB instance. The operations team has isolated an application performance slowdown and wants to separate read traffic from write traffic. A solutions architect needs to optimize the application's performance quickly.
What should the solutions architect recommend?
A
Change the existing database to a Multi-AZ deployment. Serve the read requests from the primary Availability Zone.
B
Change the existing database to a Multi-AZ deployment. Serve the read requests from the secondary Availability Zone.
C
Create read replicas for the database. Configure the read replicas with half of the compute and storage resources as the source database.
D
Create read replicas for the database. Configure the read replicas with the same compute and storage resources as the source database.