Courseiva
Implement generative AI solutionseasyMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You need to generate an image of a cat wearing a hat using Azure OpenAI. Which model should you use?

⚠ Common exam trap

Candidates often confuse GPT-4's multimodal capabilities (which can analyze images but not generate them) with DALL-E's image generation role, or mistakenly think Whisper or Codex can handle image tasks due to their 'AI' branding.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

DALL-E

DALL-E is the correct model because it is specifically designed by OpenAI for generating images from text descriptions. Azure OpenAI Service hosts DALL-E, enabling you to create images like 'a cat wearing a hat' by providing a natural language prompt. Other models like Whisper, GPT-4, and Codex are optimized for speech recognition, text generation, and code generation respectively, not image synthesis.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Whisper

    Why it's wrong here

    Whisper is for speech recognition.

  • DALL-E

    Why this is correct

    DALL-E generates images from text descriptions.

  • GPT-4

    Why it's wrong here

    GPT-4 is a text model.

  • Codex

    Why it's wrong here

    Codex is for code generation.

About these practice questions

One of 945 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.