AWS Certified AI Practitioner (AIF-C01) — Question 126

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?

Answer options

Correct answer: A

Explanation

The correct answer is A, Chain-of-thought prompting, as it encourages the model to articulate its reasoning process step by step. This technique is specifically designed to enhance the model's problem-solving abilities by breaking down the reasoning. The other options, such as Prompt injection and Few-shot prompting, do not focus on the detailed explanation of the reasoning process, while Prompt templating involves predefined formats rather than dynamic reasoning.