Which two practices usually improve a prompt's results? (Select TWO.)
- Exam domain
- Applications of Foundation Models28% of the exam
- Difficulty
- Easy
- In this mock
- 25 questions on this domainPractise this domain
Why the exam asks this
Task Statement 3.2: Choose effective prompt engineering techniques.
Objective in the exam guide: Identify and describe the benefits and best practices for prompt engineering (for example, response quality improvement, experimentation, guardrails, discovery, specificity and concision, using multiple comments).
Prompting is the cheapest way to improve output, and also the easiest to do badly. Teams that test prompt changes ship better features than teams that tweak by feel.
Why D and E are the answers
A multiple-response question. Choose two. There is no credit for picking only some of them.
Being specific about the task, format and audience
Testing changes on a fixed set of example inputs
Specific prompts and tested changes improve results; length, buried instructions and vagueness do not.
Remember: Be specific and concise, and test changes on the same examples.
How it works
A good prompt states the task, the format and the audience clearly and concisely.
Prompt changes should be tested on a fixed set of example inputs, so you can see whether quality really improved.
Longer is not better: extra text costs tokens and can bury the instruction that matters.
Clues in the question
The words that point to the answer, and what each one tells you.
- Usually improve
- Look for general best practices, not tricks.
In detail
- The exam guide lists specificity and concision, experimentation and discovery among prompt best practices.
- Testing on a fixed set of inputs shows whether a change helped or only seemed to.
Side by side with look-alikes
| Practice | Effect |
|---|---|
| Be specific | Clearer, more useful output |
| Test on examples | Proof a change helped |
| Make it long | More cost, instructions get lost |
| Stay vague | Unpredictable output |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Making the prompt as long as possibleWrongMost tempting
Length adds tokens and cost; concise and specific beats long.
Why it tempts: More detail can help, so "longer" feels safer. But beyond what the task needs, length adds cost and hides the key instruction.
B. Hiding the key instruction in the middle of a long paragraphWrong
Buried instructions are easy for the model to miss.
C. Using vague words so the model can decideWrong
Vague prompts give vague answers.
D. Being specific about the task, format and audienceRight
Specific prompts and tested changes improve results; length, buried instructions and vagueness do not.
E. Testing changes on a fixed set of example inputsRight
Specific prompts and tested changes improve results; length, buried instructions and vagueness do not.
In practice
- Keep a small, fixed set of test inputs for each prompt.
- Save prompt versions, for example in Bedrock Prompt Management, so you can compare them.
Use case
An illustrative scenario, not a real incident.
A team rewrites a prompt to name the audience and the output format, then compares old and new versions on 30 saved support emails.
See how it works
flowchart LR
A["Write a specific prompt"] --> B["Run it on saved examples"]
B --> C{"Better than the last version?"}
C -->|"Yes"| D["Keep it"]
C -->|"No"| E["Revert and try another change"]
E --> BHow to read this chart
- "Write a specific prompt" leads to "Run it on saved examples".
- "Run it on saved examples" leads to "Better than the last version?".
- At "Better than the last version?": if "Yes", go to "Keep it"; if "No", go to "Revert and try another change".
- "Revert and try another change" leads to "Run it on saved examples".