AI-901 practice question 4 of 10
You have a Microsoft Foundry project that contains a vision-enabled model deployment. You use the Azure OpenAI Responses API to send a prompt to the…
Choose your answer, then check it against the explanation and the full breakdown below.
Question breakdown
Key idea: In the Responses API, an image sent for analysis is placed in the input content array as an item of type input_image.
How to reach the answer
- The clue is 'Responses API' plus 'provide an image for analysis', which means image input.
- Responses API content item types are prefixed by direction: input_text and input_image for requests, output_* for results.
- An image coming in for analysis is therefore input_image, carrying a URL or base64 data URL.
- image_generation is a tool for creating images, and output_image refers to output, so both are eliminated.
Each option
Common trap: image_base64 looks plausible because images are often sent as base64, but encoding is a payload detail, not the content item type.
In practice: When building multimodal apps with the Responses API, you combine an input_text prompt and an input_image item in one user message, for example to extract data from a photographed receipt.
Remember: In the Responses API, send images to the model as input_image content items.
Official documentation: Azure OpenAI Responses API
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free AI-901 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AI-901 practice questions
- Question 1You have a Microsoft Foundry project that contains a vision-enabled model deployment. You…
- Question 2You need to create an AI agent in Microsoft Foundry that follows a specific role and beha…
- Question 3You are using the Azure Speech SDK to develop a Python application that supports real-tim…
