A healthcare application uses an Amazon RDS for MySQL DB instance in a Single-AZ deployment. The database suffers from high CPU utilization due to a mix of transactional writes and read-intensive reporting queries. A SysOps Administrator must configure the database architecture to support automatic failover in the event of an Availability Zone outage and isolate the reporting workload from the transactional write operations. Which deployment strategy will satisfy these requirements?
- Enable the Multi-AZ feature on the DB instance. Create an RDS Read Replica in a different Availability Zone, and configure the reporting queries to use the Read Replica endpoint.Cevap
- BCreate an RDS Read Replica in a different Availability Zone. Configure an Amazon Route 53 failover routing policy to redirect transactional write traffic to the Read Replica if the primary DB instance fails.
- CEnable the Multi-AZ feature on the DB instance. Identify the private DNS endpoint of the standby replica in the secondary Availability Zone, and configure the reporting workload to query that endpoint.
- DCreate a read-writable RDS replica using Multi-Region replication. Configure Amazon Route 53 active-active routing to distribute both write and read traffic equally between the primary database and the replica.
Cevap
Enable the Multi-AZ feature on the DB instance. Create an RDS Read Replica in a different Availability Zone, and configure the reporting queries to use the Read Replica endpoint.
The correct solution involves enabling Multi-AZ on the database to ensure automatic failover and high availability, while creating a separate Read Replica to handle the reporting workload. In an RDS Multi-AZ deployment, replication to the standby replica is synchronous, but the standby replica is passive and cannot accept read queries. Therefore, to offload reporting queries, a separate Read Replica must be created.
Adım Adım Çözüm
Anahtar Kavram
Distinction between RDS Multi-AZ deployments for high availability and RDS Read Replicas for read scaling and workload isolation.
Tahmini Süre:1m 30s