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

You maintain a Cosmos DB container named 'orders' partitioned by /customerId. A reporting dashboard runs the query SELECT VALUE MAX(c.orderTotal) FROM c to display the single largest order value across all customers. The dashboard runs this query once every few seconds and RU consumption has become a concern. Which approach reduces the RU cost of repeatedly obtaining this value most effectively?

Reviewed for accuracy · Report an issueNext question