Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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