Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Anthropic CCDV-F - Claude Certified Developer-Foundations

Page: 3 / 3
Total 95 questions

Your Claude application's prompt was written months ago and has not been updated. The team has discovered through evals that the prompt produces good results on common cases but underperforms on a specific category of inputs that has grown in volume.

How would you respond?

A.

Iterate on the prompt to address the underperforming category, validate the change with evals, and continue refining as needed.

B.

Tell users to avoid the underperforming category by adding warnings in the application's user interface about handled inputs.

C.

Replace the prompt with a new one aligned to the underperforming category, treating any common-case performance change as a known tradeoff.

D.

Add the underperforming category to a separate Claude application with its own prompt so the original prompt does not change.

Your Claude application has multi-step workflows where each step’s output is needed only briefly before the agent moves on. The cumulative tool output is filling the context window with content that is no longer relevant.

How would you handle the accumulating tool output?

A.

Apply tool output pruning to remove tool outputs that are no longer needed by later steps in the workflow.

B.

Apply prompt caching to the accumulated tool outputs so the application does not re-pay for the older content on each subsequent step.

C.

Switch to a smaller Claude model that processes context more efficiently and treat any quality loss as a tradeoff for the cost reduction.

D.

Keep every tool output in the context indefinitely so the agent has the full record of every step it has executed during the workflow.

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?

A.

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

B.

Build the MCP server with resource and tool definitions scoped to the first Claude application that needs it, and extend the definitions to additional applications as each integration is requested.

C.

Deploy the MCP server only on individual developer machines, with the Claude applications unable to reach the server outside each developer's machine.

D.

Bypass the MCP server and embed each data source directly in every Claude application that needs the data, with each application maintaining its own integration.

You are setting up a Claude application that will run a mix of multi-turn conversations and one-off requests. You want to use caching techniques to reduce token costs where they apply. A teammate suggests caching the model's output as well, so the application does not have to make duplicate Claude calls when similar queries arrive.

You would apply prompt caching to...

A.

Nothing, because prompt caching does not affect cost in any application that mixes multi-turn conversations and one-off requests in a single deployment.

B.

The model's output, treating the response from each request as cacheable content the application can return on similar future queries.

C.

Only the user's input portion of each request because user input is the part of the prompt that varies the most across the application's normal operation.

D.

The static portions of prompts that are repeated across requests, such as system prompts, instructions, or shared context.

A teammate has asked you to explain the difference between context engineering and prompt engineering. They have heard the terms used interchangeably and are unsure how each applies to a Claude application that processes long-running multi-step tasks.

How would you describe the distinction?

A.

Prompt engineering focuses on the model's response, while context engineering focuses on the user's input across many sessions in a long-running multi-step Claude application.

B.

Prompt engineering is the older term for prompt design, while context engineering is the newer term that has replaced it in modern Claude applications across the industry.

C.

Prompt engineering shapes individual prompts for specific outputs, while context engineering manages how content flows across turns and steps and takes steps to keep relevant state visible.

D.

Prompt engineering and context engineering each address content the team gives Claude, but the team can group them under a single workflow because the practices use overlapping techniques.

Your Claude agent’s hooks are currently triggered for every action, which slows down the agent significantly even when actions pose no risk. The team wants to scope hooks more carefully.

How would you scope the hooks?

A.

Scope hooks to only the high-risk actions, such as destructive operations or sensitive data access, and remove hooks from low-risk actions to balance safety with performance.

B.

Disable all hooks while the team re-scopes them, treating the period of no hook enforcement as a temporary state during the re-scoping work.

C.

Disable the agent during peak hours so the hook overhead does not slow the application down during the busiest periods of the day across the application's operation.

D.

Replace hooks with system prompt instructions on the grounds that prompt instructions can produce the same enforcement effect that hooks produce on the agent's actions.

Your agent makes 10 to 15 tool calls per task, and you have noticed it sometimes loses track of earlier results by the time it reaches later steps. The agent's context window is large enough to hold all the messages, but the relevant information appears to get buried as the conversation grows.

How would you address this?

A.

Switch to a different agentic framework that advertises automatic context-window management as a built-in feature.

B.

Reduce the number of tool calls per task by combining several existing tools into larger, multi-purpose tools.

C.

Increase the context window further so all tool outputs from every prior step remain in full detail throughout the task.

D.

Apply a context-management pattern that summarizes or prunes older tool outputs while preserving the active task state.

Your Claude agent has access to a tool that retrieves customer records. A teammate has noticed that the agent occasionally calls the tool with arguments the schema does not declare, and the tool's downstream service returns an error each time. The teammate proposes loosening the schema so the tool accepts whatever arguments the model produces.

How would you respond?

A.

Add a system prompt instruction telling the model to produce schema-conforming arguments, treating the prompt instruction as the primary mechanism for keeping the agent's tool calls valid.

B.

Keep the schema strict, validate arguments before dispatching, and return a structured error so the agent can retry.

C.

Remove the schema entirely and rely on the downstream service to reject invalid calls, treating the downstream service as the team's primary enforcement layer.

D.

Loosen the schema as the teammate proposed so the downstream service receives every call the agent makes during normal operation.