Flashcardsfor IT Certifications

D1: Prompting Techniques

Claude Certified Associate – Foundations exam practice questions · 12 flashcards

Question
What is few-shot (example-based) prompting?
1 / 12

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

Last updated: · Report an error on this page

Show all 12 Prompting Techniques practice questions and answers
  1. What is few-shot (example-based) prompting?
    Including 1–3 examples of the desired output so Claude matches the format, tone and style.
  2. What makes examples effective?
    They are relevant to the real task, varied enough that Claude doesn't copy one pattern blindly, and clearly marked (e.g. in <example> tags).
  3. Why use XML tags such as <document> or <instructions>?
    They separate pasted material from instructions, so Claude doesn't confuse data with what you want done.
  4. What is role prompting?
    Giving Claude a role (e.g. 'act as an experienced HR policy reviewer') to set expertise, perspective and tone.
  5. When does asking Claude to 'think step by step' help?
    On analysis, reasoning and multi-step problems, where working through the logic first improves accuracy.
  6. Extended thinking vs asking Claude to think step by step?
    Extended thinking is a feature toggle that gives Claude more reasoning time. 'Think step by step' is a prompt instruction. Both help complex problems.
  7. How do you handle an ambiguous task?
    Ask Claude to list clarifying questions before it starts, so missing information surfaces early.
  8. What is a prompt template?
    A reusable prompt with fixed structure and fill-in slots. It keeps results consistent across people and runs.
  9. How do you improve answers from a long document?
    Ask Claude to first pull out the relevant quotes, then answer based on those quotes. This keeps the answer grounded.
  10. How do you control tone?
    Name the tone and audience ('warm but professional, for new customers') or paste a sample paragraph to match.
  11. Does the style of your prompt affect the output style?
    Yes. A prose prompt tends to get prose; a bullet-heavy prompt tends to get bullets.
  12. How do you get options to compare?
    Ask for a set number of distinct variants, e.g. '3 subject lines: formal, playful, urgent'.