An accounting application named LedgerSync records daily business transactions into an Amazon DynamoDB table. The table is configured with a partition key of `TransactionDate` (formatted as `YYYY-MM-DD`) and a sort key of `TransactionId`. The table is provisioned with Write Capacity Units (WCUs). During end-of-month reconciliation, batch processing writes hundreds of thousands of transactions for the same calendar date within a 10-minute window. Even though the total write request rate is well below the table's overall provisioned WCUs, the application repeatedly encounters `ProvisionedThroughputExceededException` errors. Which of the following approaches is the most effective way to resolve this throughput issue while maintaining cost efficiency?
- Redesign the partition key schema by appending a calculated or random suffix to the date, distributing the write load across multiple logical partitions, and adjust queries to target those partitioned keys.Cevap
- BIncrease the overall Provisioned Write Capacity Units (WCUs) of the DynamoDB table to during the reconciliation window to scale partition capacity limits.
- CModify the application logic to use DynamoDB Scan operations instead of Query operations to retrieve transaction records in parallel during reconciliation.
- DIncrease the visibility timeout of the Amazon SQS queue that buffers the incoming transaction writes to allow consumers more time to execute writes to the DynamoDB table.