Anthropic certification · Exam CCDV-F

CCDV-F Mock Exam

Claude Certified Developer-Foundations

Free CCDV-F questions on Agent Patterns, each with the answer and an explanation.

20 questions · 46 minutes · free, no sign-up

Agent Patterns questions

1–2 of 2 free
Question 1 Choose 1
You are designing an agent that handles a multi-step research task. You want the agent to break the task into smaller pieces, hand each piece to a focused subagent, and consolidate the results. The agent pattern you would apply is...
Show answerHide answer

Correct answer: A An orchestrator and subagent pattern with specialized subagents assigned to each subtask.

Explanation

Explanation

The scenario describes exactly the orchestrator/subagent pattern: break a complex task into smaller pieces, delegate each piece to a focused subagent, and consolidate the results. This is the documented multi-agent architecture for research-style work.

Anthropic's Claude Code documentation describes this directly: an orchestrator (main agent) coordinates subagents that run in isolated context windows — each subagent starts fresh with only the prompt passed to it, does its focused work, and returns a summary to the parent. Parallel execution is a first-class pattern: independent subtasks (e.g., different research angles) can run concurrently and the main agent synthesizes their reports. Community frameworks implement the same shape — a Research Coordinator dispatches specialized worker agents and a synthesizer consolidates the final output.

So the pattern name matches precisely: orchestrator + specialized subagents + result consolidation.

Why the other options are incorrect

- B — "Memory pattern storing entire research history before subtasks begin": There is no such pattern; subagents deliberately start with fresh, isolated context — the parent passes only the relevant prompt string, not the full history. Pre-storing all history contradicts the isolation that makes subagents useful.

- C — "Context-window pruning that drops each subtask's content": Pruning is a context-management technique, not an agent orchestration pattern. It doesn't describe breaking work into pieces, delegating, or consolidating — the defining features of the task.

- D — "Single tool-use loop with every tool": This is the opposite of the described design — one monolithic loop with all tools, rather than decomposition into focused subagents. It doesn't provide the isolation or specialization the scenario asks for.

The tested distinction: orchestrator/subagent decomposition vs. pre-stored memory, pruning, or a single all-tools loop.

References

- Anthropic, Subagents in the SDK — subagents run in fresh, isolated context; only the Agent tool prompt passes from parent; results return to parent.
Question 2 Choose 1
A team has deployed a multi-agent system in which a primary agent decomposes user requests and delegates subtasks to three specialized subagents: one for data retrieval, one for analysis, and one for report generation. In production, the team observes that subagents are making redundant tool calls, occasionally exceeding token budgets, and sometimes producing outputs that contradict each other — all of which the primary agent passes along without catching. What is the most appropriate way to address these failures?
Show answerHide answer

Correct answer: C Strengthen the primary agent's management layer to enforce per-subagent tool budgets, validate outputs against a defined schema before passing them forward, and establish explicit handoff contracts between stages.

Explanation

Explanation

The correct answer is C. Strengthen the primary agent's management layer to enforce per-subagent tool budgets, validate outputs against a defined schema before passing them forward, and establish explicit handoff contracts between stages.

The scenario describes a multi-agent orchestration problem. The subagents are operating without sufficient controls, leading to redundant tool calls, token-budget overruns, and contradictory outputs that the primary agent forwards without validation. The appropriate solution is to strengthen the orchestrator's oversight and define clear boundaries for each subagent.

Three controls address the failures directly:

1. Per-subagent tool and token budgets — establish resource limits for each subagent to prevent redundant tool use and excessive token consumption.

2. Output validation — require each subagent to return results in a defined schema and validate those results before the primary agent accepts or forwards them. This catches malformed or incomplete outputs and provides a consistent structure for downstream processing.

3. Explicit handoff contracts — define the expected inputs, outputs, responsibilities, and completion criteria for each stage. The primary agent can then coordinate dependencies and detect inconsistencies before producing the final response.

The primary agent should not simply relay subagent results. It must coordinate execution, enforce constraints, and validate outputs before consolidating them into a coherent response.

Why the other options are incorrect

- A — "Add retry logic and shared trace logging": Retries can help recover from transient tool failures, and tracing helps diagnose problems after they occur. However, neither establishes resource budgets nor prevents contradictory outputs from reaching the final response. This option emphasizes recovery and observability rather than orchestration controls.

- B — "Give each subagent read access to the other subagents' outputs": Shared access may help agents compare results, but it does not guarantee consistency or prevent excessive tool calls and token consumption. It can also increase context usage and introduce unnecessary dependencies between specialized agents.

- D — "Collapse the three subagents into a single large-context model call": Consolidation may reduce coordination overhead in some cases, but it removes the specialization and task separation of the existing architecture. It does not inherently guarantee budget enforcement, structured validation, or reliable output quality.

References

- Anthropic, Building effective agents — effective agent systems require clearly defined workflows and appropriate coordination between components.
- Anthropic, Subagents in the SDK — specialized subagents operate within an orchestration structure in which the parent agent delegates work and receives results.

That's the last free question in Agent Patterns

You've seen the free 30% (2 of 7 questions). Full access unlocks every question and full-length CCDV-F mock exams (53 questions, 120 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the CCDV-F exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CCDV-F exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CCDV-F mock exam
  • 53questions per mock
  • 120 mintime limit
  • 95questions in the bank
  • Newmock on every attempt