Interview practice question
New query pattern in DynamoDB
Backend Engineering · NoSQL and Redis · Intermediate
A product manager wants to list all orders with status "pending" across all customers, but your DynamoDB table is keyed by customer. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Avoid full table Scan.
- Add GSI on status (+ created_at).
- Watch hot partition on low-cardinality status.
- Sparse index (only pending items).
- Or stream to search/analytics store.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.