A financial technology enterprise is designing a global transaction ledger application. The system must process high-frequency writes (over transactions per second at peak) with sub--millisecond latency. Users in North America, Europe, and Asia must be able to query their local transaction history with sub--millisecond latency. The database must also support transactional ACID properties across multiple records. Which two solutions should the solutions architect implement to meet these high-performance database requirements? (Select TWO).
- Configure Amazon DynamoDB Global Tables with a partition key design that combines a high-cardinality customer identifier with a random suffix to distribute write traffic evenly across physical partitions.Answer
- Implement DynamoDB Transactions to execute ACID-compliant updates across multiple items, ensuring consistency and single-digit millisecond performance for ledger updates.Answer
- CConfigure Amazon DynamoDB Global Tables using a partition key based on a monotonically increasing timestamp to ensure chronological sorting of transaction records within each partition.
- DDeploy Amazon RDS Multi-AZ DB clusters across regions and create Read Replicas, configuring the application to route write traffic to the nearest Read Replica to maintain write availability.
Answer
The correct solutions are to configure Amazon DynamoDB Global Tables using a sharded partition key design that combines a customer identifier with a random suffix, and to implement DynamoDB Transactions to handle ACID-compliant multi-record updates.
The correct configuration uses Amazon DynamoDB Global Tables to achieve active-active multi-region replication with sub-10-millisecond latency. To handle the scale of writes per second, the partition key must be designed with high cardinality (such as a customer identifier with a random suffix) to distribute the workload evenly across physical partitions and avoid write bottlenecks. Additionally, DynamoDB Transactions satisfies the transactional ACID requirements with low latency.
Step-by-Step Solution
Key Concept
Amazon DynamoDB Global Tables combined with write sharding and DynamoDB Transactions allows global, active-active scale with low latency and transaction consistency.
Estimated Time:3m 0s