Flashcardsfor IT Certifications

Subagent Invocation & Context Passing

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

Question
Which tool spawns subagents in the Agent SDK?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Subagent Invocation & Context Passing practice questions and answers
  1. Which tool spawns subagents in the Agent SDK?
    The Task tool.
  2. What must the coordinator's allowedTools include to spawn subagents?
    "Task".
  3. Do subagents inherit the coordinator's conversation history?
    No. They only see what is explicitly passed in their prompt.
  4. How should context be passed to a subagent?
    Include all needed findings directly in its prompt, e.g. prior results with source metadata.
  5. Why use structured formats when passing context?
    They keep content separate from metadata (URLs, dates, page numbers) so attribution survives.
  6. What is an AgentDefinition?
    Config for a subagent type: description, system prompt and tool restrictions.
  7. How do you run subagents in parallel?
    Have the coordinator emit multiple Task tool calls in a single response.
  8. Parallel vs sequential subagents?
    Parallel for independent subtasks (faster); sequential when one depends on another's output.
  9. What should a coordinator prompt to a subagent specify?
    Goals and quality criteria rather than rigid step-by-step procedures.
  10. What is fork-based session management for?
    Branching from a shared baseline to explore divergent approaches independently.