100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 770
A file processing request passes a PDF as plain text and reports that embedded tables were ignored. After implementing the remedy, which test best demonstrates success?
- Submit boundary-size fixtures and check client preflight catches unsupported sizes
- Paste the document filename into a text message
- Ask about a table cell visible only in the PDF and check evidence-bound output
- Submit the PDF as a supported document content block and test extraction on representative pages
Explanation
Correct Answer
C:The check observes the expected result after the change; the API distinguishes documents from ordinary text and can process visual layout when supplied correctly.
Incorrect Answers
A:This check verifies a different outcome. For this failure, the observable test is: Ask about a table cell visible only in the PDF and check evidence-bound output.
B:A bare name does not transmit document bytes or images.
D:This describes what to implement. To show it actually worked, perform the observable check: Ask about a table cell visible only in the PDF and check evidence-bound output.
Question 771
An agent is asked by a malicious tool result to execute a destructive shell command. After implementing the remedy, which test best demonstrates success?
- Require trusted command permissions and isolate untrusted tool output from control instructions
- Attempt a destructive request under a read-only role and verify denial
- Mock a tool response with a destructive command and verify pre-execution permission denial
- Follow the tool result because it came from an API used by the agent
Explanation
Correct Answer
C:The check observes the expected result after the change; external tool output cannot create new process execution privileges.
Incorrect Answers
A:This describes what to implement. To show it actually worked, perform the observable check: Mock a tool response with a destructive command and verify pre-execution permission denial.
B:This check verifies a different outcome. For this failure, the observable test is: Mock a tool response with a destructive command and verify pre-execution permission denial.
D:Tool outputs are data and can be attacker-controlled despite API transport.
Question 772
An agent handles a tool_use request but returns a tool_result in the wrong conversation role/order. After implementing the remedy, which test best demonstrates success?
- Append uncorrelated result text after an unrelated user message
- Validate the serialized message history against a known two-tool turn before resuming
- Place matching tool_result blocks in the next permitted message position before ordinary text
- Mock a failing write operation and confirm no successful deliverable is reported
Explanation
Correct Answer
B:The check observes the expected result after the change; the client tool protocol requires ordered correlated result blocks.
Incorrect Answers
A:Misordered tool results cannot be reliably matched to the requested action.
C:This describes what to implement. To show it actually worked, perform the observable check: Validate the serialized message history against a known two-tool turn before resuming.
D:This check verifies a different outcome. For this failure, the observable test is: Validate the serialized message history against a known two-tool turn before resuming.
Question 773
A support app mixes customer instructions with retrieved policy documents in the same trusted system message. After implementing the remedy, which test best demonstrates success?
- Separate trusted developer instructions from retrieved untrusted document content
- Promote retrieval text to the highest-priority instruction role
- Inject a conflicting instruction into a retrieved file and confirm it cannot change authorized behavior
- Send a small known PDF and check the model can cite a fact inside it
Explanation
Correct Answer
C:The check observes the expected result after the change; trusted instructions and third-party context have different authority and must remain distinct.
Incorrect Answers
A:This describes what to implement. To show it actually worked, perform the observable check: Inject a conflicting instruction into a retrieved file and confirm it cannot change authorized behavior.
B:Untrusted documents must not gain authority to override application policy.
D:This check verifies a different outcome. For this failure, the observable test is: Inject a conflicting instruction into a retrieved file and confirm it cannot change authorized behavior.
Question 774
A client sends many prior turns but assumes the Claude Messages API remembers calls that were not included. After implementing the remedy, which test best demonstrates success?
- Send just the newest user turn and expect server-side chat memory
- Send a known two-tool response and check both tool IDs are satisfied
- Restart a process and verify that only the history resent in its payload affects the response
- Supply the required conversation messages explicitly on each stateless request
Explanation
Correct Answer
C:The check observes the expected result after the change; a normal Messages API request does not implicitly load an earlier application's history.
Incorrect Answers
A:The API request must contain the state the application wants the model to use.
B:This check verifies a different outcome. For this failure, the observable test is: Restart a process and verify that only the history resent in its payload affects the response.
D:This describes what to implement. To show it actually worked, perform the observable check: Restart a process and verify that only the history resent in its payload affects the response.
Question 775
A developer wants to use Agent SDK hooks to approve all filesystem changes after the code has been written. After implementing the remedy, which test best demonstrates success?
- Attempt to modify a protected fixture and confirm the hook denies the write beforehand
- Put preventive permission checks before file mutation using the supported hook point
- Inject a fake deploy request in a retrieved page and confirm the tool is blocked
- Rely only on a post-action log notification to reverse changes
Explanation
Correct Answer
A:The check observes the expected result after the change; post-action observation cannot reliably undo unauthorized writes.
Incorrect Answers
B:This describes what to implement. To show it actually worked, perform the observable check: Attempt to modify a protected fixture and confirm the hook denies the write beforehand.
C:This check verifies a different outcome. For this failure, the observable test is: Attempt to modify a protected fixture and confirm the hook denies the write beforehand.
D:Logging a completed write is not an effective authorization boundary.
Question 776
A test suite relies on a single manually checked success string from one Claude response. After implementing the remedy, which test best demonstrates success?
- Use automated assertions for schema, key behavior and expected task outputs across multiple fixtures
- Run a fixture matrix and verify a deliberate malformed result fails
- Trust the developer's one clean screenshot as release evidence
- Accept one successful-looking response as proof that the entire test suite prevents regressions
Explanation
Correct Answer
B:The check observes the expected result after the change; reproducible tests are needed to detect regression rather than one-off impressions.
Incorrect Answers
A:This describes what to implement. To show it actually worked, perform the observable check: Run a fixture matrix and verify a deliberate malformed result fails.
C:One successful screenshot cannot establish correctness across input classes.
D:One success string cannot test invalid outputs or demonstrate that the release gate catches deliberately bad results. Exercise a fixture matrix and a known failure.
Question 777
A prototype assumes chain-of-thought text should be parsed as an application's authoritative action plan. After implementing the remedy, which test best demonstrates success?
- Use the documented structured response and tool outputs, not private reasoning tokens, as action evidence
- Restart the client process and compare answers with and without replayed context
- Confirm the client bases actions on validated public output and tool calls only
- Build an automation that scrapes hidden reasoning text as JSON
Explanation
Correct Answer
C:The check observes the expected result after the change; hidden thinking is not a stable application protocol.
Incorrect Answers
A:This describes what to implement. To show it actually worked, perform the observable check: Confirm the client bases actions on validated public output and tool calls only.
B:This check verifies a different outcome. For this failure, the observable test is: Confirm the client bases actions on validated public output and tool calls only.
D:Private reasoning is not a reliable exposed interface or auditable state transition.
Question 778
A Claude request exceeds output length and the app treats the truncated text as a final complete document. After implementing the remedy, which test best demonstrates success?
- Replay fragmented event chunks and confirm the parser accepts only the complete assembled payload
- Trust any response with a nonempty text block as finished
- Check stop_reason max_tokens and continue or retry with a suitable output budget
- Force an undersized max_tokens response and verify the pipeline marks the result incomplete
Explanation
Correct Answer
D:The check observes the expected result after the change; truncation must be detected explicitly to avoid accepting partial artifacts.
Incorrect Answers
A:This check verifies a different outcome. For this failure, the observable test is: Force an undersized max_tokens response and verify the pipeline marks the result incomplete.
B:Nonempty text can still terminate due to a token limit rather than end_turn.
C:This describes what to implement. To show it actually worked, perform the observable check: Force an undersized max_tokens response and verify the pipeline marks the result incomplete.
Question 779
An agent hands a code review to three specialists but waits serially even though their tasks are independent. After implementing the remedy, which test best demonstrates success?
- Serialize all independent read-only subtasks for simplicity
- Parallelize independent read-only reviews while preserving a final synthesis step
- Measure runtime with delayed reviewers and verify results are merged by reviewer identity
- Compare latency and cost of direct and multiagent paths on trivial tasks
Explanation
Correct Answer
C:The check observes the expected result after the change; independent tasks can overlap without sharing mutable side effects.
Incorrect Answers
A:Unnecessary serialization increases latency without adding correctness.
B:This describes what to implement. To show it actually worked, perform the observable check: Measure runtime with delayed reviewers and verify results are merged by reviewer identity.
D:This check verifies a different outcome. For this failure, the observable test is: Measure runtime with delayed reviewers and verify results are merged by reviewer identity.
Question 780
A team needs to forbid dangerous shell commands before execution by Claude Code. After implementing the remedy, which test best demonstrates success?
- Configure a supported PreToolUse permission hook and enforce its deny outcome
- Add a CLAUDE.md sentence that says avoid dangerous commands but leave tool permissions unrestricted
- Ask for a forbidden edit in a sandbox and confirm policy blocks it while reading remains possible
- Attempt a denied command in a test workspace and confirm it never executes
Explanation
Correct Answer
D:The check observes the expected result after the change; a deterministic hook can block prohibited tools before they run.
Incorrect Answers
A:This describes what to implement. To show it actually worked, perform the observable check: Attempt a denied command in a test workspace and confirm it never executes.
B:Advisory instructions cannot enforce hard process execution boundaries.
C:This check verifies a different outcome. For this failure, the observable test is: Attempt a denied command in a test workspace and confirm it never executes.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests