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

CCDV-F Claude Certified Developer-Foundations Questions and Answers

Questions 4

You are designing a Claude application that maintains user sessions across multi-turn conversations. The product team has asked how the application will handle session lifecycle: when sessions should expire, how state is reset, and how the application avoids carrying stale context into new conversations.

How would you design session lifecycle?

Options:

A.

Define explicit session expiration rules, state reset triggers, and rules for starting fresh sessions so stale context does not leak into new conversations.

B.

Define a single short session timeout that applies across all conversations and treat the timeout as the application's complete session lifecycle mechanism.

C.

Define explicit session expiration rules but rely on users to start new conversations when they want fresh context, with no automatic reset triggers in the application.

D.

Define state reset triggers tied to specific application events but apply them across all sessions globally, with no per-session expiration rules.

Buy Now
Questions 5

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.

Buy Now
Questions 6

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.

Buy Now
Questions 7

You are choosing a Claude model for a high-volume classification task. Each classification is straightforward, latency requirements are tight, and per-request cost matters at scale.

Which model would you choose?

Options:

A.

A mid-tier Claude model selected by default, because mid-tier models balance quality and cost in a way the team can apply across most tasks.

B.

Multiple Claude models in series, where each request runs through more than one model and the application combines the outputs into a final classification.

C.

A smaller, faster Claude model, because the task is straightforward and the workload prioritizes latency and per-request cost at scale.

D.

The largest, highest-capability Claude model, to maximize quality on every classification the application produces during normal operation across all requests.

Buy Now
Questions 8

You are setting up a Claude application that requires API keys for several external services.

What is the best way to store the keys?

Options:

A.

Put the keys in the application's configuration file and check the configuration file into the team's repository alongside the rest of the source code.

B.

Store the keys in a secrets manager or environment-specific configuration that is not checked into source code, and load them at runtime.

C.

Use a single shared key across all external services, so any developer working on the application can find the keys easily during development.

D.

Email the keys to each developer as needed and have each developer paste the keys into their local environment when they begin working on the application's code.

Buy Now
Questions 9

You are setting up a CI/CD pipeline for a new Claude application. The pipeline needs to run automated checks on every pull request before code can be merged.

The CI/CD checks would include...

Options:

A.

Automated tests of the Claude integration, linting, and any other standard quality gates the team applies to its other services.

B.

A full end-to-end production deployment on every pull request to catch all possible issues before any code is merged into the main branch.

C.

Automated tests of the Claude integration only, with linting handled separately during local development on each developer's machine.

D.

Automated linting and security scanning, with Claude integration testing handled manually during pre-release verification by a designated reviewer.

Buy Now
Questions 10

Your Claude application's content policy specifies categories of content it should not produce under any circumstance. The application currently has no mechanism to enforce this policy, and content matching these categories is appearing in the application's output.

How would you enforce the content policy?

Options:

A.

Enhance the system prompt to contain explicit instructions for the categories to avoid, complete with examples of each category. Treat the strengthened prompt as the primary enforcement mechanism for the application's content policy across all responses.

B.

Remove the content policy entirely and let any output reach users during normal operation, accepting whatever content the application produces in response to incoming traffic.

C.

Move enforcement to users by asking them to report content policy violations after the violating content has already reached them in the application's responses.

D.

Add deterministic output filtering that checks responses against the content policy before they reach users.

Buy Now
Questions 11

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.

Buy Now
Questions 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.

Buy Now
Questions 13

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.

Buy Now
Questions 14

Your Claude application requests structured JSON output from the model. Most of the time the JSON is well-formed, but occasionally Claude returns malformed JSON that breaks downstream processing.

How would you handle the malformed output?

Options:

A.

Manually inspect every response before downstream processing so a human reviewer catches any malformed JSON before the application passes the response to downstream systems.

B.

Add output validation that parses Claude's response against the expected schema and treats malformed output as a recognized error path with retry or fallback handling.

C.

Switch to free-form text output so the application no longer depends on JSON parsing for any of the responses it sends to downstream systems during normal operation.

D.

Retry the same request repeatedly until valid JSON appears in the model's response, with the retry loop adding delay to the application's response time on affected requests.

Buy Now
Questions 15

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.

Buy Now
Questions 16

A teammate has submitted a pull request that adds a Claude-powered feature to your service. The code works, but the prompt and model selection are hard-coded inline, error handling is missing, and there are no tests for the integration.

What would you request during code review?

Options:

A.

Approve the pull request and add the missing pieces yourself in a follow-up commit so the teammate can move on to other work immediately.

B.

Approve the pull request as-is, on the grounds that the feature works in the happy path and the missing pieces can be added in follow-up commits.

C.

Request changes that move prompt and model configuration to a configurable location and add tests, treating the missing error handling as a follow-up release item.

D.

Request changes that move prompt and model configuration to a configurable location, add error handling for Claude API failures, and add tests for the integration.

Buy Now
Questions 17

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

Options:

A.

Augmenting the context with all available content at every step so each step has access to the entire prior history of the workflow during its reasoning.

B.

Using a single global prompt that applies to every step in the workflow no matter what each step is reasoning about during its run.

C.

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

D.

Embedding the full prior history in each step regardless of whether the step needs the prior history for its reasoning.

Buy Now
Questions 18

Your Claude application has been running for several conversation turns, and you notice the model occasionally references information that was discussed many turns ago but is no longer relevant. You suspect context drift is causing the model to weight stale content too heavily.

How would you address the drift?

Options:

A.

Increase the context window size so all turns of the conversation remain visible to the model in full detail.

B.

Reset the conversation after every turn so the model loses all prior turns when generating a response.

C.

Apply compaction to summarize older portions of the conversation so the gist remains while the specifics carry less weight.

D.

Truncate the conversation so the model sees only the most recent turn during each subsequent response.

Buy Now
Questions 19

You are designing an agent that processes vendor invoices. The work involves a small number of well-understood steps, but occasionally an invoice arrives in an unexpected format that requires the system to decide between rerouting, requesting clarification, or flagging for human review.

The most appropriate architecture for this system is...

Options:

A.

A fully autonomous agent that handles every invoice from start to finish across all formats.

B.

A manager agent that delegates each step of standard invoice processing to a dedicated subagent, with a separate subagent handling each unexpected format.

C.

A single large prompt that processes every incoming invoice, both standard and unexpected, in one model call.

D.

A workflow for the standard path with an agent invoked at the decision point for unexpected formats.

Buy Now
Questions 20

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.

Buy Now
Questions 21

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
Questions 22

You are explaining to a stakeholder why running the same Claude prompt twice can produce slightly different results. The stakeholder is concerned this means the application is broken.

How would you address the stakeholder's concern?

Options:

A.

Tell the stakeholder the variation is a bug that the team will fix in the next release of the application, then create a work ticket to fix the bug.

B.

Tell the stakeholder the variation comes from network latency and that switching to a faster network connection will produce more consistent results across runs.

C.

Explain that LLMs are non-deterministic by default due to sampling, and describe how the application handles this through validation, retries, or temperature adjustment.

D.

Tell the stakeholder the variation is caused by Claude being updated continuously by Anthropic, and that switching to a fixed model snapshot will eliminate the variation entirely.

Buy Now
Questions 23

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.

Buy Now
Questions 24

You are implementing a custom tool for your Claude agent. The tool needs to interact with an external pricing service that returns product data.

Which of the following best practices would you apply as you develop this tool?

Options:

A.

Omit the tool description and let the model infer when to use the tool based on the tool's name and the rest of the prompt context.

B.

Define the tool with a loose schema and let the model interpret the inputs flexibly on each call the agent makes.

C.

Implement the tool with no error handling and let the agent loop catch failures whenever the pricing service returns an error during operation.

D.

Define the tool with a clear schema, write a precise description for when to call it, and handle pricing service errors explicitly.

Buy Now
Questions 25

Your agent is processing tasks that take 30 to 60 minutes to complete. Each task has well-defined intermediate checkpoints, and the team wants the agent to be able to resume from the most recent checkpoint if a process is interrupted.

How would you implement this resumability?

Options:

A.

Increase the agent's timeout to several hours so that interruptions become rare enough to ignore in practice.

B.

Apply a checkpointing pattern that persists the agent's intermediate state and reloads that state when resuming an interrupted task.

C.

Run two copies of the agent in parallel for every task and use whichever one finishes first as the source of truth.

D.

Restart the task from the beginning whenever a process is interrupted.

Buy Now
Questions 26

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.

Buy Now
Questions 27

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.

Buy Now
Questions 28

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.

Buy Now
Exam Code: CCDV-F
Exam Name: Claude Certified Developer-Foundations
Last Update: Sep 1, 2026
Questions: 95

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99