Course menuDOP-C02

Exams / DOP-C02 / Multi-AZ and multi-Region high availability / Question 2

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.

Last verified against current AWS documentation ·How we write our questions

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.

  1. A. 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.
  2. B. 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.
  3. C. 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.
  4. D. 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.
Show the answer and explanation

Answer: A

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.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

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