Courseiva
Implement generative AI solutionseasyMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You are using Azure OpenAI Service to summarize customer emails. The summaries must be concise and contain only key information. Which prompt engineering technique should you apply?

⚠ Common exam trap

Watch out — candidates often assume a simple instruction (zero-shot) is sufficient for summarization, underestimating how much the model relies on explicit examples to enforce output structure and conciseness, especially when the task requires domain-specific key information extraction.

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

Use few-shot prompting with examples of desired summaries

Few-shot prompting is the correct technique because it provides the model with explicit examples of desired input-output pairs (e.g., a verbose email and its concise summary). This guides the model to learn the exact format, tone, and level of detail required for the summaries, which is critical for consistency in a production summarization pipeline. Without examples, the model may default to its training distribution and produce overly verbose or irrelevant output.

Answer analysis

Option-by-option breakdown

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

  • Use few-shot prompting with examples of desired summaries

    Why this is correct

    Few-shot examples guide the model to produce concise summaries.

  • Use chain-of-thought prompting

    Why it's wrong here

    Chain-of-thought is for reasoning, not for summarization.

  • Use zero-shot prompting with a one-sentence instruction

    Why it's wrong here

    Zero-shot may produce inconsistent summaries.

  • Use negative prompting to avoid verbose output

    Why it's wrong here

    Negative prompting is less reliable than positive examples.

About these practice questions

This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.