Exam AI-901 Topic 1 Question 20 Discussion

Actual exam question for Microsoft's AI-901 exam
Question #: 20
Topic #: 1
You have a Microsoft Foundry project that contains a vision-enabled model deployment.
You need to develop an application that sends a message containing text and an image URL. The solution must ensure the quickest response time.
Which message structure should you include in the request?

Suggested Answer: D Vote an answer

For a vision-enabled model, Microsoft documentation shows that multimodal prompts can include both text and image content in the same user message content array. Azure OpenAI vision models accept multimodal image-and-text input and return natural language responses.
The correct request structure is a user message with a content array containing both items, for example:
{
"role": "user",
"content": [
{"type": "input_text", "text": "What is in this image?"},
{"type": "input_image", "image_url": image_url}
]
}
This avoids sending separate requests and is therefore the best choice for quickest response time.
A and C are incorrect because they send the text and image separately.
B is incorrect because the image/question should be sent as a user message, while system messages are used for instructions and behavior.

by Pearl at Sep 24, 2026, 12:20 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10