Which Prompt Technique Asks the Model to Show Its Work Step by Step?
An AI practitioner is developing a prompt for an Amazon Titan model. The model is hosted on Amazon Bedrock. The AI practitioner is using the model to solve numerical reasoning challenges. The AI practitioner adds the following phrase to the end of the prompt: “Ask the model to show its work by explaining its reasoning step by step.” Which prompt engineering technique is the AI practitioner using?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The test checks your ability to identify chain-of-thought prompting by its signature request for step-by-step reasoning; the trap is confusing it with few-shot prompting, which uses examples.
Learn how asking an Amazon Titan model on Bedrock to 'show its work' exemplifies chain-of-thought prompting, a key technique for numerical reasoning. Community consensus strongly confirms option A.
Choosing C. Few-shot prompting, because the phrase 'show its work' might sound like providing an example, but it actually asks for intermediate reasoning steps, not examples in the prompt.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Chain-of-thought (CoT) prompting explicitly instructs the model to produce intermediate reasoning steps before the final answer. The phrase "show its work by explaining its reasoning step by step" is a textbook example of CoT. This technique is well-suited for numerical reasoning challenges because it encourages the model to break down the problem logically. Community comment [2] directly states that this approach "encourages the model to reason through a problem step by step," confirming the correct option.Why the Other Options Are Wrong
Prompt injection (B) is a security exploit where malicious instructions are inserted into a prompt, not a benign reasoning technique. Few-shot prompting (C) involves providing labeled examples in the prompt, not asking for step-by-step reasoning. Prompt templating (D) refers to reusing parameterized prompt structures, not the explicit instruction to explain reasoning. The description in the question matches none of these other techniques.Community Comment Notes
All community votes (100%) selected A, showing unanimous consensus. Comments [3] and [4] add valuable context: CoT prompts structure the model's output as a series of logical intermediate steps, improving multi-step problem-solving. Comment [1] simply reinforces the answer with "step by step." These insights align with the official AWS documentation on prompt engineering.Official Reference
Exam Strategy
Remember that chain-of-thought prompting is identified by explicit requests for step-by-step reasoning, such as "show your work" or "think step by step." Focus on the purpose of the prompt: whether it adds examples (few-shot) or asks for reasoning steps (chain-of-thought).
Related Analysis
Practice All AIF-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AIF-C01 Practice Test →