D3: Zero-, One-, Few-Shot, Role & Chaining
Google Cloud Generative Leader exam practice questions · 11 flashcards
Question
What is zero-shot prompting?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Zero-, One-, Few-Shot, Role & Chaining practice questions and answers
- What is zero-shot prompting?Asking the model to do a task with no examples.
- What is one-shot prompting?Providing one example of the desired output.
- What is few-shot prompting?Providing several examples to show the pattern.
- When use zero-shot?Simple, common tasks.
- When use few-shot?When a specific format, tone or classification style is needed.
- What is role prompting?Asking the model to act as a persona, e.g. 'You are a financial analyst'.
- Benefit of role prompting?Sets expertise, tone and perspective.
- What is prompt chaining?Breaking a task into steps where each prompt's output feeds the next.
- When use prompt chaining?Complex, multi-stage tasks like research → outline → draft.
- Classify reviews in a custom label format: technique?Few-shot prompting.
- Write responses as a friendly support agent: technique?Role prompting.