An Azure Function must process every document inserted into Cosmos DB. Which trigger is most appropriate?
- A HTTP trigger with polling
- B Cosmos DB trigger (change feed) (correct answer)
- C Timer trigger with SDK query
- D Service Bus trigger
Shortcut: The Cosmos DB trigger uses the change feed to invoke the function on every new/updated document. It handles checkpointing and parallel processing automatically.