100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
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.
Question 181
A server accepts a request with an embedded external URL and fetches it without network policy. Which action directly resolves the reported problem?
- Validate allowed schemes, hosts and address ranges before server-side retrieval
- Supply private-address and redirect test URLs and verify egress rejection
- Permit every HTTPS URL because transport is encrypted
- Use schema-constrained output where supported and validate each response server-side
Explanation
Correct Answer
A:User-controlled URLs can point to internal services and expose data.
Incorrect Answers
B:Verification alone does not implement the missing change. Validate allowed schemes, hosts and address ranges before server-side retrieval.
C:TLS does not establish that a destination is authorized or public.
D:A downstream contract needs parseable fields rather than merely JSON-like typography. However, user-controlled URLs can point to internal services and expose data.
Question 182
A test-runner swallows exceptions and reports a green test suite with zero tests executed. Which action directly resolves the reported problem?
- Break test discovery deliberately and verify CI fails closed
- Treat exit code zero from an empty test script as full coverage
- Serialize typed request objects and validate them against the expected REST schema
- Require a nonzero expected test count and fail on collected errors or absent assertions
Explanation
Correct Answer
D:Empty or swallowed test runs provide no correctness evidence.
Incorrect Answers
A:Verification alone does not implement the missing change. Require a nonzero expected test count and fail on collected errors or absent assertions.
B:A process may exit successfully without performing any meaningful check.
C:Correct encoders preserve Unicode, quotes and nested structures safely. However, empty or swallowed test runs provide no correctness evidence.
Question 183
A high-impact tool operation has no progress or cancellation semantics and the UI reports immediate success. Which action directly resolves the reported problem?
- Track pending, committed and failed tool outcomes explicitly
- Delay a committed-result callback and confirm UI reports pending state
- Encode tool failure in the documented tool_result error semantics
- Treat HTTP accepted or queued as equivalent to completed
Explanation
Correct Answer
A:Async tool submission is not proof the underlying side effect happened.
Incorrect Answers
B:Verification alone does not implement the missing change. Track pending, committed and failed tool outcomes explicitly.
C:The model should not treat failed execution as successful external evidence. However, async tool submission is not proof the underlying side effect happened.
D:Queued operations may later fail or be cancelled.
Question 184
An LLM produces different phrasing for identical support requests and the team claims a hidden database changed. Which action directly resolves the reported problem?
- Distinguish stochastic generation from application state and test with controlled inputs/settings
- Infer a data mutation from a different sentence alone
- Separate reproducibility requirements from probabilistic generation and test supported settings
- Compare multiple runs with fixed input/context and explicit sampling configuration
Explanation
Correct Answer
A:Non-deterministic sampling can change surface wording even when underlying facts remain constant.
Incorrect Answers
B:Variation in generated language does not prove a stateful side effect.
C:Statistical consistency is not byte-for-byte deterministic behavior. However, non-deterministic sampling can change surface wording even when underlying facts remain constant.
D:Verification alone does not implement the missing change. Distinguish stochastic generation from application state and test with controlled inputs/settings.
Question 185
A tool registry exposes operations with ambiguous names like process or apply but no specific input descriptions. Which action directly resolves the reported problem?
- Use per-user authorization context and least-privilege service identities for each operation
- Rely on short names and infer parameters from conversation context
- Present similar tools and check whether calls choose the correct documented one
- Give each tool a precise purpose, typed schema and failure semantics
Explanation
Correct Answer
D:Clear contracts help the model select the intended operation.
Incorrect Answers
A:Application tool execution must respect the caller's rights. However, clear contracts help the model select the intended operation.
B:Similar vague names increase wrong-tool selection.
C:Verification alone does not implement the missing change. Give each tool a precise purpose, typed schema and failure semantics.
Question 186
A hosted MCP service is accessible to multiple organizations with no tenant-specific resource filtering. Which action directly resolves the reported problem?
- Call the same resource from two tenants and verify unauthorized access is denied
- Enforce tenant-scoped permissions and audit each MCP operation server-side
- Provide a scoped tool or MCP integration with an authenticated inventory operation
- Rely on the model to remember which tenant is using the tool
Explanation
Correct Answer
B:Shared tool infrastructure must isolate user data and side effects.
Incorrect Answers
A:Verification alone does not implement the missing change. Enforce tenant-scoped permissions and audit each MCP operation server-side.
C:Live external data requires an executable integration rather than static prompt examples. However, shared tool infrastructure must isolate user data and side effects.
D:Model context cannot replace backend authorization at a shared server.
Question 187
A team raises temperature to make a compliance classification task more accurate and repeatable. Which action directly resolves the reported problem?
- Run repeated identical inputs and measure stability against labeled ground truth
- Combine a contract-enforcing output schema with validated task prompts instead of relying on sampling settings
- Use constrained outputs, evaluations and a suitable low-variance sampling setup
- Turn temperature to its maximum and treat variation as improved truth
Explanation
Correct Answer
C:Higher randomness is not a substitute for a validated classification decision boundary.
Incorrect Answers
A:Verification alone does not implement the missing change. Use constrained outputs, evaluations and a suitable low-variance sampling setup.
B:A low-temperature reply can still be malformed without structural constraints. However, higher randomness is not a substitute for a validated classification decision boundary.
D:More diverse sampling can reduce repeatability without fixing missing policy definitions.
Question 188
A customer uploads documents containing private identity numbers for summarization. Which action directly resolves the reported problem?
- Redact sensitive payloads and restrict log retention and access
- Minimize and redact unnecessary personal data before model submission and logging
- Inspect payloads and logs to confirm unneeded identifiers never leave the allowed boundary
- Ask the model to forget sensitive values after generation but log all raw uploads
Explanation
Correct Answer
B:Limiting sensitive input reduces data exposure regardless of response wording.
Incorrect Answers
A:Operational telemetry is not an authorized second copy of confidential documents. However, limiting sensitive input reduces data exposure regardless of response wording.
C:Verification alone does not implement the missing change. Minimize and redact unnecessary personal data before model submission and logging.
D:Post-hoc forgetting requests do not remove secrets already transmitted or stored.
Question 189
A nightly fixed-format invoice pipeline always performs the same parsing, validation and export steps. Which action directly resolves the reported problem?
- Keep payroll math deterministic and use AI only for bounded supporting tasks
- Implement a deterministic sequential workflow with explicit error branches
- Run the same representative invoice set twice and compare intermediate results and exports against expected fixtures
- Allow an autonomous agent to invent the next stage after each invoice
Explanation
Correct Answer
B:Known ordered steps do not require an autonomous model to choose each next operation.
Incorrect Answers
A:Statutory calculations require repeatable validated code, not stochastic tool choice. However, known ordered steps do not require an autonomous model to choose each next operation.
C:Verification alone does not implement the missing change. Implement a deterministic sequential workflow with explicit error branches.
D:An unconstrained planning loop adds variability without solving a step-selection problem.
Question 190
A prompt combines a user query and a retrieved contract with no boundaries or labels. Which action directly resolves the reported problem?
- Delimit untrusted user content as data and retain response format in trusted policy
- Flatten every section into one undifferentiated string
- Insert instruction-like text into a contract and verify it is treated as data
- Delimit instruction, retrieved source and user input explicitly using structure such as XML tags
Explanation
Correct Answer
D:Boundaries help the model distinguish evidence from tasks without granting evidence authority.
Incorrect Answers
A:Untrusted source text should not override output contracts. However, boundaries help the model distinguish evidence from tasks without granting evidence authority.
B:Blended text makes it harder to identify what is a request versus cited content.
C:Verification alone does not implement the missing change. Delimit instruction, retrieved source and user input explicitly using structure such as XML tags.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests