DOP-C02 practice question: Multi-AZ and multi-Region high availability (2 of 3)
Resilient Cloud Solutions A free question from our original DOP-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A hospital runs its patient-record reporting database on Amazon RDS for PostgreSQL in one Region, with the application servers in the same VPC. The database currently has a single instance in one Availability Zone.
If the Availability Zone fails, the hospital needs the database to fail over automatically within minutes, with no loss of committed transactions. The clinical applications connect with the database's existing endpoint, and the team cannot change their connection strings.
The hospital does not need cross-Region recovery for this database, and it wants the lowest operational effort.
Which change meets these requirements?
Choose one answer.
AA. Convert the instance to a Multi-AZ DB instance deployment, with a synchronous standby in another Availability Zone and automatic failover under the same endpoint.
BB. Create a read replica in another Availability Zone, and have the team change the connection string to the replica's endpoint whenever the primary becomes unavailable.
CC. Create a cross-Region read replica in another Region, and promote it manually after an Availability Zone failure so that the application gets a new database endpoint.
DD. Take a snapshot every hour, and restore a new instance from the most recent snapshot in another Availability Zone after a failure, then update the application connection strings.
D. Wrong: Restoring from a snapshot takes a long time and loses everything since the last snapshot. It also requires connection string changes, which the team cannot make. Learn more: What is AWS Backup? (opens in a new tab)
Explanation
A Multi-AZ DB instance deployment uses a synchronous standby in another Availability Zone and fails over automatically under the same endpoint, so the hospital needs no application changes. Read replicas, cross-Region replicas and snapshot restores each require endpoint changes or manual work, and asynchronous copies can lose recent transactions.
Want more on Multi-AZ and multi-Region high availability? The 5 full-length practice sets have 13 more Multi-AZ and multi-Region high availability questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →