Q1 — AWS AIF-C01 Ch.3
Question 1 of 100 | ← Chapter 3
A company wants to create a reusable prompt structure adaptable across different tasks and domains. Which prompt engineering technique satisfies these requirements?
- A. Zero-Shot Prompting
- B. Few-Shot Prompting
- C. Chain-of-Thought Prompting
- D. Prompt Templates ✓
Correct Answer: D. Prompt Templates
Explanation
This question assesses understanding of prompt engineering techniques. Creating a reusable prompt structure that adapts across tasks and domains requires a customizable framework. Prompt templates provide such a flexible, parameterized structure—content within the template can be modified to suit diverse tasks and domains, fulfilling the stated requirement. While zero-shot, few-shot, and chain-of-thought prompting are valid techniques, they do not inherently emphasize reusability and cross-domain adaptability, making them suboptimal choices.