Flashcardsfor IT Certifications

Few-Shot Prompting

Claude Certified Architect – Foundations (CCAR-F) exam practice questions · 10 flashcards

Question
When are few-shot examples most effective?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Few-Shot Prompting practice questions and answers
  1. When are few-shot examples most effective?
    When detailed instructions alone still produce inconsistent formatting or judgment.
  2. What should few-shot examples focus on?
    Ambiguous scenarios, showing the reasoning for why one action was chosen over alternatives.
  3. How many examples are typical?
    Around 2–4 targeted examples.
  4. Why show reasoning in examples?
    It teaches Claude to generalize judgment to new cases, not just copy patterns.
  5. How do examples reduce false positives?
    Showing acceptable patterns vs genuine issues clarifies the boundary.
  6. How do examples help extraction?
    They show handling of varied document structures, like inline citations vs bibliographies.
  7. Why make examples cover different cases?
    So Claude doesn't overfit to one example's specifics.
  8. Example use: tool selection in ambiguous requests?
    Show a few ambiguous requests and which tool was chosen and why.
  9. Few-shot vs programmatic enforcement?
    Few-shot improves consistency; it doesn't guarantee behavior.
  10. Example use: handling missing data?
    Show the field set to null when information is absent, preventing fabrication.