You are building a Python v2 function that processes document analysis jobs. Job messages arrive in an Azure Service Bus queue named document-jobs.
Requirements:
- The function must start when a job message arrives in
document-jobs. - The function must call Azure AI Document Intelligence to analyze each document.
- Document Intelligence client setup must not be repeated on every invocation.
- Results must be saved as JSON files in Blob Storage without writing Storage SDK client code.
Which three actions should you perform? Each correct answer presents part of the solution.
The Service Bus queue trigger starts the function for each job message, and a Blob Storage output binding saves results without Storage SDK code. Document Intelligence has no dedicated binding, so the function needs an SDK client. Creating that client at module level, outside the handler, avoids repeating the setup on every invocation. The wrong options fail different requirements: the wrong trigger source, client setup on every call, or Storage SDK code.