Guide-linked quiz · Medium Level

Prompt Chaining Quiz

Check your understanding of how prompt chains pass outputs forward, how gates catch errors, and how chains differ from autonomous agents.

Related guide pathsPrompt Chaining
Question 1 of 8

What is the defining feature of prompt chaining?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. What is the defining feature of prompt chaining?
    • One very long prompt that contains every instruction
    • A fixed sequence of prompts where each step's output feeds the next
    • A model that picks its own tools at run time
    • Sending the same prompt to many models at once
  2. How does a prompt chain differ from an autonomous agent?
    • Chains cannot use JSON
    • Agents never call tools
    • In a chain the developer hard-codes the steps, while an agent decides its next step at run time
    • Chains always use more expensive models
  3. In Anthropic's "Building Effective Agents" essay, what are "gates" in a prompt chain?
    • Programmatic checks between steps
    • Paid access tiers for the API
    • Security firewalls around the model
    • Parts of the model's neural network
  4. What trade-off does prompt chaining typically make?
    • Lower accuracy for lower cost
    • No trade-off at all
    • Less debuggability for more speed
    • Extra latency for higher accuracy
  5. If each of four chained steps is 95 percent reliable and failures are independent, roughly how reliable is the whole chain?
    • 95 percent
    • About 81 percent
    • About 50 percent
    • 99 percent
  6. Why should each step pass forward only the information the next step needs?
    • To avoid bringing back the context bloat chaining was meant to reduce
    • Because APIs reject long inputs
    • So the model forgets its instructions
    • To make logging impossible
  7. In Prompt Chaining: which statement does the guide describe as a misconception?
    • Intermediate outputs should be logged
    • Independent steps can run in parallel
    • You need a special framework to build a prompt chain
    • Structured output makes validation easier
  8. How can prompt chaining sometimes lower costs instead of raising them?
    • It removes the need for output tokens
    • Providers give chains free credits
    • It avoids sending any input tokens
    • Easy steps can run on smaller, cheaper models

Keep testing yourself

More quizzes picked for your level.

View all quizzes