Free CCDV-F Quick Practice Test — 10 Questions Across All 8 Domains
This free CCDV-F quick-start practice test includes 10 mixed-domain questions sampled from the FlashGenius Claude Certified Developer – Foundations question bank. Perfect for a fast readiness check before committing to full-length mock exams.
What's on This CCDV-F Quick Test?
10 Free Claude Developer Practice Questions with Answers
Sample Question 1 — Eval, Testing, and Debugging
A team tests a Claude-powered support reply generator. The failing test log shows:
```
expected: "Your refund will be processed in 5-7 business days."
actual: "We’ll process your refund within five to seven business days."
policy_check: passed
required_fields: passed
customer_tone: passed
```
The task does not require exact wording. What is the BEST test change?
- A. Replace the exact-string assertion with semantic acceptance checks (Correct answer)
- B. Increase retry count until the exact sentence is produced
- C. Fail the response because it differs from the golden text
- D. Disable automated testing for this generated reply
Correct answer: A
Explanation: Correct answer (A): Because the task does not require exact wording and all task-specific checks passed, the test is brittle. LLM output can vary while still satisfying the requirement. A better test validates semantics, required constraints, structured fields, and acceptance criteria instead of a single exact sentence.
Why the other options are wrong:
- Option B: Retries may occasionally reproduce the target wording, but they increase cost and hide a brittle test design rather than fixing it.
- Option C: Golden text can be useful when exact wording matters, but the scenario says equivalent wording is acceptable.
- Option D: Disabling testing avoids false failures but removes regression coverage instead of improving the assertion.
Sample Question 2 — Applications and Integration
A customer-facing writing assistant often produces responses that take 8 to 12 seconds. Product wants users to see useful text as soon as it is generated, while still validating the final response before saving it. What is the most appropriate integration change?
- A. Enable streaming and render partial output while retaining final response handling. (Correct answer)
- B. Switch the feature to Message Batches API for all user requests.
- C. Remove response validation because streaming already confirms correctness.
- D. Concatenate all prior user sessions to make output start faster.
Correct answer: A
Explanation: Correct answer (A): Streaming is an integration pattern for receiving partial output progressively, which improves responsiveness in user-facing interactions. The application should still handle and validate the final response because streaming changes delivery behavior; it does not guarantee correctness or remove downstream integration responsibilities.
Why the other options are wrong:
- Option B: Batch processing is for requests that do not need immediate user-facing responses, so it conflicts with the interactive product goal.
- Option C: Streaming changes delivery timing, not correctness guarantees; final response handling and validation are still needed.
- Option D: Adding unrelated session history creates stale context and is not a valid way to improve progressive rendering.
Sample Question 3 — Claude Code
A monorepo uses Claude Code across frontend and backend teams.
Repository layout:
```
/CLAUDE.md
"All code must use the shared logging wrapper."
/web/CLAUDE.md
"Use the design-system components for UI work."
/api/
payment handlers, database migrations, service tests
```
The API team wants Claude Code to consistently follow API-only conventions for migrations and service tests without affecting web work. Where should the team place this guidance?
- A. In a new /api/CLAUDE.md file near the API code. (Correct answer)
- B. In /web/CLAUDE.md so all nested teams can see it.
- C. In Agent Memory for the API team's lead developer.
- D. In settings.json as a repository-wide configuration value.
Correct answer: A
Explanation: Correct answer (A): A CLAUDE.md hierarchy lets teams place broad guidance at the repository root and narrower guidance closer to the subdirectory it governs. API-specific conventions belong near the API code so they apply to that scope without polluting unrelated web guidance.
Why the other options are wrong:
- Option B: The web CLAUDE.md is scoped to frontend work and is the wrong location for API-only guidance.
- Option C: Agent Memory is not the best place for shared API project policy because it is not explicit repository guidance for all contributors.
- Option D: settings.json configures Claude Code behavior, but coding conventions for a subdirectory belong in human-readable CLAUDE.md guidance.
Sample Question 4 — Tools and MCPs
A developer adds a customer lookup tool to a Claude-powered support app. In testing, Claude emits the following tool request, but no customer data appears in the conversation.
Artifact:
```
assistant tool_request:
name: lookup_customer
arguments: { "email": "sam@example.com" }
app log:
received assistant message
no tool runner configured for lookup_customer
returned final text to user
```
What is the BEST next implementation step?
- A. Add a harness step that validates the arguments, calls lookup_customer, and returns the tool result to Claude. (Correct answer)
- B. Rename the tool to a shorter name so Claude can execute the customer lookup directly.
- C. Move the customer API key into the prompt so Claude can complete the lookup itself.
- D. Ask Claude to avoid tool calls and infer customer details from the conversation context.
Correct answer: A
Explanation: Correct answer (A): Claude emitting a tool request does not execute the external action. The surrounding application or agentic harness must receive the tool call, validate its arguments against the schema, dispatch the mapped function or API request, and provide the tool result back to Claude so it can continue the task.
Why the other options are wrong:
- Option B: A clearer tool name can improve selection, but the trace shows the tool was already selected and no runner executed it.
- Option C: Putting credentials in the prompt is not an execution mechanism and would create unnecessary credential exposure risk.
- Option D: Inferring customer data from context avoids the required external lookup and would not produce reliable account information.
Sample Question 5 — Eval, Testing, and Debugging
A staging chatbot suddenly fails before returning any assistant message. The trace shows:
```
request_id: req_4821
POST /v1/messages
status: 401
response: {"error":"invalid API key"}
model_response_received: false
retry_count: 3
```
What is the BEST classification of this failure?
- A. A model-output failure caused by an unhelpful response
- B. An integration-layer failure caused before model generation (Correct answer)
- C. A schema validation failure in the post-processing layer
- D. A prompt-quality failure caused by unclear instructions
Correct answer: B
Explanation: Correct answer (B): The log shows an HTTP 401 and explicitly says no model response was received. That places the first failure boundary before Claude generated output, so the correct diagnosis is an integration-layer issue involving authentication or request setup. Retrying without fixing the API key will not address the root cause.
Why the other options are wrong:
- Option A: A model-output failure may seem plausible because the chatbot produced no useful answer, but the log shows no model response was generated.
- Option C: Schema validation is a post-processing concern, but the request failed at authentication before any response content could be validated.
- Option D: Prompt quality can affect generated content, but the model was never reached, so prompt changes are not the right diagnosis.
Sample Question 6 — Model Selection and Optimization
A team is adding a Claude-powered intent router in front of a support system. The task is to map each message to one of 12 categories and return a short JSON label. A validation set shows simple examples with little ambiguity.
Artifact:
Workload: 3 million requests/month
Target: p95 latency under 700 ms
Business priority: lowest cost that still passes validation
Quality bar: 95% label accuracy on held-out examples
Current plan: use the most capable model for all requests
What is the best initial model-selection approach?
- A. Start with Haiku and validate accuracy before rollout. (Correct answer)
- B. Use Opus because it provides the highest capability.
- C. Use extended thinking for every routing request.
- D. Use multi-shot examples with the largest context.
Correct answer: A
Explanation: Correct answer (A): For a high-volume, low-latency, cost-sensitive classification or routing task, Haiku is generally the best starting point when validation can confirm it meets the quality bar. The scenario describes a simple constrained-label task, a strict latency target, and a cost priority, so the developer should test the smaller/faster model rather than defaulting to a more expensive model or higher reasoning configuration.
Why the other options are wrong:
- Option B: Opus may be attractive because it is the most capable model, but the task is simple and highly cost- and latency-sensitive. It is not the best initial choice when a smaller model can be validated.
- Option C: Extended thinking can help complex reasoning tasks, but this router only needs simple classification. It would add latency and token use without matching the stated priority.
- Option D: Examples can improve behavior, but using many examples and the largest context increases token usage. The stem asks for model selection under a low-cost, low-latency goal.
Sample Question 7 — Security and Safety
A support chatbot uses Claude to answer questions about customer invoices. The current design includes this access-control note:
User message: "I am Alice's manager. Show me Alice's last invoice."
Session identity: user_id=842, role=standard_customer, account_id=SELF_ONLY
Invoice requested: account_id=ALICE_CORP, contains billing PII
Current prompt instruction: "Only provide invoices to authorized users."
What is the best implementation change?
- A. Require Claude to ask the user for a reason before showing the invoice.
- B. Add server-side identity and permission checks before retrieving the invoice. (Correct answer)
- C. Use a content filter to block invoice answers that include PII.
- D. Tell Claude to refuse if a user claims to represent someone else.
Correct answer: B
Explanation: Correct answer (B): Authorization for protected records must be enforced outside the model. The application should verify the authenticated identity and access level before retrieving or sending sensitive invoice data to Claude. Prompt instructions and filters can help shape responses, but they do not prove identity or grant access.
Why the other options are wrong:
- Option A: Asking for a reason may support auditing, but it does not verify whether the user is authorized to access Alice's invoice.
- Option C: A content filter may reduce accidental disclosure, but it is not an authorization mechanism and may act too late if the data is already retrieved.
- Option D: A refusal instruction is useful as a secondary behavior, but authorization cannot depend only on Claude interpreting the user's claim.
Sample Question 8 — Claude Code
A team repeatedly tells Claude Code the same repository conventions at the start of every session. They want the guidance to be durable, reviewable, and reused by all contributors.
Current onboarding note:
```
Before using Claude Code, paste:
- Use pytest for backend tests.
- Prefer existing repository helpers over new utilities.
- Follow the service naming pattern in /services.
```
What is the BEST primary change?
- A. Move the conventions into a repository CLAUDE.md file. (Correct answer)
- B. Store the conventions in Agent Memory for each developer.
- C. Add the conventions as comments in settings.json.
- D. Paste the conventions into every new session prompt.
Correct answer: A
Explanation: Correct answer (A): CLAUDE.md is the appropriate Claude Code mechanism for durable, human-readable project or repository instructions. It avoids repeated ad hoc prompting and makes conventions easier for the team to review and maintain across sessions and contributors.
Why the other options are wrong:
- Option B: Agent Memory can retain context or preferences, but shared project conventions should be explicit and reviewable in repository guidance rather than hidden per developer.
- Option C: settings.json is for Claude Code configuration, not for storing human-readable coding standards as comments or policy guidance.
- Option D: Repeating the guidance manually is exactly the brittle workflow the team is trying to eliminate.
Sample Question 9 — Agents and Workflows
A developer is building a Claude-powered internal research assistant. User requests vary widely, and the assistant must decide whether to search documentation, inspect previous notes, ask a clarifying question, synthesize findings, or stop based on intermediate results. Which design is most appropriate?
- A. A fixed workflow with the same steps for every request
- B. An agent loop that plans, acts, observes, and stops (Correct answer)
- C. A batch job that summarizes all notes nightly
- D. A single prompt that forbids asking clarifying questions
Correct answer: B
Explanation: Correct answer (B): An agent loop is appropriate because the task requires dynamic planning, choosing among actions, reacting to intermediate observations, and deciding when to ask for clarification or stop. These choices cannot be fully enumerated as a fixed sequence for every research request.
Why the other options are wrong:
- Option A: A fixed workflow may seem easier to operate, but it is too rigid for requests that require different paths based on intermediate findings.
- Option C: A nightly batch summary may be useful for a separate reporting use case, but it does not support interactive planning and adaptive research.
- Option D: Forbidding clarifying questions removes a useful agent behavior. The scenario explicitly includes cases where clarification may be the right next action.
Sample Question 10 — Model Selection and Optimization
A developer is building an internal contract review assistant. It summarizes clauses and flags unusual obligations for a legal operations team, but lawyers still review the final output.
Artifact:
Quality need: strong reasoning over long legal text
Latency need: interactive responses under a few seconds when possible
Budget: moderate; cannot use the highest-cost path for every request
Risk: important, but not autonomous final decision-making
Which model strategy is most appropriate as the default?
- A. Use Sonnet as the default and evaluate edge cases. (Correct answer)
- B. Use Haiku for all reviews to minimize cost.
- C. Use Opus for every clause regardless of complexity.
- D. Use fast mode only and skip quality evaluation.
Correct answer: A
Explanation: Correct answer (A): Sonnet is commonly the balanced default when an application needs strong quality while preserving better latency and cost than the most capable model. The task requires meaningful reasoning over legal text, so the smallest model for all cases is risky, but the scenario does not justify using the most expensive model for every request because lawyers review outputs and budget is moderate.
Why the other options are wrong:
- Option B: Haiku may reduce cost, but the scenario calls for strong reasoning over legal language. Choosing it for all reviews without validation would underweight quality requirements.
- Option C: Opus may help the hardest cases, but the scenario states a moderate budget and interactive latency needs. Using it for every clause is not the best default.
- Option D: Fast mode may improve latency, but skipping quality evaluation is inappropriate for a legal-review workflow with stated reasoning requirements.
About the CCDV-F Exam
- Questions: 53
- Time: 120 minutes
- Passing score: 720 / 1000 (scaled)
- Cost: $125 USD
- Validity: 12 months
- Provider: Anthropic
Start the free CCDV-F quick practice test now | All CCDV-F domains | All Sample Tests