Course menuDOP-C02

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

DOP-C02 practice question: Multi-AZ and multi-Region high availability (1 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 regional bank runs its core ledger on an Amazon Aurora PostgreSQL cluster in us-east-1, with a writer and two readers spread across three Availability Zones. The cluster already survives the loss of a single Availability Zone without manual work.

A new regulator requires a second Region that can take over the ledger after a regional outage, with a recovery point objective of about one second. The bank also needs to rehearse the failover in production-like conditions every quarter, without losing committed transactions.

Application servers must keep writing through one database endpoint per Region, and the bank wants minimal changes to the application code.

Which approach meets these requirements?

Choose one answer.

  1. A. Copy the cluster's snapshots to the second Region every hour with AWS Backup, and after a regional outage restore a new cluster from the latest copy and point the application at it.
  2. B. Enable Multi-AZ for the cluster in a second Region, so that the standby instances in that Region receive synchronous replication and take over automatically during a regional outage.
  3. C. Add a secondary Region to an Aurora global database, use a global database switchover for the quarterly rehearsals, and fail over to the secondary Region during an outage.
  4. D. Replace the ledger with an Amazon DynamoDB global table, and point each Region's application servers at the local replica, so that the table replicates writes across Regions automatically.
Show the answer and explanation

Answer: C

Explanation

An Aurora global database extends the cluster to a secondary Region with replication lag typically under a second, so a regional outage can be recovered with a cross-Region failover. A switchover, formerly called managed planned failover, lets the bank rehearse without losing committed data. Snapshot copies, Multi-AZ and DynamoDB global tables each miss the recovery point, the Region or the minimal-change requirement.

An Aurora global database across two Regions In the primary Region, the application writes to the primary Aurora cluster. Storage-level replication copies the data to a read-only secondary cluster in another Region, usually within about a second. In a failover the secondary is promoted and the application runs there. Primary Region Secondary Region Application writes here Application off or scaled down Primary cluster reads and writes Secondary cluster promote on failover storage replication, usually about 1 second
A switchover moves the writer with no data loss for planned rehearsals, and a failover promotes the secondary during an outage.

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