Q1 Functions Domain 3 · 20–25% of exam

An Azure Function using the Cosmos DB trigger receives a batch of changed documents. How many function invocations occur per batch?

  1. A One per document
  2. B One per batch of documents (correct answer)
  3. C One per partition
  4. D Configurable via maxItemsPerInvocation

Shortcut: The Cosmos DB trigger passes a batch of changed documents (IReadOnlyList<Document>) to a single function invocation. maxItemsPerInvocation controls the maximum batch size.