Exam AI-103 Topic 1 Question 98 Discussion
Actual exam question for Microsoft's AI-103 exam
Question #: 98
Topic #: 1
Question #: 98
Topic #: 1
You have a web app named App1 that sends requests to a multimodal chat model deployment in a Microsoft Foundry project. User messages can contain both text and images. Currently, App1 includes image URLs as plain text inside the message content, so the model cannot recognize them as images. You need to send the message as a structured array that includes both the text portion and the image reference.
Suggested Answer: B Vote an answer
A vision-enabled Chat Completions request must represent the user message as a multimodal content array.
One item contains the prompt with " type " : " text " , while another contains the image reference with " type ": " image_url " and an image_url.url property:
" content " : [
{ " type " : " text " , " text " : " Analyze this image. " },
{ " type " : " image_url " , " image_url " : { " url " : " < image-url > " }}
]
This structure explicitly identifies each modality, allowing the deployed model to route the text and image through the appropriate processing paths. A URL embedded in an ordinary string remains text and is not interpreted as visual input. Microsoft's documented Chat Completions schema shows the text and image objects inside the user message's content array.
Request metadata does not define model input, and a system message should contain behavioral instructions rather than the user's image attachment. Base64 images are supported, but the encoded value must be formatted as a data URL and supplied through the structured image item-not inserted into a plain content string.
Study Guide alignment: deploy and consume multimodal models, integrate generative workflows into applications, and design multimodal-understanding workflows .
One item contains the prompt with " type " : " text " , while another contains the image reference with " type ": " image_url " and an image_url.url property:
" content " : [
{ " type " : " text " , " text " : " Analyze this image. " },
{ " type " : " image_url " , " image_url " : { " url " : " < image-url > " }}
]
This structure explicitly identifies each modality, allowing the deployed model to route the text and image through the appropriate processing paths. A URL embedded in an ordinary string remains text and is not interpreted as visual input. Microsoft's documented Chat Completions schema shows the text and image objects inside the user message's content array.
Request metadata does not define model input, and a system message should contain behavioral instructions rather than the user's image attachment. Base64 images are supported, but the encoded value must be formatted as a data URL and supplied through the structured image item-not inserted into a plain content string.
Study Guide alignment: deploy and consume multimodal models, integrate generative workflows into applications, and design multimodal-understanding workflows .
by Dominic at Oct 11, 2026, 07:35 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).