Course menuAI-901

Exams / AI-901 / Vision and image generation apps / Question 3

AI-901 practice question: Vision and image generation apps (3 of 4)

Implement AI solutions by using Microsoft Foundry A free question from our original AI-901 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current Microsoft Learn ·How we write our questions

A boutique hotel wants a chat assistant that looks at a photo a guest uploads, such as a stain on a carpet, and describes what it sees. Staff also want it to answer questions such as where the damage is. The hotel does not need any new pictures created.

Which approach should the developer use?

Choose one answer.

  1. A. Text-to-image model called with the guest's photo as the prompt, so it generates a matching picture
  2. B. Document Intelligence prebuilt-read model, which extracts the text lines from the photo
  3. C. Send the photo as an image input to a multimodal chat model deployment, with the question as text
  4. D. Azure Vision image tagging, which returns labels for the objects found in the photo
Show the answer and explanation

Answer: C

  • A. Wrong: Text-to-image models generate new pictures from words, which is output the hotel does not want. They do not describe an uploaded photo or answer questions about it.
  • B. Wrong: The read model extracts text from documents. A photo of a stain has no words to read, so it cannot say where the damage is.
  • C. Right: Correct. Multimodal chat models accept images along with text, so the assistant can describe the photo and answer questions about it. The developer sends the image in the request with the question. Learn more: Lab: Computer vision (opens in a new tab)
  • D. Wrong: Image tagging returns labels such as carpet or floor for an existing photo. It cannot hold a conversation or answer a guest's follow-up question about where the damage is.

Explanation

Describing and answering questions about a photo is a multimodal model task, where the image goes in as an input alongside the question. Image generation creates new pictures, and tagging and document text extraction return labels or text without answering questions.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Vision and image generation apps? The 5 full-length practice sets have 20 more Vision and image generation apps questions, 225 in all, none of them in the free exam. One payment of $9.99 $6.99, no subscription. Get the practice sets

Every exam starts with free questions. No account needed.