🔥 3-day streak
AWS Certified Data Engineer - Associate21 / 159
Question 21 of 159

A retail company stores order records in a DynamoDB table using OrderId as the partition key. Business analysts increasingly need to query orders by CustomerId and by OrderStatus, but these attributes are not part of the table's primary key. The queries must return results with low latency and must not require scanning the entire table. What is the MOST appropriate way to enable these access patterns?

Reviewed for accuracy · Report an issueNext question