100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 690
An agent has access to a database write tool but writes a record twice when a network retry occurs. After implementing the remedy, which test best demonstrates success?
- Delay action confirmation and verify the status remains pending until a committed result arrives
- Make side-effecting tool calls idempotent with stable operation IDs
- Retry a create operation with a fresh identity on every network timeout
- Replay the same operation ID and verify a single persisted row exists
Explanation
Correct Answer
D:The check observes the expected result after the change; retries must not duplicate external state transitions.
Incorrect Answers
A:This check verifies a different outcome. For this failure, the observable test is: Replay the same operation ID and verify a single persisted row exists.
B:This describes what to implement. To show it actually worked, perform the observable check: Replay the same operation ID and verify a single persisted row exists.
C:Fresh identities turn one intended transaction into duplicated records.
Question 691
A memory-enabled agent persists transient tool failures as permanent user preferences. After implementing the remedy, which test best demonstrates success?
- Supply a misleading alert and confirm the agent inspects state before any write call
- Save every intermediate exception in long-term memory
- Restart after a transient error and check it does not change future user preferences
- Separate durable user facts from temporary task state and ephemeral error logs
Explanation
Correct Answer
C:The check observes the expected result after the change; persistence scope should follow evidence lifetime and privacy requirements.
Incorrect Answers
A:This check verifies a different outcome. For this failure, the observable test is: Restart after a transient error and check it does not change future user preferences.
B:Error logs do not represent stable user intent and can contaminate later decisions.
D:This describes what to implement. To show it actually worked, perform the observable check: Restart after a transient error and check it does not change future user preferences.
Question 692
A developer edits a production prompt without preserving its previous version or test evidence. After implementing the remedy, which test best demonstrates success?
- Paste the new prompt directly into the live configuration
- Deploy a candidate to a staging evaluation and compare metrics against the last approved prompt
- Version prompts with code and run regression evaluations before deployment
- Replay saved JSON fixtures against the new model and compare schema validation failures
Explanation
Correct Answer
B:The check observes the expected result after the change; prompt changes are application behavior changes and must be traceable and reversible.
Incorrect Answers
A:Unreviewed live edits remove reproducible rollback and comparison evidence.
C:This describes what to implement. To show it actually worked, perform the observable check: Deploy a candidate to a staging evaluation and compare metrics against the last approved prompt.
D:This check verifies a different outcome. For this failure, the observable test is: Deploy a candidate to a staging evaluation and compare metrics against the last approved prompt.
Question 693
A production agent has permission to call deployment tools whenever a fetched web page requests it. After implementing the remedy, which test best demonstrates success?
- Add a stronger prompt asking the agent to ignore malicious pages
- Inject a fake deploy request in a retrieved page and confirm the tool is blocked
- Mock a failing write operation and confirm no successful deliverable is reported
- Enforce tool permissions and explicit approval independently of fetched content instructions
Explanation
Correct Answer
B:The check observes the expected result after the change; Tool authorization must come from trusted policy rather than untrusted retrieval text.
Incorrect Answers
A:Prompt wording alone is not a deterministic permission boundary.
C:This check verifies a different outcome. For this failure, the observable test is: Inject a fake deploy request in a retrieved page and confirm the tool is blocked.
D:This describes what to implement. To show it actually worked, perform the observable check: Inject a fake deploy request in a retrieved page and confirm the tool is blocked.
Question 694
An agent returns a final narrative before a long-running asynchronous side effect is confirmed. After implementing the remedy, which test best demonstrates success?
- Treat queued action submission as successful completion
- Delay action confirmation and verify the status remains pending until a committed result arrives
- Gate the completion response on verified external action results
- Send a tool call with a known response and verify the next request contains the corresponding tool result
Explanation
Correct Answer
B:The check observes the expected result after the change; planning and issuing a tool call is not proof that external effects finished.
Incorrect Answers
A:A queued job can fail after submission without performing the requested work.
C:This describes what to implement. To show it actually worked, perform the observable check: Delay action confirmation and verify the status remains pending until a committed result arrives.
D:This check verifies a different outcome. For this failure, the observable test is: Delay action confirmation and verify the status remains pending until a committed result arrives.
Question 695
A client app dispatches client tools but forgets to signal is_error when the external operation fails. After implementing the remedy, which test best demonstrates success?
- Mock a failed lookup and verify subsequent reasoning knows the tool failed
- Encode tool failure in the documented tool_result error semantics
- Replay a duplicate tool event and confirm only one payment or record creation
- Return a normal success-shaped tool_result containing the exception text
Explanation
Correct Answer
A:The check observes the expected result after the change; the model should not treat failed execution as successful external evidence.
Incorrect Answers
B:This describes what to implement. To show it actually worked, perform the observable check: Mock a failed lookup and verify subsequent reasoning knows the tool failed.
C:This check verifies a different outcome. For this failure, the observable test is: Mock a failed lookup and verify subsequent reasoning knows the tool failed.
D:Unmarked failures can be mistaken for successful results.
Question 696
An application performs string concatenation to construct JSON requests and fails on escaped user input. After implementing the remedy, which test best demonstrates success?
- Test adversarial quotes and Unicode escapes through the same serializer
- Remove all quotation marks from user text before assembly
- Use a JSON serializer or SDK types and validate the schema before sending
- Pass query metacharacters in a test field and ensure they remain data, not SQL syntax
Explanation
Correct Answer
A:The check observes the expected result after the change; proper encoding prevents quotes and control characters from corrupting wire format.
Incorrect Answers
B:Destructive sanitization loses legitimate content while still failing proper serialization.
C:This describes what to implement. To show it actually worked, perform the observable check: Test adversarial quotes and Unicode escapes through the same serializer.
D:This check verifies a different outcome. For this failure, the observable test is: Test adversarial quotes and Unicode escapes through the same serializer.
Question 697
A data-export tool can fetch any tenant's customer list because it accepts an unvalidated tenant ID. After implementing the remedy, which test best demonstrates success?
- Test disallowed edge cases and ensure actions are blocked before execution
- Attempt a request for a different tenant and verify the server rejects it
- Bind the tool's tenant scope to the authenticated identity and use least-privilege authorization
- Let the language model choose the tenant ID from user text alone
Explanation
Correct Answer
B:The check observes the expected result after the change; a tool schema describing tenant_id does not authorize cross-tenant access.
Incorrect Answers
A:This check verifies a different outcome. For this failure, the observable test is: Attempt a request for a different tenant and verify the server rejects it.
C:This describes what to implement. To show it actually worked, perform the observable check: Attempt a request for a different tenant and verify the server rejects it.
D:User-controlled identifiers cannot override server-side tenant boundaries.
Question 698
A build pipeline ignores unit-test failures because the generated patch looks logically sound. After implementing the remedy, which test best demonstrates success?
- Run a fixture matrix and verify a deliberate malformed result fails
- Gate merge on the relevant automated tests and review failed assertions
- Ask the model to state that tests would pass without running them
- Introduce a known failing test and verify the merge gate prevents release
Explanation
Correct Answer
D:The check observes the expected result after the change; visual plausibility does not establish executable correctness.
Incorrect Answers
A:This check verifies a different outcome. For this failure, the observable test is: Introduce a known failing test and verify the merge gate prevents release.
B:This describes what to implement. To show it actually worked, perform the observable check: Introduce a known failing test and verify the merge gate prevents release.
C:A predicted outcome cannot replace actual test execution.
Question 699
A request includes an assistant tool_result block instead of returning a tool result in the next allowed user message. After implementing the remedy, which test best demonstrates success?
- Put tool_result inside a new assistant message to save a request
- Ask about a table cell visible only in the PDF and check evidence-bound output
- Validate a captured conversation structure against the official Messages schema
- Construct a valid message sequence with tool_result content following the pending tool_use
Explanation
Correct Answer
C:The check observes the expected result after the change; Tool result blocks are inputs from the tool/executor, not model-generated assistant promises.
Incorrect Answers
A:Invalid role ordering breaks the tool protocol.
B:This check verifies a different outcome. For this failure, the observable test is: Validate a captured conversation structure against the official Messages schema.
D:This describes what to implement. To show it actually worked, perform the observable check: Validate a captured conversation structure against the official Messages schema.
Question 700
A local MCP tool server works over STDIO but the team attempts to connect using an HTTP endpoint without an HTTP transport. After implementing the remedy, which test best demonstrates success?
- Launch a local client with configured STDIO and validate initialization and tool calls
- Rename the STDIO command to an HTTPS URL in settings
- Configure the client for the server's actual supported STDIO transport or add an appropriate streamable HTTP server
- Connect a test MCP client and verify tools/list returns names, descriptions and schemas
Explanation
Correct Answer
A:The check observes the expected result after the change; client and server must agree on the transport used for JSON-RPC messages.
Incorrect Answers
B:Changing a label does not implement an HTTP server or protocol endpoint.
C:This describes what to implement. To show it actually worked, perform the observable check: Launch a local client with configured STDIO and validate initialization and tool calls.
D:This check verifies a different outcome. For this failure, the observable test is: Launch a local client with configured STDIO and validate initialization and tool calls.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests