🔥 3-day streak
Microsoft Azure Cosmos DB Developer Specialty (DP-420)49 / 104
Question 49 of 104

You maintain a Cosmos DB container for an e-commerce platform that stores orders, partitioned by /customerId. A reporting feature must return, for a single specified customer, the total amount spent per month. The query currently uses GROUP BY on month and executes across all partitions, consuming more RUs than expected. Which change will most effectively reduce the RU cost of this specific query?

Reviewed for accuracy · Report an issueNext question