A financial technology company runs a real-time ledger application that processes high-frequency ledger entries. The transaction volume peaks at write operations per second. The application uses an Amazon DynamoDB table with a partition key of `AccountID` (UUID) and a sort key of `TransactionTimestamp`. During peak trading hours, transactions for a few high-volume institutional accounts are throttled with `ProvisionedThroughputExceededException` errors, even though the table's total read and write capacities are scaled using on-demand mode. The application requires consistent sub-second write response times and must retrieve transactions for any account sorted chronologically. Which database optimization strategy should a solutions architect recommend to resolve the throttling issue while meeting the performance requirements?
- ADeploy an Amazon DynamoDB Accelerator (DAX) cluster to cache the transactions, and configure the application to write all transactions through the DAX endpoint.
- BCreate a Global Secondary Index (GSI) with a partition key of `TransactionTimestamp` and a sort key of `AccountID`, and configure the application to write transactions directly to the GSI.
- Implement write sharding by appending a random integer suffix from to to the `AccountID` during writes, and query all sharded partitions in parallel using the application layer to merge the results.Cevap
- DConvert the table to a global table and replicate it across multiple AWS regions, using latency-based routing to distribute the write operations across the regional endpoints.