Soru

Zorluk: OrtaResilient Database Configurations and High Availability

A software-as-a-service (SaaS) company is building a real-time collaborative whiteboarding application. The application requires a database to store user session states across two AWS Regions: uswest2us-west-2 and eucentral1eu-central-1. The architecture must support active-active writes in both Regions to ensure sub-millisecond write latencies for local users. The database must automatically replicate data bi-directionally with a Recovery Point Objective (RPO) of less than 11 second and a recovery time objective (RTO) of near zero during a regional outage. Which combination of configurations must a solutions architect implement to achieve this resilient database architecture? (Select TWO.)

  1. Create a primary Amazon DynamoDB table in one Region and enable DynamoDB Streams with the "New and Old Images" setting.Cevap
  2. Add a replica table in the secondary AWS Region to convert the existing table into a DynamoDB global table.Cevap
  3. C
    Configure an Amazon Aurora Global Database and route write requests to the local reader endpoints in both Regions.
  4. D
    Deploy an Amazon RDS for PostgreSQL database with a cross-Region read replica and implement Route 53 latency-based routing to distribute writes across both databases.
  5. E
    Use Amazon Route 53 latency routing policies to direct database traffic to independent, single-AZ RDS instances deployed in both Regions.

Cevap

The correct configurations are enabling DynamoDB Streams with New and Old Images on the primary table and adding a replica table in the secondary Region.
To achieve an active-active, multi-region architecture with sub-second bi-directional replication and sub-millisecond write latencies, Amazon DynamoDB global tables should be used. The solutions architect must first enable DynamoDB Streams with New and Old Images on the primary table, then add the replica table in the secondary Region.

Adım Adım Çözüm

1
Analyze the requirements for active-active multi-region write access, sub-millisecond latency, and low RTO/RPO.
Identify that a multi-region active-active database engine is required, which rules out Amazon RDS and standard Amazon Aurora configurations since they use active-passive write architectures.
This narrows down the database solution to Amazon DynamoDB global tables, which natively support active-active configurations across multiple Regions.
2
Identify the prerequisite configurations to deploy Amazon DynamoDB global tables.
DynamoDB Streams with the New and Old Images setting must be enabled on the primary table before replica tables can be added.
DynamoDB uses the stream to track and replicate data changes across Regions to maintain consistency.
3
Select the configuration step that completes the creation of the global table.
Add a replica table in the secondary Region (eu-central-1).
This establishes bi-directional replication between the two Regions, allowing local reads and writes.

Anahtar Kavram

Amazon DynamoDB global tables provide a fully managed, multi-region, active-active database solution that replicates data with low latency, meeting high availability and resilient disaster recovery requirements.
Bu soruyu puanla