A logistics company is migrating its core order processing system to Amazon RDS. The database must be highly available across multiple Availability Zones with a Recovery Time Objective (RTO) of less than 2 minutes and a Recovery Point Objective (RPO) of 0 (no data loss). Additionally, the solutions architect must scale read performance horizontally to handle reporting queries without impacting write latency on the primary database instance.
Which combination of database configuration and application routing strategies will meet these requirements? (Select TWO.)
- ADeploy the database as a standard Amazon RDS Multi-AZ DB instance deployment and route read queries to the standby instance.
- Deploy the database as an Amazon RDS Multi-AZ DB cluster with one writer and two readable standby DB instances.Answer
- CDeploy a single-AZ Amazon RDS DB instance and configure a cross-AZ Read Replica, using Amazon Route 53 to automatically promote the replica during an outage.
- Configure the application to route write queries to the cluster endpoint and read queries to the reader endpoint of the DB cluster.Answer
- EUse Amazon Route 53 latency-based routing to distribute database write traffic between the primary database instance and the read replica.
Answer
Deploy the database as an Amazon RDS Multi-AZ DB cluster with one writer and two readable standby DB instances, and configure the application to route write queries to the cluster endpoint and read queries to the reader endpoint of the DB cluster.
Deploying an Amazon RDS Multi-AZ DB cluster provides a primary writer instance and two readable standby instances across three Availability Zones, ensuring automatic failover under 2 minutes and zero data loss (RPO of 0) via semi-synchronous replication. The application can scale reads horizontally by routing queries to the reader endpoint, which load-balances the traffic among the standby instances, while routing writes to the cluster endpoint.
Step-by-Step Solution
Key Concept
Amazon RDS Multi-AZ DB cluster configurations for high availability and horizontal read scaling.