Q79 — AWS AIF-C01 Ch.3
Question 79 of 100 | ← Chapter 3
What is the primary purpose of using prompt templates in prompt engineering?
- A. To guide the model by breaking down complex problems into smaller logical parts
- B. To train the model to generalize and make predictions on unseen categories or tasks
- C. To provide consistent and structured input and output formats to the model ✓
- D. To teach the model new categories or tasks using limited data
Correct Answer: C. To provide consistent and structured input and output formats to the model
Explanation
Prompt templates standardize the structure of inputs and expected outputs across interactions, ensuring consistency and reducing ambiguity for the model. This structured format improves reliability, reproducibility, and performance—especially in production applications where prompt variability could degrade results. Therefore, the main purpose of prompt templates is to provide consistent and structured input and output formats to the model.