D3: Prompt Engineering Techniques
AWS Foundational AI Practitioner exam practice questions · 10 flashcards
Question
Zero-shot prompting?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Prompt Engineering Techniques practice questions and answers
- Zero-shot prompting?Task with no examples.
- Single-shot (one-shot) prompting?Task with exactly one example.
- Few-shot prompting?Task with several examples to demonstrate the pattern.
- Chain-of-thought (CoT) prompting?Ask the model to reason step by step before answering; improves complex reasoning.
- Prompt templates?Reusable prompts with placeholders for consistent, scalable use.
- Scenario: model outputs wrong format; you have sample outputs. Technique?Few-shot prompting.
- Scenario: model makes errors on multi-step math word problems. Technique?Chain-of-thought.
- What is prompt chaining?Breaking a task into sequential prompts, each using the previous output.
- What is self-consistency?Generating multiple reasoning paths and selecting the most common answer.
- What is tree-of-thought?Exploring multiple reasoning branches and evaluating them.