100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 170
A memory store permanently retains speculative model interpretations of customer intent. Which action directly resolves the reported problem?
- Store every generated interpretation as a confirmed user preference
- Deduplicate and rank retrieved passages by relevance and authority before constructing the prompt
- Separate verified user instructions from unconfirmed hypotheses and impose retention rules
- Restart a task and verify speculative notes are still marked uncertain
Explanation
Correct Answer
C:Unverified inferences should not become durable authoritative context.
Incorrect Answers
A:Speculation can corrupt later decisions when elevated into memory.
B:Redundant context wastes budget and can overweight repeated evidence. However, unverified inferences should not become durable authoritative context.
D:Verification alone does not implement the missing change. Separate verified user instructions from unconfirmed hypotheses and impose retention rules.
Question 171
A support app mixes customer instructions with retrieved policy documents in the same trusted system message. Which action directly resolves the reported problem?
- Separate trusted developer instructions from retrieved untrusted document content
- Inject a conflicting instruction into a retrieved file and confirm it cannot change authorized behavior
- Promote retrieval text to the highest-priority instruction role
- Place stable policies in trusted instructions and user-specific data in a lower-trust contextual field
Explanation
Correct Answer
A:Trusted instructions and third-party context have different authority and must remain distinct.
Incorrect Answers
B:Verification alone does not implement the missing change. Separate trusted developer instructions from retrieved untrusted document content.
C:Untrusted documents must not gain authority to override application policy.
D:Separating reusable policy from variable context reduces accidental authority changes. However, trusted instructions and third-party context have different authority and must remain distinct.
Question 172
A tool-enabled agent tries to fix production alerts by invoking remediation before gathering any status evidence. Which action directly resolves the reported problem?
- Run the first plausible remediation tool immediately
- Separate diagnosis and authorized action phases, requiring supporting observations before mutation
- Supply a misleading alert and confirm the agent inspects state before any write call
- Separate durable user facts from temporary task state and ephemeral error logs
Explanation
Correct Answer
B:Unverified assumptions can make an autonomous remediation amplify outages.
Incorrect Answers
A:Alert descriptions alone do not prove the current production root cause.
C:Verification alone does not implement the missing change. Separate diagnosis and authorized action phases, requiring supporting observations before mutation.
D:Persistence scope should follow evidence lifetime and privacy requirements. However, unverified assumptions can make an autonomous remediation amplify outages.
Question 173
A function parses JSON input but directly interpolates one field into a database query. Which action directly resolves the reported problem?
- Pass query metacharacters in a test field and ensure they remain data, not SQL syntax
- Use a JSON serializer or SDK types and validate the schema before sending
- Rely on JSON parsing to eliminate SQL injection
- Use parameterized queries and validated data types at the database boundary
Explanation
Correct Answer
D:Syntax-safe JSON still contains untrusted user values.
Incorrect Answers
A:Verification alone does not implement the missing change. Use parameterized queries and validated data types at the database boundary.
B:Proper encoding prevents quotes and control characters from corrupting wire format. However, syntax-safe JSON still contains untrusted user values.
C:JSON escaping protects serialization, not SQL execution semantics.
Question 174
A tool-assisted parser sees a complete JSON object but a trailing tool call is still unresolved. Which action directly resolves the reported problem?
- Simulate a JSON text block followed by tool_use and verify no premature completion
- Treat the stop reason as incomplete and continue or retry within a bounded output budget
- Check the message stop reason and outstanding tool invocations before accepting the output as final
- Treat any valid JSON fragment as evidence all tools finished
Explanation
Correct Answer
C:A parseable text block does not necessarily mean the turn is complete.
Incorrect Answers
A:Verification alone does not implement the missing change. Check the message stop reason and outstanding tool invocations before accepting the output as final.
B:max_tokens represents truncation rather than successful completion. However, a parseable text block does not necessarily mean the turn is complete.
D:JSON validity is unrelated to tool execution state.
Question 175
A customer session shares conversation state across tenants because a cache key contains only the endpoint path. Which action directly resolves the reported problem?
- Use one process-wide memory buffer to simplify chat history handling
- Scope session and caching identity by the authenticated tenant and user
- Maintain the full required typed conversation state for each active session
- Run simultaneous tenant sessions and verify one cannot retrieve the other's context
Explanation
Correct Answer
B:Conversation and tool context must not leak across authorization boundaries.
Incorrect Answers
A:Shared state can expose other customers' protected messages.
C:Text-only storage can discard content blocks needed for correct continuation. However, conversation and tool context must not leak across authorization boundaries.
D:Verification alone does not implement the missing change. Scope session and caching identity by the authenticated tenant and user.
Question 176
A production agent has permission to call deployment tools whenever a fetched web page requests it. Which action directly resolves the reported problem?
- Add a stronger prompt asking the agent to ignore malicious pages
- Put preventive permission checks before file mutation using the supported hook point
- Enforce tool permissions and explicit approval independently of fetched content instructions
- Inject a fake deploy request in a retrieved page and confirm the tool is blocked
Explanation
Correct Answer
C:Tool authorization must come from trusted policy rather than untrusted retrieval text.
Incorrect Answers
A:Prompt wording alone is not a deterministic permission boundary.
B:Post-action observation cannot reliably undo unauthorized writes. However, tool authorization must come from trusted policy rather than untrusted retrieval text.
D:Verification alone does not implement the missing change. Enforce tool permissions and explicit approval independently of fetched content instructions.
Question 177
Two subagents each use a shared rate-limited API and overload its global quota. Which action directly resolves the reported problem?
- Give subagents isolated workspaces or explicit nonoverlapping file ownership and merge reviewed changes
- Apply shared concurrency and budget controls across agents rather than independent unlimited loops
- Load-test combined agents and confirm aggregate rate stays below the shared limit
- Assign each subagent the full global budget
Explanation
Correct Answer
B:Separate workers can collectively exhaust one service's capacity.
Incorrect Answers
A:Concurrent writers need explicit resource isolation and conflict resolution. However, separate workers can collectively exhaust one service's capacity.
C:Verification alone does not implement the missing change. Apply shared concurrency and budget controls across agents rather than independent unlimited loops.
D:Independent full-budget allocations multiply the total possible usage.
Question 178
A team claims longer prompts guarantee more knowledge but observed quality falls after irrelevant logs are appended. Which action directly resolves the reported problem?
- Budget input history, documents and reserved output within the supported context limit
- Compare accuracy with curated excerpts versus unfiltered bulk logs
- Append entire logs until hitting the context limit
- Prioritize relevant context and reserve tokens for required output and tools
Explanation
Correct Answer
D:A finite context budget can be consumed by low-signal text.
Incorrect Answers
A:Input context and maximum generated response are separate finite constraints. However, a finite context budget can be consumed by low-signal text.
B:Verification alone does not implement the missing change. Prioritize relevant context and reserve tokens for required output and tools.
C:More input tokens do not necessarily improve task-relevant information.
Question 179
The team discovers intermittent tool-call failures but proposes releasing after one successful demo. Which action directly resolves the reported problem?
- Inject intermittent tool timeouts and verify bounded retry, safe failure and telemetry
- Increase demo temperature until one successful result appears
- Require reliability tests with failures, retries and representative traffic before launch
- Use a compatibility or migration plan for both tool producer and consumer
Explanation
Correct Answer
C:A happy-path demo does not establish behavior under transient errors.
Incorrect Answers
A:Verification alone does not implement the missing change. Require reliability tests with failures, retries and representative traffic before launch.
B:Sampling variation cannot replace failure-mode testing.
D:Interface changes need coordinated contracts or backward compatibility. However, a happy-path demo does not establish behavior under transient errors.
Question 180
A Python worker uses a blocking sleep inside an asyncio request loop to await external calls. Which action directly resolves the reported problem?
- Launch more tasks while retaining time.sleep on the event loop
- Use bounded asynchronous workers or queued requests with concurrency and timeouts
- Load-test two delayed requests and confirm both progress concurrently
- Replace blocking waits with proper asynchronous I/O and bounded cancellation
Explanation
Correct Answer
D:Blocking calls prevent the event loop from servicing independent requests.
Incorrect Answers
A:Increasing task count cannot fix blocking scheduler execution.
B:Independent network calls can overlap but still need backpressure and error isolation. However, blocking calls prevent the event loop from servicing independent requests.
C:Verification alone does not implement the missing change. Replace blocking waits with proper asynchronous I/O and bounded cancellation.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests