Question 200
An Event Grid document-approved event must invoke an Azure Function without writing a custom polling loop. Which engineering change is the most direct response to the stated failure and constraint?
Explanation
Correct Answer
This remedy fits the observed case: An Event Grid document-approved event must invoke an Azure Function without writing a custom polling loop. Use an Event Grid trigger with a correctly configured event subscription endpoint. The underlying issue is Polling does not subscribe to Event Grid's push delivery mechanism. Direct acceptance evidence is A validated event delivery invokes the function with the expected event body.
Incorrect Answers
A queue trigger cannot express the required fixed schedule on idle days. This is a separate requirement; the current case instead hinges on: Polling does not subscribe to Event Grid's push delivery mechanism. The matching answer is: Use an Event Grid trigger with a correctly configured event subscription endpoint.
The alternative addresses: The handler has no configured storage binding or retrieval logic for the input object. The reported constraint here is different: Polling does not subscribe to Event Grid's push delivery mechanism. The case-specific choice is: Use an Event Grid trigger with a correctly configured event subscription endpoint.
Ordinary function invocations do not provide durable orchestration state across failures. By contrast, the relevant technical condition here is: Polling does not subscribe to Event Grid's push delivery mechanism. The appropriate selection is: Use an Event Grid trigger with a correctly configured event subscription endpoint.