A team wants consistent output from a model: a three-part summary with fixed headings. Which prompt engineering technique helps most?
- Exam domain
- Identify the business value of generative AI solutions35–40% of the exam
- Difficulty
- Medium
- In this mock
- 19 questions on this domainPractise this domain
Why the exam asks this
Identify benefits and capabilities of generative AI solutions
Objective in the exam guide: Understand techniques of prompt engineering
Techniques make prompting repeatable across a team.
Why B is the answer
Giving an example of the expected output format in the prompt
Showing an example of the desired output (few-shot prompting) and stating the format clearly are core techniques for consistent structure.
Remember: Show an example of the output you want.
How it works
Prompt engineering techniques include clear instructions, examples, context and breaking tasks into steps.
In detail
- Examples guide format.
- Clear instructions beat emphasis.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Keeping the prompt as short as possible, with no detailWrong
Short prompts leave the format open.
B. Giving an example of the expected output format in the promptRight
Show an example of the output you want.
C. Using all capital letters in the requestWrong
Capitals add emphasis, not structure.
D. Asking the same question ten times in a row and then choosing whichever answer looks bestWrong
Repetition wastes tokens and time.
Use case
An illustrative scenario, not a real incident.
Illustrative: including one sample summary in the prompt makes every weekly summary follow the same three headings.
See it in different ways
flowchart LR S0["State the task"] --> S1["Give an example output"] --> S2["Name the headings"] --> S3["Ask for that format"]
How to read this chart
- Read it in order: State the task, then Give an example output, then Name the headings, then Ask for that format.
mindmap
root(("Techniques"))
n1["Clear instructions"]
n2["Task and format"]
n3["Examples"]
n4["Few-shot"]
n5["Context"]
n6["Role, audience"]
n7["Step by step"]
n8["Break down tasks"]How to read this chart
- The centre is "Techniques".
- "Clear instructions" covers "Task and format".
- "Examples" covers "Few-shot".
- "Context" covers "Role, audience".
- "Step by step" covers "Break down tasks".