An e-commerce company is migrating its ordering database to AWS and requires a resilient design using Amazon RDS for PostgreSQL. The database must survive an Availability Zone (AZ) outage with a Recovery Time Objective (RTO) of under 60 seconds, and it must support horizontal read scaling for search queries within the same AWS Region. Which configuration meets these requirements with the lowest operational overhead?
- ADeploy a Single-AZ DB instance and create an asynchronous Read Replica in a different Availability Zone, configuring the application to promote the replica during an outage.
- Deploy a Multi-AZ DB cluster with one primary and two readable standby DB instances.Answer
- CDeploy a Multi-AZ DB instance deployment, and configure Route 53 latency-based routing to load balance write operations across a replica in another AWS Region.
- DDeploy a Single-AZ DB instance, and configure a warm standby DB instance in a separate Availability Zone that is synchronized daily using Amazon RDS snapshots.
Answer
Deploy a Multi-AZ DB cluster with one primary and two readable standby DB instances.
The correct configuration is a Multi-AZ DB cluster with one primary and two readable standby DB instances. This option provides high availability by automatically failing over in less than 35 seconds, which satisfies the RTO requirement. It also natively supports horizontal read scaling because both standby DB instances can accept read requests through the reader endpoint.
Step-by-Step Solution
Key Concept
Amazon RDS Multi-AZ DB clusters combine high availability (automated failover) and read scalability by deploying a primary and two readable standby instances across three Availability Zones.
Estimated Time:2m 0s