A healthcare provider is deploying a critical patient record application using Amazon RDS for MySQL. The database tier must withstand an Availability Zone (AZ) failure with zero data loss () and support automatic failover in less than (). The application also requires horizontal scaling of read operations to prevent reporting dashboards from affecting the write performance of the primary database instance. Which database configuration meets these requirements with the least operational complexity?
- ADeploy an RDS for MySQL DB instance in a single Availability Zone. Create two RDS Read Replicas in different Availability Zones, and configure the application to promote a replica to primary if the primary instance fails.
- BDeploy an RDS for MySQL Multi-AZ DB instance. Create an RDS Read Replica in a second Availability Zone, and configure an Amazon Route 53 latency routing policy to distribute database connections between the primary instance and the replica.
- Deploy an RDS for MySQL Multi-AZ DB cluster. Configure the reporting dashboards to use the reader endpoint of the cluster.Answer
- DDeploy an RDS for MySQL DB instance in one Region and configure a Warm Standby DB instance in a secondary Region. Use AWS Backup to replicate snapshots hourly, and manually promote the standby instance if a failure occurs.
Answer
Deploy an RDS for MySQL Multi-AZ DB cluster and configure the reporting dashboards to use the reader endpoint of the cluster.
Deploying an RDS for MySQL Multi-AZ DB cluster is correct because it uses synchronous replication across three Availability Zones to ensure zero data loss () and provides automatic failover in under 35 seconds (meeting the requirement). Additionally, the cluster includes two readable standby instances that can be queried via the reader endpoint to scale reads without the operational complexity of provisioning separate read replicas.
Step-by-Step Solution
Key Concept
Amazon RDS Multi-AZ DB clusters provide synchronous replication across three Availability Zones with readable standby instances and rapid automatic failover (typically under 35 seconds), satisfying strict RPO, RTO, and read-scaling requirements simultaneously.