Identifying Prompt Engineering Techniques in Azure OpenAI

Answer Correct answer: D — Priming is the technique where a system message sets the context, role, and expected tone for the AI assistant's responses.

You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-3.5 Turbo model named Model1. You configure Model1 to use the following system message: “You are an AI assistant that helps people solve mathematical puzzles. Explain your answers as if the request is by a 4-year-old.” Which type of prompt engineering technique is this an example of?

  1. few-shot learning
  2. affordance
  3. chain of thought
  4. priming Correct Answer

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The core concept tested is the definition of priming versus other techniques like few-shot learning or chain-of-thought, with the common trap being the confusion between setting a role (priming) and requesting step-by-step reasoning (chain-of-thought).

This question tests the ability to distinguish between prompt engineering techniques by analyzing a system message that sets a specific persona and tone. It establishes that providing context and role instructions is classified as priming.

Many learners incorrectly select 'Chain of thought' because the prompt asks for an explanation, but this technique specifically requires explicit instruction to reason step-by-step, whereas the given prompt only sets the output style/audience.

Community Discussion (13 comments)

River06 👍 14 Selected: D
Priming is utilised in this example because it involves setting up the context or role of the AI model explicitly in a system message. It instructs the model about its role (“You are an AI assistant that helps people solve mathematical puzzles.") and also provides directions about how it should respond ("Explain your answers as if the requestor is a 4-year-old."). This essentially 'primes' the model for the conversation, as it lets the model know the expected behavior and persona that it needs to take on throughout the dialogue.
eskimolight 👍 6
Exam Question June 2024
syupwsh 👍 1 Selected: D
Priming is CORRECT because it involves setting up the model with specific instructions or context in the system message to guide its responses. In this case, the system message instructs the model to explain mathematical puzzles as if the request is by a 4-year-old, which is a clear example of priming. D it is
HaraTadahisa 👍 2 Selected: D
I say this answer is D.
nanaw770 👍 2 Selected: D
D is correct answer.
demonite 👍 1
C is the answer : to explain it step by step Not priming, that manipulates the output
taiwan_is_not_china 👍 1 Selected: A
A. few-shot learning is right answer.
Eskape 👍 2
A is the answer. A common way to adapt language models to new tasks is to use few-shot learning. In few-shot learning, a set of training examples is provided as part of the prompt to give additional context to the model. When using the Chat Completions API, a series of messages between the User and Assistant (written in the new prompt format), can serve as examples for few-shot learning. These examples can be used to prime the model to "respond in a certain way, emulate particular behaviors", and seed answers to common questions.
bugimachi 👍 3 Selected: C
I'd go with "chain of thoughts", since it's about explaining the answers. Priming is a different story: "This refers to including a few words or phrases at the end of the prompt to obtain a model response that follows the desired form. For example, using a cue such as “Here’s a bulleted list of key points:\n- ” can help make sure the output is formatted as a list of bullet points." ...that's not the case here! https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/advanced-prompt-engineering?pivots=programming-language-chat-completions#prime-the-output
shorymor 👍 3 Selected: D
Priming is the answer https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/advanced-prompt-engineering?pivots=programming-language-chat-completions#system-message
chandiochan 👍 1 Selected: D
Must be priming, here we setting the role for the AI model
warrior1234 👍 2
D. Priming Priming involves providing context or instructions to the model before it generates a response. In this case, the system message is priming the GPT-3.5 Turbo model by setting the expectation that it should provide explanations in a way that is understandable to a 4-year-old. This technique helps guide the model's behavior and output based on the given context or instruction.
Harry300 👍 1 Selected: C
chain of thought. Try it on OpenAI. It explains step by step for a formular like 7+5*3+8

Comments & Corrections

No comments 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.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The correct answer is D, Priming. In the context of Azure OpenAI and LLMs, priming involves providing initial context, instructions, or a persona to guide the model's behavior before it generates a response. The system message explicitly defines the AI's role ('AI assistant') and the desired output style ('explain... as if the request is by a 4-year-old'). This sets the expectation and 'primes' the model to adopt that specific tone and perspective.

Why the Other Options Are Wrong

Option A, Few-shot learning, is incorrect because it requires providing specific input-output examples within the prompt to teach the model a new task or format, which is not present here. Option C, Chain of thought, is incorrect because while the user asks for an explanation, there is no explicit instruction for the model to break down its reasoning process step-by-step (e.g., 'Let's think step by step'), which is the hallmark of CoT. Option B, Affordance, is not a standard prompt engineering technique in this context.

Community Comment Notes

The community consensus strongly favors D. As user River06 noted, priming is utilized because it involves setting up the context or role explicitly. User shorymor confirmed this by referencing Microsoft's official documentation on advanced prompt engineering. Some users like bugimachi and demonite argued for Chain of Thought, confusing the request for an explanation with the specific technical requirement of step-by-step reasoning instructions.

Official Reference

Exam Strategy

When you see a system message defining a persona, tone, or general behavior without providing examples or explicit step-by-step reasoning instructions, classify it as Priming. Reserve Chain of Thought for prompts that explicitly ask the model to show its work or reason through steps.

Frequently Asked Questions

What is the difference between priming and chain of thought?

Priming sets the overall context, persona, or tone (e.g., 'act as a teacher'). Chain of thought explicitly instructs the model to break down its reasoning step-by-step to solve complex problems.

Is asking for an explanation always chain of thought?

No. Asking for an explanation with a specific audience constraint (like 'explain to a 4-year-old') is priming. Chain of thought requires explicit instructions to show the logical steps taken.

Related Analysis

← Back to AI-102 Study Guide