🔥 3-day streak
AWS Certified Developer - Associate50 / 150
Question 50 of 150
A developer built a reporting feature that repeatedly retrieves all orders for a specific customer from a DynamoDB table. The table's partition key is OrderId and it has no secondary indexes. The feature currently uses a Scan operation with a FilterExpression on CustomerId, and users report that the report takes several seconds and consumes a large amount of read capacity as the table grows. What is the most effective way to reduce both latency and read consumption?
Reviewed for accuracy · Report an issueNext question