Courseiva
← Back to Claude Certified Developer questions

Scenario-based practice

Hard Difficulty Questions

Practise Claude Certified Developer practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
CCDV-F
exam code
Anthropic
vendor

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related CCDV-F topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmulti select
Full question →

An AI engineering team is auditing an expensive Claude API integration processing millions of customer support queries daily. Which TWO strategies should they implement to effectively reduce token expenditure without sacrificing core model intelligence? (Choose two)

Question 2hardmultiple choice
Full question →

Refer to the exhibit. Claude Code has encountered a test failure while implementing a feature. How should the developer effectively guide the agent to resolve this error using the agent's internal capabilities?

Exhibit

Error: Command 'npm test' failed with exit code 1. Output: 'TypeError: undefined is not a function'. Context: The agent was attempting to implement a new feature in the 'auth' service.
Question 3hardmultiple choice
Full question →

A large-scale deployment of Claude is causing intermittent spikes in latency. Which security-related monitoring practice helps differentiate between a DDoS attack and legitimate heavy usage?

Question 4hardmultiple choice
Full question →

When using tool use with streaming enabled in the Anthropic API, how does the client receive the tool arguments?

Question 5hardmulti select
Full question →

A developer is analyzing the cost of a Claude API integration that processes customer emails. The integration uses the Messages API with a system prompt, user messages, and assistant responses. Which TWO factors directly contribute to the total token cost of each API call? (Choose two.)

Question 6hardmulti select
Full question →

A developer is optimizing a Claude API integration that processes customer support tickets. Each ticket is analyzed by sending the full conversation history (up to 10,000 tokens) along with a fixed 2,000-token system prompt that contains detailed instructions and examples. The system prompt is identical for every request. The team wants to reduce costs without sacrificing response quality. Which two strategies should they implement? (Choose two.)

Question 7hardmultiple choice
Full question →

A healthcare company runs a Claude application that summarizes patient intake notes stored in an internal document store. The security team requires that the raw notes never leave the company's network and that Anthropic cannot retain them. The application currently sends full notes in the user message and uses the public Anthropic API endpoint. Which configuration change best satisfies both requirements?

Question 8hardmultiple choice
Full question →

A healthcare company uses the Anthropic API to summarize patient messages. The security team requires that protected health information never leaves the company's controlled network boundary and that Anthropic cannot retain any prompt or completion. Which deployment approach best satisfies both requirements?

Question 9hardmulti select
Full question →

A developer is building a pipeline that summarizes a 200-page technical manual with Claude Sonnet. The manual is too long for a single request, so the developer splits it into 40 chunks and summarizes each chunk independently. The final summaries must remain factually consistent with one another and with the source, and the developer has a fixed token budget. Which two techniques should the developer apply to keep the chunk summaries consistent and grounded? (Choose two.)

Question 10hardmultiple choice
Full question →

A developer is building a pipeline that uses Claude to convert free-text incident reports into a strict JSON object with fields severity, services, and summary. During testing, roughly 8 percent of outputs include a friendly preamble such as 'Sure, here is the JSON:' or wrap the object in markdown code fences, which breaks the downstream parser. The developer has already described the schema precisely in the prompt. What is the most reliable next step to eliminate the malformed outputs?

Question 11hardmultiple choice
Full question →

A developer is building an agent that reads a 60,000-token policy handbook and answers employee questions. Retrieval is not available; the full handbook must be included each turn. Answers are accurate for questions about the first 10,000 tokens but degrade badly for content near the end. Which action best addresses the degradation?

Question 12hardmultiple choice
Full question →

During a refactor, Claude Code proposes a broad edit that touches twelve files, including generated protobuf stubs under `gen/`. The developer wants to let Claude Code proceed on the hand-written source files but must ensure the generated stubs are never modified by the agent in this or any later session. Which approach best satisfies this requirement?

Question 13hardmulti select
Full question →

A developer wants Claude Code to run a series of shell commands as part of a build task but is concerned about the assistant executing arbitrary or destructive commands. Which TWO practices reduce this risk while still allowing the needed commands to run? (Choose two.)

Question 14hardmulti select
Full question →

A developer is building an MCP server that exposes several tools for managing a cloud infrastructure. The server will be used by multiple Claude clients. The developer wants to ensure that tool calls are handled efficiently and that the server can scale. Which two practices should the developer implement? (Choose two.)

Question 15hardmultiple choice
Full question →

What is the role of the user when using Claude Code for a complex refactoring task?

Question 16hardmulti select
Full question →

A security auditor is reviewing an application that uses the Model Context Protocol (MCP). Which TWO security considerations are most important for the developer to address when implementing the MCP Server?

Question 17hardmulti select
Full question →

Which THREE of these actions are considered safe and standard for Claude Code to perform during an interactive session?

Question 18hardmulti select
Full question →

When implementing a streaming connection using the Anthropic API, which TWO event types are specifically used to signal the beginning and the incremental progress of a message's content? (Select TWO)

Question 19hardmulti select
Full question →

When constructing a request to the Anthropic Messages API, developers frequently encounter constraints regarding parameter formatting and message sequencing. Which TWO of the following statements regarding Messages API mechanics are correct?

Question 20hardmultiple choice
Full question →

A developer wants to integrate Claude Code into a CI/CD pipeline. Why is this generally discouraged or difficult to achieve directly?

These CCDV-F practice questions are part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style CCDV-F questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.