CCDV-F Agents and the Agent SDK Practice Question
A developer is designing a subagent architecture with the Claude Agent SDK. The main agent delegates a codebase audit to a specialized subagent to keep the primary conversation focused. Which TWO practices help ensure the delegation works correctly? (Choose two.)
⚠ Common exam trap
The trap here is treating more context and more tools as strictly better, when delegation specifically benefits from narrower scope and summarized returns.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Give the subagent a narrowly scoped task description and only the tools it needs for the audit.
Effective delegation depends on isolation and distillation. Scoping the subagent's task and tools keeps it focused and safe, while returning a concise structured summary preserves the main agent's context budget and attention. Sharing full history, granting broad tools, or dumping raw logs all reintroduce the noise that subagents are meant to filter out.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Give the subagent a narrowly scoped task description and only the tools it needs for the audit.
Why this is correct
Scoping the task and limiting tools reduces ambiguity and prevents the subagent from wandering into unrelated actions. A focused description plus a minimal toolset keeps the subagent's context small and its behavior predictable, which is the core reason to delegate to a subagent rather than expanding the main agent's responsibilities.
- ✓
Return a concise structured summary from the subagent to the main agent rather than its full transcript.
Why this is correct
A structured summary delivers the findings the main agent needs without importing the subagent's entire reasoning trace. This preserves the main conversation's focus and token budget while still conveying results. It is the mechanism that makes delegation beneficial, since the parent receives actionable output instead of raw noise.
- ✗
Configure the subagent with the same broad toolset as the main agent to maximize flexibility.
Why it's wrong here
Granting the subagent broad tools invites unintended actions and enlarges its decision space, increasing the chance it performs work outside the audit. The principle of least privilege applies to agent tools as much as to human roles; a specialized subagent should receive only the capabilities its narrow task requires.
- ✗
Have the subagent write its raw logs directly into the main agent's message history for transparency.
Why it's wrong here
Injecting raw logs into the parent conversation defeats the purpose of delegation by consuming the main agent's context with verbose detail. Transparency is better served by logging externally or by returning a distilled summary. Raw logs also risk burying the actionable findings the parent actually needs to proceed.
- ✗
Share the main agent's entire conversation history with the subagent so it has maximum context.
Why it's wrong here
Copying the full history bloats the subagent's context, increases cost, and can distract it with irrelevant details. Subagents are typically invoked to isolate work and keep the primary context lean. Passing only the essential task framing and inputs is preferable, so this practice undermines the separation the architecture is meant to achieve.
About these practice questions
This CCDV-F question is part of Courseiva's 257-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCDV-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCDV-F exam.