A media streaming company is designing a global application and needs to store user profiles in Amazon DynamoDB. The application must run in an active-active configuration across two AWS Regions: us-east-1 and us-west-2. The database configuration must support local read and write operations in both Regions, maintain replica synchronization with a Recovery Point Objective (RPO) of less than 1 second, and provide a Recovery Time Objective (RTO) of near zero. Which database configuration should a solutions architect recommend to meet these requirements?
- Create an Amazon DynamoDB global table replica in both us-east-1 and us-west-2.Answer
- BCreate a DynamoDB table in us-east-1, configure a Global Secondary Index (GSI) targeting us-west-2, and enable DynamoDB Streams to replicate write operations.
- CDeploy a DynamoDB table in us-east-1, configure an AWS Lambda function triggered by DynamoDB Streams to write updates to a DynamoDB table in us-west-2, and use Route 53 latency routing to distribute writes.
- DConfigure a DynamoDB table in us-east-1, schedule an AWS Backup job to copy table backups to us-west-2 every 15 minutes, and deploy a warm standby table in us-west-2.
Answer
Create an Amazon DynamoDB global table replica in both us-east-1 and us-west-2.
Creating an Amazon DynamoDB global table replica in both target regions provides a fully managed, active-active multi-region configuration. It automatically replicates changes across regions, delivering local read and write performance with near-zero RTO and an RPO of under one second.
Step-by-Step Solution
Key Concept
DynamoDB Global Tables for Multi-Region Active-Active High Availability
Estimated Time:1m 30s