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

It's easy for candidates to confuse GPT-4's multimodal capabilities (which can analyze images but not generate them) with DALL-E's generative image creation, leading them to incorrectly select GPT-4 for image generation tasks.

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 Azure OpenAI model specifically designed for generating images from natural language descriptions. It uses a diffusion-based architecture to create high-quality, original images based on text prompts, making it the correct choice for generating an image of a cat wearing a hat.

Answer analysis

Option-by-option breakdown

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

  • Codex

    Why it's wrong here

    Codex is for code generation.

  • 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.

  • Whisper

    Why it's wrong here

    Whisper is for speech recognition.

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.