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

You are building an inventory system on Azure Cosmos DB for NoSQL. A container named 'inventory' is partitioned by '/warehouseId'. You need to atomically decrement the stock count on multiple item documents that all belong to the same warehouse, and insert an audit-log document, all in a single transaction. You decide to use a server-side stored procedure. What is the most important constraint you must account for when invoking this stored procedure?

Reviewed for accuracy · Report an issueNext question