100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 140
A payroll pipeline executes a fixed payroll calculation but the proposed design delegates arithmetic to autonomous reasoning. Which action directly resolves the reported problem?
- Implement a deterministic sequential workflow with explicit error branches
- Keep payroll math deterministic and use AI only for bounded supporting tasks
- Ask an agent to infer the correct formula from recent chat history
- Replay the same payroll data and confirm identical validated amounts despite model variability
Explanation
Correct Answer
B:Statutory calculations require repeatable validated code, not stochastic tool choice.
Incorrect Answers
A:Known ordered steps do not require an autonomous model to choose each next operation. However, statutory calculations require repeatable validated code, not stochastic tool choice.
C:Chat history is not an audited source of payroll formulas.
D:Verification alone does not implement the missing change. Keep payroll math deterministic and use AI only for bounded supporting tasks.
Question 141
A Messages API call fails with an invalid-parameter 400 but the client retries with exponential backoff. Which action directly resolves the reported problem?
- Supply the same invalid request twice and confirm client surfaces a nonretryable validation failure
- Correct the request shape or value after classifying the permanent API validation error
- Treat every HTTP error as a transient outage
- Reproduce the exact tool adapter call with authenticated scope and log the permission error
Explanation
Correct Answer
B:A malformed input will remain malformed regardless of wait time.
Incorrect Answers
A:Verification alone does not implement the missing change. Correct the request shape or value after classifying the permanent API validation error.
C:Blind retries increase cost and never make a broken JSON schema valid.
D:Integration-layer authorization failures are different from reasoning or prompt failures. However, a malformed input will remain malformed regardless of wait time.
Question 142
A retrieval app continually appends duplicate policy snippets as separate documents. Which action directly resolves the reported problem?
- Treat the number of duplicate snippets as corroborating sources
- Return several copies of one policy and verify the assistant does not amplify it as independent support
- Retrieve the current authoritative policy version and archive or label superseded guidance separately
- Deduplicate and rank retrieved passages by relevance and authority before constructing the prompt
Explanation
Correct Answer
D:Redundant context wastes budget and can overweight repeated evidence.
Incorrect Answers
A:Repetition of one source is not independent evidence.
B:Verification alone does not implement the missing change. Deduplicate and rank retrieved passages by relevance and authority before constructing the prompt.
C:Conflicting obsolete instructions create instruction ambiguity. However, redundant context wastes budget and can overweight repeated evidence.
Question 143
A repository mixes business logic and API transport handling in one large method that is difficult to test. Which action directly resolves the reported problem?
- Unit test rule logic without network calls and contract-test the adapter separately
- Separate typed adapters, domain logic and persistence through small testable interfaces
- Duplicate a large copy of the method for each endpoint
- Load secrets from approved runtime secret storage and exclude them from repository artifacts
Explanation
Correct Answer
B:Modular boundaries enable independent tests and reduce accidental coupling.
Incorrect Answers
A:Verification alone does not implement the missing change. Separate typed adapters, domain logic and persistence through small testable interfaces.
C:Copying coupled code multiplies bugs and makes behavior diverge.
D:Credential isolation belongs to infrastructure configuration, not checked-in application code. However, modular boundaries enable independent tests and reduce accidental coupling.
Question 144
A model's response contains a disallowed recommendation and the app only asks the same prompt more firmly. Which action directly resolves the reported problem?
- Delimit untrusted user content as data and retain response format in trusted policy
- Feed a violating scenario and verify the application prevents the side effect
- Add deterministic enforcement of the prohibited action and test the rule
- Increase capitalization of the rule and remove validation
Explanation
Correct Answer
C:Critical restrictions need code-level checks when prompt adherence is insufficient.
Incorrect Answers
A:Untrusted source text should not override output contracts. However, critical restrictions need code-level checks when prompt adherence is insufficient.
B:Verification alone does not implement the missing change. Add deterministic enforcement of the prohibited action and test the rule.
D:Strong wording alone cannot guarantee enforcement.
Question 145
A REST client accepts HTTP 200 as proof that the entire requested workflow succeeded. Which action directly resolves the reported problem?
- Validate response fields and subsequent business-state conditions before confirming success
- Check status_code only and ignore an error field in the body
- Use a JSON serializer or SDK types and validate the schema before sending
- Feed a success-status response with an application-level failure and verify it is rejected
Explanation
Correct Answer
A:Transport success means the server handled a request, not necessarily the intended domain operation completed.
Incorrect Answers
B:Application-level errors can be transported in otherwise successful HTTP responses.
C:Proper encoding prevents quotes and control characters from corrupting wire format. However, transport success means the server handled a request, not necessarily the intended domain operation completed.
D:Verification alone does not implement the missing change. Validate response fields and subsequent business-state conditions before confirming success.
Question 146
An MCP tool handler trusts caller-provided paths and can read files outside its designated workspace. Which action directly resolves the reported problem?
- Assume MCP clients always send safe paths because the model is trusted
- Try path traversal in a tool call and confirm the server denies the escape
- Normalize paths and enforce a server-side allowlist before file reads
- Validate authorization scopes, audience and resource binding for the remote MCP endpoint
Explanation
Correct Answer
C:MCP discovery and JSON schema validation do not replace filesystem authorization.
Incorrect Answers
A:Untrusted tool arguments can target arbitrary host paths if handlers accept them.
B:Verification alone does not implement the missing change. Normalize paths and enforce a server-side allowlist before file reads.
D:Authentication tokens must be intended for the protected service and permitted operation. However, MCP discovery and JSON schema validation do not replace filesystem authorization.
Question 147
A validator accepts model-generated dates as trustworthy without checking calendar or time zone syntax. Which action directly resolves the reported problem?
- Feed leap-day, ambiguous timezone and invalid-date samples through the validator
- Validate dates against the required format, time zone rules and application constraints
- Trust any value resembling YYYY-MM-DD because the model wrote it
- Accept every date-shaped string without validating calendar validity or time-zone meaning
Explanation
Correct Answer
B:Well-formed text from a model is not automatically semantically valid data.
Incorrect Answers
A:Verification alone does not implement the missing change. Validate dates against the required format, time zone rules and application constraints.
C:Regex-like appearance cannot validate date semantics.
D:A schema string type does not establish that February 30 is possible or that a time-zone offset is valid. Enforce semantic date validation.
Question 148
A complex investigation can be split into independent security, performance and accessibility analyses. Which action directly resolves the reported problem?
- Allow bounded exploration with evidence checks and a final source-quality decision
- Dispatch bounded independent subagents and combine their evidence with a responsible coordinator
- Let each subagent publish a final verdict without coordination
- Feed conflicting subagent findings and verify that the coordinator identifies and resolves disagreements
Explanation
Correct Answer
B:Parallel independent work improves focus while the coordinator must reconcile contradictory conclusions.
Incorrect Answers
A:Research steps may depend on which claims and contradictions the tool discovers. However, parallel independent work improves focus while the coordinator must reconcile contradictory conclusions.
C:Independent conclusions do not form one coherent answer or reveal contradictory evidence.
D:Verification alone does not implement the missing change. Dispatch bounded independent subagents and combine their evidence with a responsible coordinator.
Question 149
An external API returns a temporary HTTP failure during a Claude tool call. Which action directly resolves the reported problem?
- Report an empty success object whenever the service fails
- Inject a transient failure and verify bounded recovery without duplicate mutation
- Encode tool failure in the documented tool_result error semantics
- Return a structured tool error and implement bounded retry only for safe retryable operations
Explanation
Correct Answer
D:Tool errors require correct classification, not invented success data.
Incorrect Answers
A:Fabricated success hides missing work and leads to unsafe follow-up actions.
B:Verification alone does not implement the missing change. Return a structured tool error and implement bounded retry only for safe retryable operations.
C:The model should not treat failed execution as successful external evidence. However, tool errors require correct classification, not invented success data.
Question 150
A production support incident cannot be reproduced because the prompt and configuration that generated it were never logged. Which action directly resolves the reported problem?
- Enable verbose raw secret logging in all environments
- Version prompts with code and run regression evaluations before deployment
- Replay a sanitized incident fixture under the archived configuration and compare behavior
- Record safe version identifiers, request metadata and trace correlations for audit and replay
Explanation
Correct Answer
D:Reproduction requires enough configuration context without leaking sensitive customer text.
Incorrect Answers
A:Full raw logs are unsafe and still may omit model and tool version identifiers.
B:Prompt changes are application behavior changes and must be traceable and reversible. However, reproduction requires enough configuration context without leaking sensitive customer text.
C:Verification alone does not implement the missing change. Record safe version identifiers, request metadata and trace correlations for audit and replay.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests