Question 1 · choose 1
A gaming company is building a player profile service on Amazon DynamoDB in us-east-1 and eu-west-1. Players in each Region must write with single-digit millisecond latency to their nearest Region, and if one Region fails, the other must already have the data and keep accepting writes. The company accepts that the last write wins when the same item is changed in both Regions at once. Which solution meets these requirements?
- ACreate a DynamoDB global table with replicas in both Regions in multi-Region eventual consistency mode
- BCopy backups of the table to the other Region every hour with AWS Backup and restore them if a Region fails
- CWrite to a table in us-east-1 only and add DynamoDB Accelerator clusters in eu-west-1 for European players
- DMigrate the profiles to an Aurora global database with its primary cluster in us-east-1
Show the answer and why
ACreate a DynamoDB global table with replicas in both Regions in multi-Region eventual consistency mode
Correct
Global tables replicate writes between Regions in which every replica accepts reads and writes. In multi-Region eventual consistency mode, conflicting concurrent writes are resolved with last writer wins.
BCopy backups of the table to the other Region every hour with AWS Backup and restore them if a Region fails
Incorrect
Restored backups lose the changes made since the last backup and take time to restore, so the other Region would not already have the data.
CWrite to a table in us-east-1 only and add DynamoDB Accelerator clusters in eu-west-1 for European players
Incorrect
DAX is an in-memory cache for a table in its own Region. European writes would still travel to us-east-1, and nothing would take writes if that Region failed.
DMigrate the profiles to an Aurora global database with its primary cluster in us-east-1
Incorrect
An Aurora global database accepts writes in its primary Region. Players near the secondary Region would not get local writes.
Local writes in two Regions with last-writer-wins conflict handling is the default mode of DynamoDB global tables.
AWS documentation