Microsoft Azure AI Engineer Associate AI-102 Practice Question

Your team is adding an Azure OpenAI GPT-4o model to a web app that lets users upload a JPEG and ask the model to describe the picture. You must deliver both the user's instruction and the image to the model in a single call. Which approach should you use?

  • Invoke the Create Image endpoint with the DALL-E model, placing the user prompt in the prompt field and the JPEG in an images parameter.

  • Call the Chat Completions endpoint and format the user message so its content is an array that includes a text block and an image_url block pointing to the JPEG.

  • Send the JPEG to the Azure AI Vision Read REST API first, then pass the extracted text to GPT-4o in a second Chat Completions call.

  • Use the Audio Transcriptions endpoint with multipart/form-data, attaching the JPEG file and the user prompt as separate form parts.

Microsoft Azure AI Engineer Associate AI-102
Implement generative AI solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot