A company is deploying a global gaming application that requires a multi-region, active-active database configuration. The database must allow users in both North America and Europe to perform local read and write operations with sub-millisecond latency. The data must be replicated bi-directionally across regions with a Recovery Point Objective (RPO) of less than 1 second. Which two database configuration steps should the solutions architect perform to meet these requirements?
- Create an Amazon DynamoDB table and enable DynamoDB Streams with the "New and old images" view type.Cevap
- Add the replica region to the DynamoDB table to automatically establish a DynamoDB global table.Cevap
- CDeploy an Amazon RDS PostgreSQL DB instance in Multi-AZ mode and configure cross-region read replicas to accept local write operations in both regions.
- DConfigure Route 53 latency-based routing to direct write requests to the nearest database endpoint and automatically synchronize writes across regions.
- EDeploy a warm standby database replica in the secondary region and set up a pilot light replication model to handle active-active traffic.
Cevap
To meet the requirements of active-active writes, low latency, and sub-second replication across multiple regions, you must configure Amazon DynamoDB global tables. This is achieved by creating a DynamoDB table, enabling DynamoDB Streams with the new and old images view type, and then adding the target replica region to the table configuration.
Establishing a global, active-active database configuration with sub-millisecond latency requires Amazon DynamoDB global tables. To configure global tables, a solutions architect must enable DynamoDB Streams with the new and old images view type on the source table and then add the replica regions. This configures managed bi-directional replication, allowing local reads and writes in all replica regions.
Adım Adım Çözüm
Anahtar Kavram
Amazon DynamoDB Global Tables