Question

Difficulty: HardAWS Global Infrastructure

A media enterprise is designing a highly resilient database architecture on AWS. The system must meet two requirements:
1. Achieve high availability with synchronous replication to prevent data loss in the event of a single data center outage.
2. Provide disaster recovery capabilities that can survive a complete regional disaster.

Which deployment strategy best satisfies these requirements while minimizing write latency for the primary database?

  1. Deploy the primary database and its synchronous standby replica across multiple Availability Zones within a single AWS Region, and configure asynchronous replication to a secondary database in a different AWS Region.Answer
  2. B
    Deploy the primary database and its synchronous replica in two different AWS Regions, and use Edge Locations to cache write operations to reduce latency.
  3. C
    Deploy the primary database in a single Availability Zone, and set up synchronous replication to an Edge Location within the same Region to handle failover.
  4. D
    Deploy the primary database and its standby replica in a single Availability Zone to eliminate network latency, and configure synchronous replication to a Local Zone in a different country.

Answer

Deploy the primary database and its synchronous standby replica across multiple Availability Zones within a single AWS Region, and configure asynchronous replication to a secondary database in a different AWS Region.
Deploying the primary database and its standby replica across multiple Availability Zones within a single AWS Region ensures high availability. Since Availability Zones are physically isolated but connected via low-latency, redundant fiber-optic networks, synchronous replication is supported with minimal impact on write latency. To survive a regional disaster, data must be replicated to a different AWS Region. Because of the latency introduced by geographic distance, this replication must be asynchronous to avoid slowing down writes on the the primary database.

Step-by-Step Solution

1
Evaluate the requirement for high availability and synchronous replication to survive a single data center outage.
Identify that Availability Zones (AZs) within a single AWS Region are physically isolated but connected by low-latency networks, making them the correct choice for synchronous replication.
Synchronous replication requires low network latency (typically sub-millisecond to few milliseconds) to avoid delaying application writes.
2
Evaluate the requirement to survive a complete regional disaster.
Identify that surviving a regional disaster requires replicating data to a geographically separate AWS Region.
Since a regional disaster can affect all Availability Zones in that Region, data must reside in a completely different Region to ensure recovery.
3
Determine the correct replication method between the primary Region and the disaster recovery Region.
Select asynchronous replication for cross-region data transfer.
The geographical distance between AWS Regions introduces significant latency. Synchronous replication across Regions would cause unacceptable write latency on the primary database.

Key Concept

AWS Regions and Availability Zones replication characteristics
Rate this question