A media streaming platform stores user playback state and profile metadata. The application requires a database that can handle over writes per second of small () items. The database must provide sub-millisecond read latency for active sessions. The platform is deployed in both the `us-east-1` and `eu-west-3` regions, and users in both regions must be able to read and write to their local region with minimal latency.
Which combination of database strategies should a solutions architect recommend to meet these performance requirements? (Select TWO.)
- Configure Amazon DynamoDB global tables with replicas in us-east-1 and eu-west-3.Answer
- Design the database table using a combination of UserID and SessionID as the partition key.Answer
- CDesign the database table using the playback timestamp as the partition key to ensure sequential sorting.
- DDeploy an Amazon RDS for MySQL Multi-AZ database in us-east-1 and set up a cross-region read replica in eu-west-3 to process local writes.
- EDeploy a single-region Amazon DynamoDB table in us-east-1 and configure Amazon ElastiCache replication groups to synchronize writes to eu-west-3.
Answer
The correct strategies are to configure Amazon DynamoDB global tables with replicas in us-east-1 and eu-west-3, and to design the database table using a combination of UserID and SessionID as the partition key.
The correct approach uses Amazon DynamoDB global tables to handle multi-region, active-active low-latency reads and writes, combined with a high-cardinality partition key (UserID and SessionID) to distribute writes evenly across partitions and avoid hot partition bottlenecks.
Step-by-Step Solution
Key Concept
Designing high-performing, multi-region database architectures using Amazon DynamoDB global tables and proper partition key design to prevent hot partitions.