100% Latest & Updated Anthropic CCDV-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 160
A Python SDK call succeeds locally but a raw REST integration fails because it omitted required headers. Which action directly resolves the reported problem?
- Compare captured authorized requests from SDK and REST clients against API reference
- Use isolated request state and bounded concurrency for independent operations
- Match documented Messages API headers, authentication and request fields in raw HTTP
- Assume the REST endpoint guesses API versions and keys from model text
Explanation
Correct Answer
C:The SDK supplies conventions that a manual HTTP client must implement explicitly.
Incorrect Answers
A:Verification alone does not implement the missing change. Match documented Messages API headers, authentication and request fields in raw HTTP.
B:Global mutable state can cause cross-request contamination under parallel loads. However, the SDK supplies conventions that a manual HTTP client must implement explicitly.
D:A raw HTTP request lacks client-library defaults unless explicitly provided.
Question 161
An integration puts API credentials in source-control test fixtures that are shared with contractors. Which action directly resolves the reported problem?
- Use automated assertions for schema, key behavior and expected task outputs across multiple fixtures
- Run a repository secret scan and verify deployment resolves secrets without literal keys in the codebase
- Load secrets from approved runtime secret storage and exclude them from repository artifacts
- Replace the live key with an obfuscated literal and commit it
Explanation
Correct Answer
C:Credential isolation belongs to infrastructure configuration, not checked-in application code.
Incorrect Answers
A:Reproducible tests are needed to detect regression rather than one-off impressions. However, credential isolation belongs to infrastructure configuration, not checked-in application code.
B:Verification alone does not implement the missing change. Load secrets from approved runtime secret storage and exclude them from repository artifacts.
D:Obfuscation leaves recoverable credentials in source history.
Question 162
A developer edits a production prompt without preserving its previous version or test evidence. Which action directly resolves the reported problem?
- 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
- Paste the new prompt directly into the live configuration
- Record safe version identifiers, request metadata and trace correlations for audit and replay
Explanation
Correct Answer
B:Prompt changes are application behavior changes and must be traceable and reversible.
Incorrect Answers
A:Verification alone does not implement the missing change. Version prompts with code and run regression evaluations before deployment.
C:Unreviewed live edits remove reproducible rollback and comparison evidence.
D:Reproduction requires enough configuration context without leaking sensitive customer text. However, prompt changes are application behavior changes and must be traceable and reversible.
Question 163
An engineer stores the production Claude API key in a browser-side JavaScript bundle. Which action directly resolves the reported problem?
- Inspect deployed browser assets and verify no production API key is present
- Hide the key in a minified frontend file
- Issue scoped credentials per environment or integration and rotate according to policy
- Keep API credentials on an authorized server and broker client requests through it
Explanation
Correct Answer
D:Client-delivered code can expose embedded keys to users and attackers.
Incorrect Answers
A:Verification alone does not implement the missing change. Keep API credentials on an authorized server and broker client requests through it.
B:Minification is not a security boundary for shipped client code.
C:Shared long-lived keys widen blast radius and prevent precise attribution. However, client-delivered code can expose embedded keys to users and attackers.
Question 164
A product hardcodes a model alias and assumes output behavior never changes between deployments. Which action directly resolves the reported problem?
- Consider any model with the same brand name behaviorally identical
- Route tasks by evaluated complexity, latency targets and quality thresholds rather than fixed vendor marketing labels
- Pin supported model IDs or explicitly manage model-version transitions with regression tests
- Compare recorded model identifiers and contract tests before and after any upgrade
Explanation
Correct Answer
C:Model aliases and releases can change observable behavior and API support.
Incorrect Answers
A:Families can differ in capabilities, parameters and response styles.
B:Cost-effective routing depends on measured workload requirements. However, model aliases and releases can change observable behavior and API support.
D:Verification alone does not implement the missing change. Pin supported model IDs or explicitly manage model-version transitions with regression tests.
Question 165
A task requires reproducible report output but its schema allows unbounded arbitrary properties. Which action directly resolves the reported problem?
- Define narrow required fields and reject unrecognized output properties at the application boundary
- Allow every free-form field to be silently accepted
- Use schema-constrained output where supported and validate each response server-side
- Add an unexpected property to a fixture and verify validation rejects or safely ignores it
Explanation
Correct Answer
A:Explicit schema boundaries reduce accidental downstream behavior changes.
Incorrect Answers
B:Unbounded properties weaken contract stability and validation.
C:A downstream contract needs parseable fields rather than merely JSON-like typography. However, explicit schema boundaries reduce accidental downstream behavior changes.
D:Verification alone does not implement the missing change. Define narrow required fields and reject unrecognized output properties at the application boundary.
Question 166
A long-running repository analysis overflows context because every raw tool log stays in the transcript. Which action directly resolves the reported problem?
- Compare answers before and after compaction using a task requiring an early discovered constraint
- Increase model output tokens instead of managing input history
- Summarize durable findings and prune redundant tool outputs before subsequent reasoning
- Separate durable user facts from temporary task state and ephemeral error logs
Explanation
Correct Answer
C:Context is a finite budget; compact evidence preserves decisions without retaining every intermediate byte.
Incorrect Answers
A:Verification alone does not implement the missing change. Summarize durable findings and prune redundant tool outputs before subsequent reasoning.
B:A larger output allowance does not remove excess earlier context from the input.
D:Persistence scope should follow evidence lifetime and privacy requirements. However, context is a finite budget; compact evidence preserves decisions without retaining every intermediate byte.
Question 167
A planning agent repeatedly fails intricate multi-hop reasoning with a fast low-cost model. Which action directly resolves the reported problem?
- Benchmark an appropriate fast/small model tier on task accuracy, cost and latency
- Evaluate a more capable model tier on representative hard reasoning traces
- Force the small model to run the same failed trace hundreds of times
- Run an adversarial planning benchmark and compare correctness before promoting the tier
Explanation
Correct Answer
B:Complex tasks sometimes justify larger models when smaller ones miss critical dependencies.
Incorrect Answers
A:Simple classification often does not require a high-cost reasoning model. However, complex tasks sometimes justify larger models when smaller ones miss critical dependencies.
C:Repetition cannot guarantee a missing reasoning capability is recovered.
D:Verification alone does not implement the missing change. Evaluate a more capable model tier on representative hard reasoning traces.
Question 168
The product owner requests an answer within three seconds but the team specifies only average latency. Which action directly resolves the reported problem?
- Include freshness, source-attribution and access-scope requirements in acceptance criteria
- Set percentile response-time and timeout acceptance criteria under representative load
- Load-test the endpoint at target concurrency and inspect p95/p99 against the requirement
- Measure only one warm local request and call performance acceptable
Explanation
Correct Answer
B:Tail latency determines user-visible violations that an average can conceal.
Incorrect Answers
A:Retrieval usefulness depends on timely and authorized evidence. However, tail latency determines user-visible violations that an average can conceal.
C:Verification alone does not implement the missing change. Set percentile response-time and timeout acceptance criteria under representative load.
D:A single warm-path timing is not representative of production tails.
Question 169
A developer wants Claude Code to read a project folder but not modify its generated deployment secrets. Which action directly resolves the reported problem?
- Apply scoped read permissions and deny writes to protected generated-secret paths
- Give unrestricted write permission because the task is a code review
- Configure a supported PreToolUse permission hook and enforce its deny outcome
- Ask for a forbidden edit in a sandbox and confirm policy blocks it while reading remains possible
Explanation
Correct Answer
A:Repository navigation and file modification should have independently enforceable permission levels.
Incorrect Answers
B:A review request does not authorize mutation of sensitive artifacts.
C:A deterministic hook can block prohibited tools before they run. However, repository navigation and file modification should have independently enforceable permission levels.
D:Verification alone does not implement the missing change. Apply scoped read permissions and deny writes to protected generated-secret paths.
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.
Claude Certified Developer - Foundations (CCDV-F) Practice Tests