Q2 — AWS AIF-C01 Ch.3

Question 2 of 100 | ← Chapter 3

A company provides its large language model (LLM) with the following prompt: 'The cinematography of this movie is really terrible. // Negative sentiment. This movie has many exciting action scenes. // Positive sentiment. This movie is okay. // Neutral sentiment. How awful the cinematography is! //'. Which prompt technique does this describe?

Correct Answer: A. Few-Shot

Explanation

In this scenario, the company provides its LLM with a short set of labeled examples—each associating a movie review sentence with its sentiment label (negative, positive, neutral). This approach uses a limited number of demonstrations to guide the model’s behavior, characteristic of few-shot prompting. Zero-shot prompting would involve no examples—only a task description—so it does not apply here.