100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 1
An Agent SDK task calls a tool that returns an explicit failure but the loop continues as though it succeeded. Which action directly resolves the reported problem?
- Hide exceptions and return a plausible success string
- Propagate structured tool errors into the agent loop and choose recovery or stop
- Dispatch each supported invocation and correlate its individual success/error result
- Mock a failing write operation and confirm no successful deliverable is reported
Explanation
Correct Answer
B:An agent must respond to actual tool outcomes rather than assuming success.
Incorrect Answers
A:Fabricated tool results can make the model act on nonexistent state.
C:Parallel tool use needs per-call identity rather than a single generic response. However, an agent must respond to actual tool outcomes rather than assuming success.
D:Verification alone does not implement the missing change. Propagate structured tool errors into the agent loop and choose recovery or stop.
Question 2
An API returns a correct-looking JSON object but omits a mandatory evidence ID for a cited claim. Which action directly resolves the reported problem?
- Validate required attribution fields before allowing the claim to become final
- Test missing source IDs and confirm the response is flagged for follow-up
- Verify evidence-backed critical values before acting, even when structured output validates
- Substitute an invented source ID to satisfy the schema
Explanation
Correct Answer
A:A typed response lacking evidence can still be unsupported.
Incorrect Answers
B:Verification alone does not implement the missing change. Validate required attribution fields before allowing the claim to become final.
C:Structural success and factual grounding are separate response quality properties. However, a typed response lacking evidence can still be unsupported.
D:Fake references break traceability and evidence integrity.
Question 3
A code agent needs to run repository-specific checks automatically before committing. Which action directly resolves the reported problem?
- Attempt a commit violating a fixture rule and confirm the deterministic check blocks it
- Ask the model to remember to run tests without a tool-level guard
- Package the repeatable instructions as a Skill or local reusable command rather than a remote MCP server
- Configure a local deterministic hook or reviewed command for the checks
Explanation
Correct Answer
D:Predictable checks are better enforced by code than left to model discretion.
Incorrect Answers
A:Verification alone does not implement the missing change. Configure a local deterministic hook or reviewed command for the checks.
B:Prompt reminders may be skipped and do not enforce commit gating.
C:Skills express reusable workflows while MCP adds external tool integration. However, predictable checks are better enforced by code than left to model discretion.
Question 4
A developer stores runtime API endpoints and feature flags as constants scattered through several Python modules. Which action directly resolves the reported problem?
- Copy production credentials and addresses into every developer branch
- Pair the version change with capability checks and regression tests
- Centralize typed, validated environment-specific configuration with safe defaults
- Boot test development and production profiles and confirm required values and forbidden defaults
Explanation
Correct Answer
C:Explicit configuration prevents environment drift and accidental production setting inheritance.
Incorrect Answers
A:Duplicated secrets and constants increase exposure and inconsistent behavior.
B:Model availability and parameter behavior may differ between versions. However, explicit configuration prevents environment drift and accidental production setting inheritance.
D:Verification alone does not implement the missing change. Centralize typed, validated environment-specific configuration with safe defaults.
Question 5
A legal document assistant will process confidential attachments but no retention or access policy exists. Which action directly resolves the reported problem?
- Define allowed data flow, roles, retention, deletion and logging requirements before implementation
- Rely on the model to avoid mentioning sensitive text
- Review access and deletion tests for several user roles and expired retention windows
- Define policy invariants and localized phrasing quality as separate testable requirements
Explanation
Correct Answer
A:Confidential content needs an explicit lifecycle and authorization model.
Incorrect Answers
B:A safe-sounding response does not enforce access, storage or deletion controls.
C:Verification alone does not implement the missing change. Define allowed data flow, roles, retention, deletion and logging requirements before implementation.
D:Localization must not change which actions are permitted or require review. However, confidential content needs an explicit lifecycle and authorization model.
Question 6
An assistant needs to use an external code search service but the team chooses a built-in file reader that cannot access it. Which action directly resolves the reported problem?
- Select built-in tools for supported standard capabilities and custom/MCP tools only where external integration is required
- Add a test repository only to the external service and verify the correct integration sees it
- Claim the local file reader searches every connected repository automatically
- Select a supported MCP connector or custom tool with explicit scope and authentication
Explanation
Correct Answer
D:Tool choice must match the actual external data source required.
Incorrect Answers
A:Use the smallest appropriate capability surface for each action. However, tool choice must match the actual external data source required.
B:Verification alone does not implement the missing change. Select a supported MCP connector or custom tool with explicit scope and authentication.
C:A local workspace view does not confer access to remote systems.
Question 7
A JavaScript client assumes fetch success means the response is already valid JSON of the expected structure. Which action directly resolves the reported problem?
- Check HTTP status, parse JSON safely and validate the returned schema
- Test invalid JSON and unexpected fields in otherwise successful responses
- Serialize typed request objects and validate them against the expected REST schema
- Access nested result fields immediately without parsing checks
Explanation
Correct Answer
A:Successful transport can still carry incomplete or unexpected application data.
Incorrect Answers
B:Verification alone does not implement the missing change. Check HTTP status, parse JSON safely and validate the returned schema.
C:Correct encoders preserve Unicode, quotes and nested structures safely. However, successful transport can still carry incomplete or unexpected application data.
D:Schema mismatches can crash or mislabel a result even after HTTP 200.
Question 8
A Claude Code hook intended to deny dangerous commands is registered under a misspelled event name. Which action directly resolves the reported problem?
- Use the documented PreToolUse event and verify matching behavior in a test session
- Set bounded hook execution and fail-safe behavior for actions requiring approval
- Assume any lower-case hook name is accepted because the handler script exists
- Attempt a forbidden tool invocation and confirm hook refusal occurs before execution
Explanation
Correct Answer
A:Hook event identifiers and matchers must follow the supported configuration contract.
Incorrect Answers
B:Policy enforcement should remain reliable when helper processes crash or hang. However, hook event identifiers and matchers must follow the supported configuration contract.
C:A script on disk does not run unless a valid hook event and matcher invoke it.
D:Verification alone does not implement the missing change. Use the documented PreToolUse event and verify matching behavior in a test session.
Question 9
A hospital triage assistant must give preliminary guidance but must not make a final clinical diagnosis. Which action directly resolves the reported problem?
- Review acceptance tests that force a clinician review for consequential diagnoses
- Define policy invariants and localized phrasing quality as separate testable requirements
- Describe the model as highly accurate and skip escalation criteria
- Specify a human escalation and decision-support boundary in functional requirements
Explanation
Correct Answer
D:The product must distinguish assistance from unauthorized clinical decisions.
Incorrect Answers
A:Verification alone does not implement the missing change. Specify a human escalation and decision-support boundary in functional requirements.
B:Localization must not change which actions are permitted or require review. However, the product must distinguish assistance from unauthorized clinical decisions.
C:An accuracy claim does not establish safe clinical authorization.
Question 10
A model response has many content blocks but the client displays the wrong one as the user's final answer. Which action directly resolves the reported problem?
- Feed a mixed-content fixture and assert tool arguments are never shown as a completed answer
- Render the first nonempty content block without checking its type
- Maintain the full required typed conversation state for each active session
- Inspect content block types and stop_reason before rendering the final user response
Explanation
Correct Answer
D:Tool-use, text, thinking and refusal blocks have different application meanings.
Incorrect Answers
A:Verification alone does not implement the missing change. Inspect content block types and stop_reason before rendering the final user response.
B:Block ordering alone does not identify a safe final response.
C:Text-only storage can discard content blocks needed for correct continuation. However, tool-use, text, thinking and refusal blocks have different application meanings.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests