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: and . 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 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.)
- Create a primary Amazon DynamoDB table in one Region and enable DynamoDB Streams with the "New and Old Images" setting.Answer
- Add a replica table in the secondary AWS Region to convert the existing table into a DynamoDB global table.Answer
- CConfigure an Amazon Aurora Global Database and route write requests to the local reader endpoints in both Regions.
- DDeploy 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.
- EUse Amazon Route 53 latency routing policies to direct database traffic to independent, single-AZ RDS instances deployed in both Regions.
Answer
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.
Step-by-Step Solution
Key Concept
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.