Question 30
A cloud developer must resolve: A single HTTP-triggered embedding function exceeds its execution timeout while processing a 200-page PDF. Which implementation step best meets the stated requirement?
Explanation
Correct Answer
Convert long processing to queue-based asynchronous work with an immediate accepted response. The scenario specifically states: A single HTTP-triggered embedding function exceeds its execution timeout while processing a 200-page PDF. Azure Functions hosting plans enforce documented execution timeout limits and HTTP gateway timeouts. This change targets the named service and constraints rather than a different workflow. Validate the result by checking The API returns a job ID quickly and a background worker completes the document processing. The important remaining qualification is: Increasing functionTimeout alone cannot remove all HTTP front-end timeout limits.
Incorrect Answers
Azure Functions trigger health and invocation logs reveal trigger-specific listener failures not seen through HTTP health checks. That addresses a different mechanism; this question turns on Convert long processing to queue-based asynchronous work with an.
Azure Queue triggers have retry and poison-message behavior under configured limits. That observation may hold without resolving the relevant issue: Convert long processing to queue-based asynchronous work with an.
An HTTP-triggered Azure Function needs a suitable authentication/authorization model for the intended clients. It does not verify the requested outcome; here the decisive check concerns Convert long processing to queue-based asynchronous work with an.