DynamoDB - Access Patterns and Query Optimization
You have a DynamoDB table with partition key 'CustomerId' and sort key 'InvoiceDate'. Your app needs to query invoices by customer within a date range and also retrieve invoices by their status. How should you approach identifying access patterns and designing the table?
