Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

AI-200 practice questions: consume azure services

“Connect to and consume Azure services” is about 23% of the AI-200 exam. Try a question below.

Ten free questions a day, no card. Full access to every exam is one pass: $29.99 a year.

Try one

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.

Choose 3 answers.

  1. Add an @app.blob_output binding with a path in a results container.
  2. Decorate the function with @app.service_bus_queue_trigger for document-jobs.
  3. Decorate the function with @app.queue_trigger for document-jobs.
  4. Create the DocumentIntelligenceClient at module level, outside the handler.
  5. Upload the results with a BlobServiceClient created in the handler.
  6. Create the DocumentIntelligenceClient inside the handler on each call.
See answers explained in the sample test, no account

Ten questions a day gets you there.

Start free