Microsoft AB-731 Prompt Engineering Components: Instructions vs Examples vs Context

AB-731 By islever Editorial Last updated

Identify the foundational concepts of generative AI Identify benefits and capabilities of Microsoft 365 Copilot and Microsoft Copilot

Short answer

The correct selections are Yes, No, and Yes. Instructions explicitly direct the model's action; examples are separate from the instruction section and serve as demonstrations; and context supplies necessary background information.

Question

HOTSPOT
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Exhibit: Microsoft AB-731 Prompt Engineering Components: Instructions vs

Key Takeaways

The main trap is conflating 'examples' with 'instructions'; examples demonstrate output patterns and are structurally distinct from the directive instruction.

Determine the validity of statements regarding prompt engineering components in Microsoft 365 Copilot. Instructions direct the model, examples are separate from instructions, and context provides background.

Common mistake: Learners often select 'Yes' for all three, mistakenly believing that examples are part of the instruction block rather than a separate structural element used for few-shot guidance.

Expert Analysis

This question tests the understanding of Prompt Engineering components within Microsoft's generative AI ecosystem, specifically how prompts are structured to guide Large Language Models (LLMs).

1. Instructions: The statement "Instructions tell the model what to do" is Yes. Instructions are the core directive in a prompt that explicitly defines the task, goal, or behavior expected from the model (e.g., 'Summarize this text' or 'Translate to French'). They form the primary command.

2. Examples: The statement "Examples belong to the instruction section" is No. In structured prompting (like few-shot learning), examples are distinct from instructions. They serve as demonstrations or context for the desired output format and style, placed separately to help the model generalize the pattern without confusing the directive itself.

3. Context: The statement "Context provides background information" is Yes. Context includes supplementary data, constraints, reference materials, or system parameters that inform the model's response but do not constitute the direct command. It grounds the instruction in specific reality.

The correct selections are: Yes, No, Yes. This aligns with Microsoft's documentation on prompt engineering best practices, which emphasizes separating directives (instructions) from supporting data (context/examples) to improve model accuracy and reduce hallucination.

Official Reference

https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/prompt-engineering

This link opens the official vendor documentation in a new tab.

Exam Strategy

When analyzing prompt structures in exam scenarios, mentally parse each component into its functional role: Command (Instruction), Demonstration (Example), or Support (Context). If a statement claims one component belongs inside another's definition, it is likely false unless referring to a monolithic raw string where boundaries are blurred, but conceptually they remain distinct categories.

Frequently Asked Questions

Why are examples not considered part of the instruction?

Examples serve as few-shot demonstrations to show the desired output format or reasoning pattern. They are structurally distinct from the instruction, which is the direct command telling the model what task to perform.

What is the difference between context and instructions?

Instructions are the explicit commands defining the task (e.g., 'Classify this email'). Context provides the supporting data, constraints, or background information the model needs to execute that instruction accurately.

More AB-731 FAQ →

Discussion 2 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 2

  1. omath 👍 4
    ✅ Yes This is the core purpose of prompt engineering: giving structured, explicit instructions to guide the model. ❌ No Examples belong to the examples or few‑shot section of a prompt. The instruction is the directive — what you want the model to do. ✅ Yes Context provides background, constraints, or reference information the model should rely on.
  2. praraj1978 👍 1
    Yes, No, Yes - Instructions are the directives that explicitly tell the AI what to do or how to behave

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to AB-731 Study Guide