AWS Certified AI Practitioner (AIF-C01) Practice Questions

AWS Certified AI Practitioner (AIF-C01) exam preparation

AWS Certified AI Practitioner (AIF-C01) practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 90 minutes.

AWS Certified AI Practitioner (AIF-C01) free question 7 / 10 · Domain 3: Applications of Foundation Models

In a PoC for summarizing emails, a team first instructed "Summarize the following email into three bullet points" with no examples. To make the summary format consistent, they added one example of an ideal summary to the prompt. Which technique is this?

  1. A chain-of-thought prompt
  2. A zero-shot prompt
  3. A prompt template
  4. A one-shot prompt
Show the answer and explanation

Answer: D

Why this is correct
The page says that to make the format consistent, you can use a one-shot or few-shot prompt that gives an example of the expected output format or structure, such as an ideal summary. Giving one example is one-shot (single-shot), and giving several is few-shot. The initial instruction without examples is zero-shot.

Why the other options are wrong
"A zero-shot prompt" … A zero-shot prompt gives only an instruction without examples, and the page uses the first prompt, "Summarize the following email into three bullet points," as its example. It is not the technique used after adding an example.
"A chain-of-thought prompt" … Chain of thought encourages the model to think step by step and produce its reasoning path. It is not a technique for giving an example of the output format.
"A prompt template" … The page describes a prompt template as a reusable structure that combines fixed and dynamic parts. Whether or not you give an example is a separate matter from using a template.

Key point
Exam Guide objective 3.2.2 lists chain of thought, zero-shot, single-shot, few-shot, and prompt templates. The page explains that a PoC starts from a simple zero-shot instruction and repeatedly finds gaps and refines the prompt. A template turns one-off work into something that can be tried repeatedly.

Go to the AWS Certified AI Practitioner (AIF-C01) practice app (10 free questions; purchase unlocks all questions)

See the full practice set