A clerk-office Azure Function must run whenever a new item is inserted into a Cosmos DB container. Which Functions trigger should the team select?
Select an answer to reveal the explanation.
Short Explanation
Cosmos got a new item? The Cosmos DB trigger (change feed under the hood) is the doorbell. One trigger, fire when documents appear—leave partition-key artistry for another day.
Full Explanation
Azure Functions offers a Cosmos DB trigger that delivers change-feed notifications so the function runs on inserts and updates. That choice is the Functions trigger skill; consistency models and custom change-feed processor hosting remain Domain 2 concerns. Timers, manual HTTP callbacks, and unrelated blob triggers are weaker substitutes for reacting to Cosmos writes.