Anthropic certification · Exam CCDV-F

CCDV-F Mock Exam

Claude Certified Developer-Foundations

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

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

Agent Architecture questions

1–3 of 3 free
Question 1 Choose 1
You are designing a multi-step Claude workflow where some steps must reason without seeing the full prior conversation history. The team wants to keep specific context isolated to specific steps. The context engineering technique you would use is...
Show answerHide answer

Correct answer: C Context isolation through subagents or multi-step agentic workflows that scope each step's context to only what the step needs.

Explanation

Explanation

This question tests the context engineering principle of scoping context to each step. When a workflow has steps that must reason independently (i.e., without seeing full prior history), the correct technique is to isolate context per step — either by:

- Subagents: Spawning separate agent instances, each with its own freshly scoped context window containing only the inputs relevant to that step.

- Multi-step agentic workflows: Orchestrating discrete steps where each step receives a curated subset of context (e.g., only the outputs/handoffs it needs), rather than the entire accumulated transcript.

The key idea is: context is a scarce, curated resource — you pass each step only what it needs, which both enforces isolation and improves reasoning quality (less noise, less distraction, lower token cost).

Why the other options are wrong

Option A — "Augment with all available content at every step":
This is the opposite of isolation. Flooding every step with the entire prior history violates the requirement that some steps must not see prior conversation, and it degrades reasoning by introducing irrelevant context ("context rot"/distraction).

Option B — "Single global prompt for every step":
A global prompt doesn't isolate context at all; it just applies the same instructions everywhere. It says nothing about what history each step sees, so it fails to meet the requirement.

Option D — "Embed full prior history in each step regardless of need":
Explicitly contradicts the goal. Embedding full history everywhere means no step is isolated, and it wastes context budget on content a step doesn't need.

References

- Context engineering (Anthropic's framing): Treat the context window as a finite, carefully managed resource — curate, isolate, and hand off only relevant information between steps.
Question 2 Choose 1
You are building an MCP server that exposes several internal data sources as MCP resources. The server needs to be deployed so multiple Claude applications can integrate with it. How would you approach the build and deployment?
Show answerHide answer

Correct answer: A Author the server with clearly defined resources, tools, and prompts, choose a communication pattern, and deploy to an accessible hosting environment.

Explanation

Explanation

This question tests the build-and-deploy lifecycle of an MCP server intended for multi-client, shared use. The correct approach is the standard, documented MCP server workflow:

1. Author the server — define the three primitives MCP exposes:
- Resources: Readable data/context (e.g., the internal data sources being exposed).
- Tools: Callable functions the model can invoke.
- Prompts: Reusable prompt templates.

2. Choose a communication pattern (transport) — select the appropriate MCP transport for the deployment model:
- stdio: For local, process-spawned servers.
- Streamable HTTP (or SSE): For remote/shared servers reachable over a network.

3. Deploy to an accessible hosting environment — since multiple Claude applications must integrate with it, the server must run somewhere reachable (a shared/remote host), not just locally.

Because the requirement is shared, multi-application access, you design the server once, generically, and deploy it to an accessible host so all clients can connect.

Why the other options are wrong

Option B — "Scope to the first app, extend per integration request":
This builds a client-specific server and grows it reactively. It's poor design for a shared server — it couples the server to individual consumers, duplicates or entangles definitions, and doesn't reflect MCP's intent of a reusable, capability-exposing server. It also risks inconsistent behavior across applications.

Option C — "Deploy only on individual developer machines":
Directly violates the requirement that multiple Claude applications can integrate with it. Local-only (e.g., stdio on a developer's laptop) is unreachable by other apps unless separately exposed through a network-accessible service.

Option D — "Bypass MCP and embed each data source directly in every app":
Throws away MCP entirely. It creates N separate integrations to maintain, duplicates logic, and defeats the purpose of a single server exposing the data sources once to all consumers.

References / Concepts

- MCP (Model Context Protocol) server primitives: resources, tools, and prompts.
- MCP transports: stdio (local) versus Streamable HTTP / SSE (remote, shared). The transport choice determines reachability.
Question 3 Choose 1
Your Claude application runs long agentic workflows where the agent makes many tool calls, and the conversation history grows quickly. After about 20 tool calls, you notice the agent's responses become less focused and sometimes ignore earlier task constraints. How would you address this?
Show answerHide answer

Correct answer: B Apply context engineering techniques such as tool output pruning or compaction to keep the active task state visible while reducing the volume of older content.

Explanation

Explanation

The symptoms described — declining focus and ignored earlier task constraints after approximately 20 tool calls — are classic signs of context bloat / "context rot." The conversation history has grown with accumulated tool outputs (often verbose), and the model's reasoning gets diluted by irrelevant or stale content. The fix is context engineering:

- Tool output pruning: Trim or summarize verbose tool results so only the useful information remains in context (e.g., collapse large JSON payloads, drop redundant fields, and keep key results).
- Compaction: Periodically summarize or condense older turns into a compact representation, preserving essential task state (constraints, decisions, and progress) while discarding low-value details.

The goal is to keep the active task state salient (so earlier constraints are still honored) while reducing the volume of older content that distracts the model. This directly addresses both symptoms: focus improves and earlier constraints stay visible.

Why the other options are wrong

Option A — "Remove tool calling entirely":
Overkill and destructive. Tool use is core to the agentic workflow; the problem isn't tool calling itself but unmanaged context growth. Removing tools eliminates the agent's ability to accomplish the task effectively.

Option C — "Just increase the context window":
A bigger window delays but doesn't solve the problem. More capacity doesn't fix focus — dumping full-detail outputs for every call still produces distraction and context rot, while costs and latency grow. Capacity does not equal relevance. This is the key distinction: more context is not necessarily better context.

Option D — "Restart every five tool calls":
Restarting loses all task state at each restart, which would cause constraint violations rather than fix them. The agent forgets its progress and instructions. You would trade focus problems for loss of continuity. A state-preserving restart or compaction is essentially option B done well; a blind restart is not.

References

- Context engineering (Anthropic): Manage the context window as a finite resource — curate, prune, and compact information.

That's the last free question in Agent Architecture

You've seen the free 30% (3 of 12 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