Month End Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: w75best

Anthropic CCDV-F Dumps

Page: 1 / 10
Total 95 questions

Claude Certified Developer-Foundations Questions and Answers

Question 1

Your team uses several plugins across multiple Claude applications, and a recent plugin update introduced a regression. The team had not been tracking plugin versions, so the team cannot easily identify which version was previously working. How would you address this?

Options:

A.

Stop using all plugins until the team can rebuild equivalent functionality directly into the application code, treating plugin avoidance as a way to remove version-related risk.

B.

Add explicit plugin version tracking to the project's configuration so the team can identify, pin, and upgrade plugin versions deliberately.

C.

Treat plugins as untrackable third-party code and rely on plugin authors to communicate breaking changes when they happen, with no internal version tracking.

D.

Upgrade every plugin to the latest version on a regular cadence to keep version drift small, on the grounds that drift contributes to regression risk.

Question 2

The product team has described a new Claude feature in business terms: "agents should help our analysts produce client memos faster." You need to convert this into actionable technical requirements for the engineering team.

Your first step would be to...

Options:

A.

Ask the analysts about the current memo production process to see where they think Claude could be introduced as a prompt-driven drafting step.

B.

Assess what similar agent-based features have been built internally or in the industry and use those precedents to scope the technical approach.

C.

Examine what model capabilities and tier options are available and determine which best supports the memo drafting workflow described by the product team.

D.

Interpret the functional and infrastructure requirements implied by the business goal.

Question 3

You are extending a Claude agent with a capability that needs to be reusable across multiple teams in the organization, with each team able to invoke and use it independently.

How would you build the capability?

Options:

A.

As a custom tool embedded in this team's agent only, with other teams able to copy the implementation into their own agents when they need the capability.

B.

As a shared library that each team imports into its own Claude application code, with each team responsible for keeping the library up to date in its integration.

C.

As a Skill or MCP server because both are purpose-built for cross-team reuse independently by each consuming team.

D.

As a wrapper around an existing built-in tool that adds the missing functionality, on the grounds that built-in tools cover the reuse pattern when extended carefully.

Question 4

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?

Options:

A.

Remove tool calling from the workflow entirely so the agent operates as a single text-generation step with no tool outputs accumulating in the context window.

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.

C.

Increase the model's context window so the agent can hold every tool output at full detail across the entire workflow no matter how many tool calls it accumulates.

D.

Restart the agent every five tool calls to prevent any drift, with the agent losing all task state at each restart point during the workflow.

Question 5

You are starting a new Claude application and have a small set of well-labeled examples that demonstrate the desired output format. You want to use these examples to guide Claude's behavior.

How would you guide the application's behavior?

Options:

A.

Use multi-shot prompting by including the labeled examples in the prompt so Claude can match the desired output format on each request.

B.

Use zero-shot prompting and rely on the model's general capability to produce the desired output format consistently across all incoming requests.

C.

Embed the examples in a database and retrieve them at runtime as reference material for the team.

D.

Train a custom model on the labeled examples before deployment so that the application does not need to include the examples in any prompt during operation.

Question 6

A teammate has asked how the Claude SDK handles transient API errors, such as a temporary network issue or a brief rate-limit response. They want to know whether the application code needs to handle every transient error or whether the SDK provides any default behavior.

How would you describe the SDK's default behavior?

Options:

A.

The SDK provides default retry behavior for transient errors up to a fixed number of attempts, and this behavior is not configurable.

B.

The SDK provides default retry behavior for network errors but surfaces rate-limit responses directly to the application code, which must implement its own retry logic for those cases.

C.

The SDK logs transient errors to a default error stream and continues execution without retrying, leaving the application code responsible for detecting and responding to failed calls.

D.

The SDK provides default retry behavior for many transient errors, and the application code can configure or extend that behavior as needed.

Question 7

Your Claude application uses structured output that is consumed by downstream code. The team wants to handle malformed or unexpected output gracefully so it does not crash downstream systems.

The best choice for handling this issue would be to...

Options:

A.

Crash on any unexpected output and require manual recovery on affected requests the application handles during normal operation.

B.

Silently drop any output that does not match expectations so downstream systems do not see the malformed output the application receives from the model.

C.

Use the output the model produces and leave schema enforcement to a later phase of production after the application is more complete.

D.

Apply defensive parsing to handle unexpected fields, missing values, and type mismatches that the downstream code might otherwise crash on.

Question 8

Your team is choosing how to add a capability to a Claude application. You want to apply the appropriate option, whether built-in tool, custom tool, Skill, or MCP server, based on the use case.

You would choose the option that...

Options:

A.

Is the most familiar to the team based on prior experience with similar capabilities.

B.

Is the newest available option among built-in tools, custom tools, Skills, and MCP servers.

C.

Is the easiest to build given the team's current development tools and workflows.

D.

Matches the use case's scope, reuse needs, and integration context.

Question 9

The Anthropic API deprecated a request parameter that your Claude application uses in approximately 40 places across the codebase. The deprecation notice gives a six-month window before the parameter is removed and recommends a replacement parameter with slightly different semantics.

You would respond to the deprecation by...

Options:

A.

Migrating all 40 call sites in a single change near the removal date to ensure the deprecated parameter continues to work as long as possible.

B.

Keeping the deprecated parameter in place while writing a wrapper function around it to insulate the rest of the codebase from the eventual change.

C.

Adding regression tests to cover the parameter's behavior, then migrating call sites in batches that you validate against regression tests.

D.

Swapping all 40 call sites in a single change right away to prevent drawn-out migration work that will delay ongoing functioning.

Question 10

Your team's Claude agent has accumulated several customizations that bypass the SDK's defaults, including custom history management, retry logic, and error handling. A new team member has proposed reverting all the customizations to maintain the codebase more easily. The tech lead disagrees and says each customization was added for a reason.

How would you advise the team?

Options:

A.

Migrate the agent off the SDK and rebuild it with a custom loop.

B.

Revert all customizations to the SDK's defaults to standardize the codebase.

C.

Keep all customizations, trusting that the tech lead's original reasoning is still valid.

D.

Decide on each customization individually based on its original reason and the SDK's current capabilities.

Question 11

You are integrating Claude into an application written in Python. The Claude SDK provides a Python client that wraps the underlying REST API.

How would you integrate the SDK?

Options:

A.

Call the REST API directly with raw HTTP requests so the application avoids the SDK's abstraction between the application code and the API.

B.

Use the Claude Python SDK and let it handle authentication, retries, and response parsing through its standard documented patterns for Python integrations.

C.

Use a different LLM provider's SDK and translate the responses into Claude's API shape so the application can switch providers in the future.

D.

Skip the SDK and embed Claude calls in shell commands invoked from Python, so that the application runs the calls outside the main Python process.

Question 12

You are building an agent that needs to call several internal APIs and a database in a structured, repeatable way. Your team has decided to use the Claude Agent SDK rather than build a custom loop. You are setting up the agent's tool definitions and execution loop.

How would you set up the tools and execution loop?

Options:

A.

Use the SDK's tool interface and let the SDK handle the loop, dispatch, and history.

B.

Call the Messages API directly and let the model format its tool calls in plain text.

C.

Use the SDK's tool interface and loop, with conversation history stored in a separate team database.

D.

Use the SDK's tool interface and write the loop and history layer in the team's own code.

Question 13

A teammate is debugging a Claude application whose system prompt has grown to several hundred lines and now contains overlapping, contradictory, and obsolete instructions.

How would you advise the teammate?

Options:

A.

Add more explicit instructions so the most recent rules dominate the model's interpretation of the prompt during each request.

B.

Audit the prompt for overlap, contradiction, and obsolete content, then refactor so each instruction is clear, current, and non-redundant.

C.

Tighten only the contradictory rules first, treating the overlap and obsolete content as lower-priority work the team can address later.

D.

Split the prompt across multiple system prompts so the model sees a smaller portion at any given time.

Question 14

The team is debating whether to build a new capability as a custom tool or to use an existing built-in tool that nearly covers the use case but lacks one specific feature.

How would you decide?

Options:

A.

Evaluate whether the missing feature can be addressed by extending the built-in tool or warrants a custom tool, then choose accordingly.

B.

Identify whether the team has previously built similar custom tools and use those precedents to determine which approach is more consistent with the existing codebase.

C.

Examine the custom tool option by scoping the implementation effort and determining whether the additional flexibility justifies the development and maintenance cost.

D.

Review the built-in tool's documentation and assess whether its existing capabilities are sufficient to cover the use case without any modification or extension.

Question 15

A teammate has asked why your Claude application sometimes produces a response that includes the prompt text repeated back, and other times produces a response with the prompt text rephrased. They suspect a bug in the application's request construction.

How would you respond?

Options:

A.

Tell the teammate that the variation depends on which Claude model serves the request, and recommend pinning the application to a single model version to make the output behavior consistent.

B.

Explain that LLMs generate output token by token, and variation in how prompt content appears in output is a property of generation, not a bug in request construction.

C.

Confirm that the variation is a bug in the application's request construction and start investigating which part of the application is producing the inconsistent prompt text.

D.

Tell the teammate that the variation is caused by the application sending two different prompts on different runs and propose a code change that pins the system prompt to a single version.

Question 16

Your enterprise has a contract with AWS that requires Claude API calls to flow through Amazon Bedrock rather than the direct Anthropic API. Your team is building a new Claude application and is unfamiliar with this constraint.

How would you build the application?

Options:

A.

Build two parallel implementations of every call, one for the direct Anthropic API and one for Bedrock, and pick the faster one at runtime.

B.

Build the application against the direct Anthropic API now and migrate to Bedrock in a follow-up release once the team has more experience with the Bedrock API.

C.

Configure the application to invoke Claude through the Bedrock-compatible API path while keeping the application's logic provider-agnostic.

D.

Build the application against the direct Anthropic API and ignore the contractual requirement to route Claude calls through Amazon Bedrock.

Question 17

A new Claude model release includes performance improvements for several reasoning tasks but has changed the format of its responses to system prompts that use multi-section instructions. Your application uses multi-section system prompts heavily. Initial evaluation on the application's actual workload shows the new model performs 8 percent better on reasoning tasks but produces malformed output on roughly 3 percent of requests because of the format change. The team is debating whether to upgrade.

How would you decide?

Options:

A.

Upgrade immediately, because the 8 percent reasoning improvement outweighs the 3 percent malformed output rate across the application's typical request distribution.

B.

Adapt the application's system prompt to the new model's format expectations and re-evaluate, then upgrade only if the adapted prompt eliminates the malformed output while preserving the reasoning improvements.

C.

Upgrade and add a downstream validation step that catches the 3 percent malformed output before it reaches users, treating the validation step as the team's mitigation for the format change.

D.

Stay on the previous model permanently to avoid the malformed output rate and any future format changes that subsequent model releases might introduce in the application.

Question 18

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?

Options:

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.

Question 19

Your team is preparing a new Claude application for production, and the product team has asked for a cost projection. The team needs to estimate the cost based on expected request volume, average input length, and average output length. How would you build the projection?

Options:

A.

Build a cost model that uses the average per-request cost from a similar Claude application the team built last year, scaling that figure by expected request volume.

B.

Build a cost model that combines expected request volume, average input tokens, average output tokens, the chosen model's pricing, and any caching benefits.

C.

Build a cost model that combines expected request volume and average input tokens, treating output tokens as a small enough share of cost to leave out of the projection.

D.

Build a cost model based on expected request volume and the chosen model's pricing, treating average input and output token counts as variables to be estimated post-launch.

Question 20

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?

Options:

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.

Question 21

A teammate is reviewing the team's threat model for a Claude application and has asked you to identify the categories of AI-specific threats that the model should cover. The teammate has already listed traditional web application threats and wants to know what additional categories apply to a Claude application.

Which AI-specific threat categories would you add?

Options:

A.

Cross-site scripting and SQL injection, because these traditional web application threats apply with equal weight to any application that uses Claude in any way.

B.

Network-level denial of service and physical infrastructure attacks, because these categories cover the threats most likely to affect any Claude application in production.

C.

Prompt injection, data leakage from prompts or context, jailbreak attempts, and unsafe model output that bypasses application controls.

D.

Supply chain attacks on the Claude SDK because the SDK itself is the only point of vulnerability that a Claude application introduces beyond traditional web application threats.

Question 22

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?

Options:

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.

Question 23

A new agent your team built handles customer support tickets, but it routinely gets confused when a single ticket spans billing, shipping, and product issues. The agent often loses track of which sub-issue it has already addressed and revisits the same one. The team is considering architectural changes.

What architectural change would you recommend?

Options:

A.

Switch to a deterministic workflow that handles billing, shipping, and product issues in a fixed sequence.

B.

Add detailed prompting that instructs the agent to track which sub-issues have been resolved and which remain.

C.

Introduce an orchestrator agent that delegates billing, shipping, and product sub-issues to dedicated subagents.

D.

Increase the size of the agent's context window so it can hold the full ticket history at once.

Question 24

Your Claude application's error handling currently logs every API error with the same severity level. The team wants to differentiate between errors that should page an on-call engineer and errors that should be logged for later review. How would you structure the error handling?

Options:

A.

Page on every error, on the grounds that paging guarantees that no error is missed by the team during normal operation across the application's lifecycle.

B.

Disable logging for any error that does not page, treating non-paging errors as not worth recording for later review either.

C.

Categorize errors by severity based on impact and recoverability, then route each category to the appropriate channel for paging or logging.

D.

Log every error with the same severity, on the grounds that differentiating severity adds complexity that does not pay off in most application setups over time.

Question 25

You are writing a system prompt for a Claude application that needs to produce output in a specific JSON shape. The downstream system will reject any output that does not match the schema.

Your prompt would need to...

Options:

A.

Instruct Claude to use whichever output format it considers most appropriate for each request the application handles.

B.

Instruct Claude to return JSON sometimes and free text other times so the application's output captures both formats.

C.

Omit any reference to the format and rely on a post-processing step in the application to reshape Claude's output.

D.

Include explicit constraints describing the required JSON schema and an instruction to produce only output matching that schema.

Question 26

You are establishing the guardrail strategy for a Claude application. The team wants to ensure guardrail failure does not expose the application to unsafe behavior.

The guardrail strategy would...

Options:

A.

Layer multiple guardrails so a single guardrail failure does not expose the application to unsafe behavior.

B.

Apply guardrails at the application output level only and route flagged responses to a human reviewer before they are delivered to the user.

C.

Implement a single comprehensive system prompt guardrail and validate its coverage against the application's full range of expected inputs.

D.

Apply guardrails at the model level only and rely on the model's built-in safety behaviors to handle any cases the guardrail does not explicitly cover.

Question 27

You are building a Claude application that needs to deliver model output to end users as it is generated, instead of waiting for the full response to complete.

The Claude API mechanism you would use is...

Options:

A.

Structured JSON output, which delivers responses only after the model has finalized the JSON shape across the entire response.

B.

Streaming responses, which deliver tokens incrementally as the model generates them so users see output progressively.

C.

The Batch API, which delivers full responses after a delay suitable for non-interactive workloads.

D.

Prompt caching, which speeds up the cost profile of future requests and does not affect the delivery timing of the first response.

Question 28

Your Claude application returns confident-sounding answers, but occasionally those answers contain factual errors that downstream systems treat as ground truth. The team is concerned about the application's confidence-versus-accuracy gap.

How would you address the gap?

Options:

A.

Lower the model's temperature so the model's responses sound less confident and downstream systems are less likely to treat the responses as ground truth in normal operation.

B.

Apply skepticism toward confident output by adding validation steps, sourcing requirements, or confidence calibration before treating outputs as ground truth.

C.

Reject every response the application produces until a manual accuracy review is conducted on each response by a human reviewer before any downstream system uses it.

D.

Add a disclaimer to every output telling users to verify the accuracy of the output and treat the disclaimer as the primary mechanism for managing the confidence-versus-accuracy gap.

Page: 1 / 10
Total 95 questions