All practice questions
1542 questions
A developer is building a high-throughput IoT logging application that writes status messages to an Amazon DynamoDB table. The write volume is approximately writes per second. The table is configured with provisioned Write Capacity Units (WCUs). The primary key of the table is configured with `LogDate` (formatted as YYYY-MM-DD) as the partition key and `LogTimestamp` as the sort key. During peak hours, the application receives a high volume of `ProvisionedThroughputExceededException` errors.
Which action should the developer take to resolve the write throttling issue?
A developer is building a retail application that stores customer order histories in an Amazon DynamoDB table. The base table uses `OrderID` as the partition key. The application needs to support the following two query patterns efficiently:
- Retrieve all orders placed by a specific customer (`CustomerID`) sorted by the order date (`OrderDate`).
- Retrieve all orders that are currently in a `PENDING` status to process them in batches.
Which two database design strategies should the developer implement to meet these requirements with minimal latency and capacity consumption? (Select TWO.)
Select all that apply