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

Free and Premium Anthropic CCDV-F Dumps Questions Answers

Page: 1 / 7
Total 95 questions

Claude Certified Developer-Foundations Questions and Answers

Question 1

Your Claude application makes high-volume API calls during business hours and very few calls overnight. The team is concerned about staying within rate limits during peak hours and wants to understand how the Claude API enforces those limits.

How would you proceed?

Options:

A.

Review the API documentation for streaming endpoints and evaluate whether migrating peak-hour calls to streaming reduces exposure to rate limit enforcement.

B.

Assess the average payload size of current API calls and consolidate requests where possible to reduce the total number of calls made during peak hours.

C.

Identify the rate limits, design the application to stay within them during peak hours, and use exponential backoff when limits are reached.

D.

Examine the peak-hour request patterns in your application logs and smooth traffic by distributing requests more evenly across the business-hours window.

Buy Now
Question 2

You are designing a Claude application that will require structured JSON output for downstream processing. The output schema is well-defined, and downstream systems will reject malformed JSON.

Options:

A.

Structure the prompt to request output in a schema that is described in plain English, with downstream systems parsing whatever shape Claude produces.

B.

Define a clear schema and structure the prompt to request output in that schema, with downstream systems handling any validation needed.

C.

Define a clear schema, structure the prompt to request output in that schema, and validate Claude’s output against the schema before passing it downstream.

D.

Avoid structured output and use free-form text everywhere instead, on the grounds that free-form text is more flexible and handles edge cases better than structured schemas.

Question 3

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 4

The product team has asked you to choose a Claude model for a new feature. The team has provided functional requirements but has not specified performance, cost, or quality targets. The team's product manager says, "Use whatever model gives us the best results."

How would you respond?

Options:

A.

Ask the product team to specify quality, latency, and cost targets, then select the model whose tradeoffs best fit those targets.

B.

Run every Claude model on a representative sample and pick whichever scores best on a generic benchmark.

C.

Choose a mid-tier model and ship the feature, because mid-tier models work for most use cases without specified targets.

D.

Choose the largest, highest-capability Claude model, on the grounds that "best results" is most likely to mean highest quality.

Question 5

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 6

You are designing a Claude application that processes user-submitted text. Some of that text could include sensitive information such as account numbers or passwords that the application should not send to Claude.

How would you design the application?

Options:

A.

Define the application boundary explicitly, identify what content can leave the boundary for Claude, and add filtering or redaction at the boundary.

B.

Add a prompt instruction in the system prompt specifying the categories of sensitive information Claude should disregard when processing user-submitted text.

C.

Log all user-submitted text before it is sent to Claude and review the logs periodically to identify whether sensitive information is reaching the model.

D.

Apply filtering at the boundary for the most commonly observed sensitive data patterns and expand coverage to additional patterns based on findings from production monitoring.

Question 7

You are designing an agent that handles a complex claim-processing workflow. Each claim moves through fact extraction, eligibility evaluation, and a decision step. The three subtasks have distinct success criteria, and some claims require iteration between fact extraction and eligibility evaluation before a decision can be reached.

Which agent pattern would you apply?

Options:

A.

A graph-based pattern that lets the agent move between subtasks based on the state of each claim, with each subtask evaluated against its own criteria.

B.

A streaming pattern that emits partial decisions as the agent processes each claim, refining the output until a final decision emerges from the stream.

C.

A single tool-use loop pattern that gives one agent access to all the tools needed for fact extraction, eligibility evaluation, and decision-making.

D.

A linear chain pattern that processes every claim through fact extraction, then eligibility evaluation, then decision, with no return paths between subtasks.

Question 8

You are running Claude Code as part of an automated continuous integration pipeline. The pipeline needs Claude Code to execute a set of well-defined tasks without prompting for confirmation, and the output needs to be captured for downstream processing.

How would you configure the pipeline?

Options:

A.

Replace Claude Code with a different tool that does not require any configuration to operate without confirmation prompts in the pipeline.

B.

Run Claude Code in headless mode with the required permissions configured in settings.json and capture its output for downstream processing.

C.

Disable Claude Code's confirmation prompts globally across all environments so the pipeline runs without interruption from any prompt.

D.

Run Claude Code in interactive mode and have a developer manually approve every confirmation prompt while the pipeline executes its tasks.

Question 9

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 10

Your Claude application's token costs have grown faster than expected. The team has not been tracking token usage by feature, so the team cannot identify which features are driving cost. The team is debating how to respond.

How would you respond?

Options:

A.

Tell the team that cost growth is unavoidable as the application scales and that no investigation will change the trajectory of the application's cost over the next several quarters.

B.

Switch every feature to the smallest model to cut cost broadly across the application during normal operation.

C.

Reduce token usage uniformly across all features by half, applying the cut evenly across the application during normal operation.

D.

Add token usage tracking by feature to the application's logging so the team can identify which features drive cost before recommending changes.

Question 11

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 12

The team is debating whether to integrate with the Claude API directly or through a third-party abstraction layer that supports multiple LLM providers. The team has identified that all current and projected use cases run on Claude, no internal customer has requested LLM portability, and the team's product roadmap does not mention multi-provider support over the next two years. The third-party abstraction would add roughly 15 percent overhead in code complexity and introduce one additional dependency.

Which integration approach would you recommend?

Options:

A.

The third-party abstraction layer, on the grounds that multi-provider support is valuable for any application as a matter of long-term flexibility across vendors.

B.

Both integration paths in parallel, where the application uses each path on different runs to compare which performs better in production over time.

C.

A custom multi-provider abstraction layer the team builds in-house so that the team controls every part of the abstraction the application uses for its API calls.

D.

Direct integration with Claude through its SDK, because no multi-provider need exists and abstraction would add complexity that does not pay off.

Question 13

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 14

Your team is debating how to manage the prompts used in your Claude application. Some prompts are checked into the code repository, some live in a separate configuration file, and some are constructed inline at runtime. The result is inconsistent, and a recent prompt change went out without code review.

What steps would you take?

Options:

A.

Move all prompts out of version control to a separate spreadsheet that team members can edit freely as the application evolves over time.

B.

Move all prompts to inline runtime construction so the team can update them quickly through a streamlined process outside the standard code review workflow.

C.

Establish a single source of truth for prompts but keep change review optional, allowing developers to update prompts directly when changes are urgent.

D.

Establish a single source of truth for prompts, version-control them alongside code, and require code review for prompt changes.

Question 15

You have just shipped a new Claude-powered application to production. The development phase is complete, and the system is now in active use by internal teams.

The next phase of work for this system is...

Options:

A.

Retiring the system, since shipping is the final lifecycle stage for any application that reaches production.

B.

Running a formal post-deployment review that assesses the development phase before the team does any further work on the system.

C.

Operating and maintaining the system, including monitoring, responding to issues, and planning evolution.

D.

Handing the system over to a separate operations team that will manage it independently of the development team going forward.

Question 16

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 17

You are designing a Claude application that helps medical researchers analyze multi-step clinical case studies. The application must work through differential diagnoses by considering symptom patterns, weighing evidence across competing hypotheses, and showing intermediate reasoning steps before producing a final recommendation. The team is choosing among Claude's available model options.

The model option best suited to this use case is...

Options:

A.

Zero-shot prompting alone with no model option adjustments, which keeps the application's configuration as simple as possible.

B.

Extended thinking, which lets the model reason through the differential diagnosis steps before producing the final recommendation.

C.

Fast mode, which prioritizes the lowest possible latency at the expense of reasoning depth on complex tasks.

D.

A smaller model with a tighter context window, which encourages the model to focus its limited capacity on the task.

Question 18

Your Claude agent has too many tools, and many of them have overlapping functionality. The agent often picks an inappropriate tool when several could plausibly handle a request.

How would you address the tool selection problem?

Options:

A.

Add more tools to cover every variation of the requests the agent handles, on the grounds that more tools give the agent more accurate options to choose from.

B.

Remove all tools and rely on the agent's general capability instead, with the application losing the workflows that previously relied on tools.

C.

Add detailed examples to each tool's description so the agent can match incoming requests to the right tool by example, treating the examples as the team's selection mechanism.

D.

Restructure the tool set by consolidating overlapping tools, removing unused tools, and clarifying tool descriptions so each tool has a distinct purpose.

Question 19

Your team is integrating Claude into an existing REST API service. The service handles concurrent requests, and you are deciding how to structure the Claude API calls within the existing async codebase.

How would you structure the Claude calls?

Options:

A.

Run Claude API calls in a separate thread pool isolated from the rest of the service so the main event loop is not affected.

B.

Replace the existing async REST service with a synchronous service to match the call style of synchronous Claude SDK clients.

C.

Use the Claude SDK's async client and structure Claude calls as awaitable operations alongside the rest of the service's async code.

D.

Make synchronous Claude API calls and block the async event loop until each call completes before processing the next request.

Question 20

Your application uses the Messages API to handle multi-turn conversations. Each new turn resends the entire conversation history, and your token costs are growing as conversations get longer. You suspect there is a more efficient approach.

How would you address this?

Options:

A.

Use prompt caching to reuse the static portions of the conversation context across turns instead of paying for them at the normal input-token rate on every request the application sends.

B.

Switch to the Batch API for every turn so the per-call cost is reduced, treating the batch as the team's primary cost-control mechanism for multi-turn work.

C.

Truncate every conversation to the last two messages so that token usage stays low and costs remain predictable across the application's normal operation.

D.

Summarize each conversation after every turn and replace the full history with the summary on the next request, reducing token count at the cost of fidelity.

Question 21

You maintain a Claude application that uses Claude Sonnet 4.5 across several production workflows. Anthropic released Claude Sonnet 4.7, which your evaluation suite shows performing 8% better on your highest-volume task. However, this version produces different output formatting on two of your structured-extraction prompts that downstream consumers parse with regex-based code.

To roll out the upgrade, you would...

Options:

A.

Adjust the prompts to constrain output format, re-run evaluations against the expected parsing-layer schema, then roll the model out with a feature flag and the option to revert per workflow.

B.

Switch the model identifier in the application's configuration to the new model, then monitor production for parsing failures to be fixed as failures surface.

C.

Rewrite the downstream parsing code to accept a wider range of output formats to ensure the application is resilient to future model upgrades without requiring prompt changes.

D.

Keep the older model in production to preserve the fragile parsing layer that may risk breaking with any model change.

Question 22

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...

Options:

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.

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 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 25

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...

Options:

A.

An orchestrator and subagent pattern with specialized subagents assigned to each subtask.

B.

A memory pattern that stores the entire research history in advance, before any subtask begins execution.

C.

A context-window pruning pattern that drops each subtask's content after the agent moves on.

D.

A single tool-use loop that includes every tool the agent might need across all subtasks.

Question 26

Your Claude application is deployed to development, staging, and production environments. Each environment uses a different model version, different prompt versions, and different plugin dependencies, but the configuration is currently scattered across environment variables, hardcoded values, and undocumented setup scripts.

How would you manage the configuration?

Options:

A.

Use the latest available model version everywhere and stop pinning model versions, on the grounds that pinning adds maintenance overhead the team should aim to reduce.

B.

Move all configuration into hardcoded application code to reduce reliance on external configuration sources that are difficult to track over time.

C.

Consolidate the configuration into a version-controlled system documenting model version pinning, prompt versioning, and plugin dependencies for each environment.

D.

Standardize all environments to use the same configuration values to eliminate the differences between development, staging, and production.

Question 27

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 28

A Claude application is producing outputs that drift away from the expected JSON format after several conversation turns. The first few turns produce correctly formatted output, but later turns gradually lose structure.

How would you address the drift?

Options:

A.

Identify the failure mode as format drift, examine how the conversation context evolves over turns, and address the drift through context management or output validation.

B.

Truncate every response to the first few characters, validate that the truncated output matches the expected JSON structure, and log any mismatches for review.

C.

Restart the application after every turn and monitor whether the format remains consistent across subsequent interactions.

D.

Switch to a smaller Claude model and re-test the application to determine whether the drift persists across conversation turns.

Page: 1 / 7
Total 95 questions