Anthropic CCDV-F (Claude Certified Developer - Foundations) Practice Test 46

Question 450

The acceptance criteria for an application security change state that it must protect payload confidentiality between the application and its API endpoint. Which implementation aligns with that criterion?

  1. Apply retention limits to diagnostic logs
  2. Encrypt sensitive data in transit
  3. Minimize personally identifiable information
  4. Validate tool arguments server-side

Explanation

Correct Answer

B:

Modern transport encryption limits interception across network boundaries; this behavior directly supports the need to protect payload confidentiality between the application and its API endpoint. Merely obfuscating a prompt is not transport security.

Incorrect Answers

A:

Data minimization and controlled retention reduce the duration and audience of sensitive log content; this applies to the different goal to reduce exposure of customer documents copied into application telemetry, not the requirement to protect payload confidentiality between the application and its API endpoint; an internal log is still a data store requiring access controls.

C:

Redaction and selective fields reduce exposure before data enters model or logging paths; the supported outcome is to avoid transmitting unnecessary customer identifiers with a summarization request, whereas this scenario requires the ability to protect payload confidentiality between the application and its API endpoint; logging every full prompt can defeat otherwise careful minimization.

D:

This approach serves the separate need to block a generated database query that targets another tenant's records because backend authorization checks must bind the requested operation to the caller's entitlements; it does not establish the outcome to protect payload confidentiality between the application and its API endpoint, and well-formed arguments are not proof of permission.

Question 451

A release plan for an output validation platform has two acceptance checks: component one must avoid answering a pricing question from last month's retrieved cache; component two must avoid using the entire context budget on retrieved input before generating a response. Which proposal passes both?

  1. First component: Preserve instruction and evidence boundaries. Second component: Reserve space for the model's output.
  2. First component: Refresh stale evidence before reuse. Second component: Reserve space for the model's output.
  3. First component: Refresh stale evidence before reuse. Second component: Anchor summaries to source identifiers.
  4. First component: Anchor summaries to source identifiers. Second component: Preserve instruction and evidence boundaries.

Explanation

Correct Answer

B:

The first proposal fits its assigned role because freshness checks determine whether a saved passage remains authoritative for a dynamic fact, while the second proposal fits its assigned role because input assembly must leave room for the requested completion and any needed reasoning; their respective acceptance criteria are to avoid answering a pricing question from last month's retrieved cache and to avoid using the entire context budget on retrieved input before generating a response.

Incorrect Answers

A:

The first proposal serves the different purpose to keep an embedded webpage instruction from becoming higher-priority application policy instead of the assigned first role because context assembly must label external text as data and avoid granting it authority over tool use, while the second proposal fits its assigned role because input assembly must leave room for the requested completion and any needed reasoning; their respective acceptance criteria are to avoid answering a pricing question from last month's retrieved cache and to avoid using the entire context budget on retrieved input before generating a response.

C:

The first proposal fits its assigned role because freshness checks determine whether a saved passage remains authoritative for a dynamic fact, while the second proposal serves the different purpose to enable a reviewer to reconstruct evidence after context has been compacted instead of the assigned second role because stable document IDs and passage references preserve provenance beyond the shortened working memory; their respective acceptance criteria are to avoid answering a pricing question from last month's retrieved cache and to avoid using the entire context budget on retrieved input before generating a response.

D:

The first proposal serves the different purpose to enable a reviewer to reconstruct evidence after context has been compacted instead of the assigned first role because stable document IDs and passage references preserve provenance beyond the shortened working memory, while the second proposal serves the different purpose to keep an embedded webpage instruction from becoming higher-priority application policy instead of the assigned second role because context assembly must label external text as data and avoid granting it authority over tool use; their respective acceptance criteria are to avoid answering a pricing question from last month's retrieved cache and to avoid using the entire context budget on retrieved input before generating a response.

Question 452

During a document processing rollout, two different failure paths need remediation. The first component must avoid starting two extraction jobs for the same uploaded document after repeated browser submissions; separately, the second must reject a numeric quote that is syntactically valid but outside the permitted range. Which changes should be adopted?

  1. First component: Deduplicate application events. Second component: Treat retrieval results as untrusted data.
  2. First component: Treat retrieval results as untrusted data. Second component: Keep user tasks in the user message.
  3. First component: Keep user tasks in the user message. Second component: Validate semantic business constraints after parsing.
  4. First component: Deduplicate application events. Second component: Validate semantic business constraints after parsing.

Explanation

Correct Answer

D:

The first proposal fits its assigned role because an idempotent job key lets the server recognize duplicates at its request boundary, while the second proposal fits its assigned role because application logic must enforce business rules even after schema-valid output is produced; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to reject a numeric quote that is syntactically valid but outside the permitted range.

Incorrect Answers

A:

The first proposal fits its assigned role because an idempotent job key lets the server recognize duplicates at its request boundary, while the second proposal serves the different purpose to prevent a malicious help article from ordering the model to reveal secrets instead of the assigned second role because retrieved content should be framed as evidence, never upgraded to new tool or system authority; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to reject a numeric quote that is syntactically valid but outside the permitted range.

B:

The first proposal serves the different purpose to prevent a malicious help article from ordering the model to reveal secrets instead of the assigned first role because retrieved content should be framed as evidence, never upgraded to new tool or system authority, while the second proposal serves the different purpose to separate an end user's request from the developer's stable operating instructions instead of the assigned second role because explicit message roles distinguish requested work from higher-priority operational framing; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to reject a numeric quote that is syntactically valid but outside the permitted range.

C:

The first proposal serves the different purpose to separate an end user's request from the developer's stable operating instructions instead of the assigned first role because explicit message roles distinguish requested work from higher-priority operational framing, while the second proposal fits its assigned role because application logic must enforce business rules even after schema-valid output is produced; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to reject a numeric quote that is syntactically valid but outside the permitted range.

Question 453

During acceptance testing for a coding automation service, one requirement is to expose approved project-specific actions without copying credentials into prompts. What should the developer implement?

  1. Create a reusable Skill
  2. Connect an MCP server to Claude Code
  3. Run repository initialization to create project guidance
  4. Use a pre-execution hook for deterministic checks
  5. Use headless invocation for automation

Explanation

Correct Answer

B:

An MCP integration declares external capabilities and their transport while access remains controlled by the server; this behavior directly supports the need to expose approved project-specific actions without copying credentials into prompts. A server connection does not automatically make every operation safe or authorized.

Incorrect Answers

A:

A Skill packages a repeatable capability that Claude can load when relevant to the work; the supported outcome is to make a specialised review procedure available as task-specific instructions and assets, whereas this scenario requires the ability to expose approved project-specific actions without copying credentials into prompts; a one-off chat turn is not a maintainable shared workflow definition.

C:

Repository initialization can generate or prepare project instruction material that the team subsequently reviews; despite being useful when a service must establish a discoverable set of build and test conventions for a new Claude Code workspace, it is not a solution to expose approved project-specific actions without copying credentials into prompts; the resulting instructions are not a substitute for checking the actual build commands.

D:

For the alternate objective to block edits to a protected deployment file before a tool writes them, tool lifecycle hooks enforce programmable validation at defined execution points; the feature here must expose approved project-specific actions without copying credentials into prompts, and post-hoc code review cannot prevent the initial unauthorized edit.

E:

Noninteractive execution lets scripts integrate agent work into existing pipelines with controlled formats; this applies to the different goal to run Claude Code inside a CI job and capture its output without interactive prompts, not the requirement to expose approved project-specific actions without copying credentials into prompts; treating interactive terminal output as a stable machine interface is fragile.

Question 454

An external system access team is evaluating two disjoint use cases. For one use case, it must let an assistant recover from a missing order without inventing its details; for the other, it must prevent a helpful assistant from issuing refunds automatically. Which paired choices are justified?

  1. First component: Define narrow tool input schemas. Second component: Separate read tools from write tools.
  2. First component: Return structured tool errors. Second component: Define narrow tool input schemas.
  3. First component: Separate read tools from write tools. Second component: Add an approval boundary before sensitive writes.
  4. First component: Return structured tool errors. Second component: Add an approval boundary before sensitive writes.

Explanation

Correct Answer

D:

The first proposal fits its assigned role because machine-readable failures distinguish not-found, permission denied, and transient errors for appropriate follow-up, while the second proposal fits its assigned role because authorization by a user or operator can be enforced before the executor commits changes; their respective acceptance criteria are to let an assistant recover from a missing order without inventing its details and to prevent a helpful assistant from issuing refunds automatically.

Incorrect Answers

A:

The first proposal serves the different purpose to prevent ambiguous generated arguments from reaching an inventory service instead of the assigned first role because typed parameter definitions constrain requests and enable strict validation before execution, while the second proposal serves the different purpose to require stricter approval for actions that change customer data instead of the assigned second role because distinct interfaces simplify least-privilege grants and side-effect controls; their respective acceptance criteria are to let an assistant recover from a missing order without inventing its details and to prevent a helpful assistant from issuing refunds automatically.

B:

The first proposal fits its assigned role because machine-readable failures distinguish not-found, permission denied, and transient errors for appropriate follow-up, while the second proposal serves the different purpose to prevent ambiguous generated arguments from reaching an inventory service instead of the assigned second role because typed parameter definitions constrain requests and enable strict validation before execution; their respective acceptance criteria are to let an assistant recover from a missing order without inventing its details and to prevent a helpful assistant from issuing refunds automatically.

C:

The first proposal serves the different purpose to require stricter approval for actions that change customer data instead of the assigned first role because distinct interfaces simplify least-privilege grants and side-effect controls, while the second proposal fits its assigned role because authorization by a user or operator can be enforced before the executor commits changes; their respective acceptance criteria are to let an assistant recover from a missing order without inventing its details and to prevent a helpful assistant from issuing refunds automatically.

Question 455

The owner of a backend integration integration wants to prevent a new user from inheriting another user's document excerpts. Which proposal provides the required mechanism?

  1. Design an explicit escalation path
  2. Isolate tools behind a service layer
  3. Limit retained context to authorized history
  4. Handle empty and partial model responses

Explanation

Correct Answer

C:

Context assembly must apply access checks before adding prior turns or retrieved evidence; this behavior directly supports the need to prevent a new user from inheriting another user's document excerpts. Prompt-level instructions to respect privacy cannot repair a cross-tenant retrieval bug.

Incorrect Answers

A:

Risk-based thresholds separate assistance from decisions reserved for accountable staff; this applies to the different goal to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions, not the requirement to prevent a new user from inheriting another user's document excerpts; increasing model confidence language is not a control for consequential actions.

B:

When an application needs to avoid exposing raw production database credentials directly to an agent, a mediation service validates identity, arguments, authorization, and audit logs for each requested action; the current capability must instead prevent a new user from inheriting another user's document excerpts, while a natural-language tool description is not an access-control boundary.

D:

This approach serves the separate need to keep a downstream parser from crashing when a request returns no usable text block because content-aware response handling checks block types, stop reasons, and required values before proceeding; it does not establish the outcome to prevent a new user from inheriting another user's document excerpts, and assuming every message contains a single complete text string is unsafe.

Question 456

A production-readiness check for a document processing component requires the service to recover from transient 429 responses without synchronized retry storms. Which approach passes this check?

  1. Use feature flags for risky behavior changes
  2. Use exponential backoff with jitter
  3. Validate webhook signatures
  4. Pin dependencies with lockfiles

Explanation

Correct Answer

B:

Increasing randomized delays reduce contention and respect service throttling signals; this behavior directly supports the need to recover from transient 429 responses without synchronized retry storms. Immediate identical retries can extend an overload event.

Incorrect Answers

A:

Runtime controls can segment rollout and permit quick disabling without a code rebuild; the supported outcome is to activate a new tool execution path for only internal testers, whereas this scenario requires the ability to recover from transient 429 responses without synchronized retry storms; hard-coded unconditional activation exposes every tenant simultaneously.

C:

Cryptographic verification checks the sender and payload integrity before processing the event; despite being useful when a service must reject forged callbacks from an external asynchronous job service, it is not a solution to recover from transient 429 responses without synchronized retry storms; accepting any POST with the expected JSON fields permits spoofing.

D:

For the alternate objective to reproduce a working SDK installation across staging and production, locked versions and hashes constrain drift between build environments; the feature here must recover from transient 429 responses without synchronized retry storms, and unbounded package updates can introduce new behavior during a routine rebuild.

Question 457

A workflow automation review asks the team to close two unrelated gaps without merging their execution paths. Service A must bound the runtime of an agent that repeatedly searches without converging; service B must prevent an autonomous investigation from issuing irreversible account changes without review. Which paired remediation works?

  1. First component: Use an explicit completion condition and step budget. Second component: Use an agentic decision loop.
  2. First component: Use parallel fan-out and a reconciliation step. Second component: Introduce a human approval checkpoint.
  3. First component: Use an explicit completion condition and step budget. Second component: Introduce a human approval checkpoint.
  4. First component: Use an agentic decision loop. Second component: Use parallel fan-out and a reconciliation step.

Explanation

Correct Answer

C:

The first proposal fits its assigned role because a maximum iteration or cost budget plus a clear success criterion stops runaway tool loops, while the second proposal fits its assigned role because a human gate separates analysis from externally consequential action and gives a reviewer a veto; their respective acceptance criteria are to bound the runtime of an agent that repeatedly searches without converging and to prevent an autonomous investigation from issuing irreversible account changes without review.

Incorrect Answers

A:

The first proposal fits its assigned role because a maximum iteration or cost budget plus a clear success criterion stops runaway tool loops, while the second proposal serves the different purpose to investigate an open-ended incident where the next query depends on earlier findings instead of the assigned second role because a model-directed loop can choose subsequent actions based on tool observations until it reaches a stopping condition; their respective acceptance criteria are to bound the runtime of an agent that repeatedly searches without converging and to prevent an autonomous investigation from issuing irreversible account changes without review.

B:

The first proposal serves the different purpose to analyze several independent document sections concurrently and combine the results instead of the assigned first role because parallel tasks reduce critical-path latency when they do not depend on one another; a join step resolves conflicting findings, while the second proposal fits its assigned role because a human gate separates analysis from externally consequential action and gives a reviewer a veto; their respective acceptance criteria are to bound the runtime of an agent that repeatedly searches without converging and to prevent an autonomous investigation from issuing irreversible account changes without review.

D:

The first proposal serves the different purpose to investigate an open-ended incident where the next query depends on earlier findings instead of the assigned first role because a model-directed loop can choose subsequent actions based on tool observations until it reaches a stopping condition, while the second proposal serves the different purpose to analyze several independent document sections concurrently and combine the results instead of the assigned second role because parallel tasks reduce critical-path latency when they do not depend on one another; a join step resolves conflicting findings; their respective acceptance criteria are to bound the runtime of an agent that repeatedly searches without converging and to prevent an autonomous investigation from issuing irreversible account changes without review.

Question 458

The acceptance criteria for an output validation change state that it must prevent outdated user preferences from being treated as current task instructions. Which implementation aligns with that criterion?

  1. Preserve instruction and evidence boundaries
  2. Refresh stale evidence before reuse
  3. Separate long-term memory from active scratchpad
  4. Prune obsolete tool outputs

Explanation

Correct Answer

C:

Explicit storage and freshness rules govern what is retained and when it is reintroduced; this behavior directly supports the need to prevent outdated user preferences from being treated as current task instructions. An unbounded persistent transcript can accumulate contradictory assumptions.

Incorrect Answers

A:

This approach serves the separate need to keep an embedded webpage instruction from becoming higher-priority application policy because context assembly must label external text as data and avoid granting it authority over tool use; it does not establish the outcome to prevent outdated user preferences from being treated as current task instructions, and quotation formatting alone does not enforce sandboxing or authorization.

B:

Freshness checks determine whether a saved passage remains authoritative for a dynamic fact; despite being useful when a service must avoid answering a pricing question from last month's retrieved cache, it is not a solution to prevent outdated user preferences from being treated as current task instructions; high semantic similarity says nothing about timeliness.

D:

Tool-result pruning removes redundant bulky observations after their findings are retained; this applies to the different goal to stop stale log dumps from crowding out new evidence during an agent session, not the requirement to prevent outdated user preferences from being treated as current task instructions; keeping all raw logs forever does not guarantee better reasoning.

Question 459

A production-readiness check for an output validation component requires the service to generate a technical incident summary suitable for an on-call engineer instead of an executive. Which approach passes this check?

  1. Delimit untrusted source material
  2. Constrain response audience and purpose
  3. Specify output format in the prompt
  4. Use few-shot boundary cases

Explanation

Correct Answer

B:

Audience constraints determine useful terminology, specificity, and level of detail; this behavior directly supports the need to generate a technical incident summary suitable for an on-call engineer instead of an executive. Style guidance alone cannot make inaccurate facts true.

Incorrect Answers

A:

When an application needs to let the model summarize a hostile email without obeying its embedded commands, clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion; the current capability must instead generate a technical incident summary suitable for an on-call engineer instead of an executive, while delimiters alone cannot replace permission checks on dangerous tools.

C:

This approach serves the separate need to obtain named fields in a consistent response layout for subsequent processing because explicit field descriptions guide generation toward the consumer's expected structure; it does not establish the outcome to generate a technical incident summary suitable for an on-call engineer instead of an executive, and formatting guidance still requires machine validation at the boundary.

D:

Examples illustrating each side of a decision boundary communicate nuanced classification criteria; despite being useful when a service must distinguish near-duplicate support intents that a broad rule routinely confuses, it is not a solution to generate a technical incident summary suitable for an on-call engineer instead of an executive; many unrelated demonstrations can make the rule harder to infer.

Question 460

A technical specification for a Claude application application assigns two jobs to separate modules: module A must detect unsafe permissions and schema changes before merging an agent tool, and module B must reject a malformed tool argument payload before calling a payroll service. Which two-part solution is appropriate?

  1. First component: Separate integration tests from unit tests. Second component: Validate JSON before deserialization.
  2. First component: Use pull requests and focused code review. Second component: Use feature flags for risky behavior changes.
  3. First component: Use feature flags for risky behavior changes. Second component: Separate integration tests from unit tests.
  4. First component: Use pull requests and focused code review. Second component: Validate JSON before deserialization.

Explanation

Correct Answer

D:

The first proposal fits its assigned role because peer review creates an explicit checkpoint for correctness, security, and maintainability, while the second proposal fits its assigned role because a parser and schema validator catch missing types and invalid syntax before side effects; their respective acceptance criteria are to detect unsafe permissions and schema changes before merging an agent tool and to reject a malformed tool argument payload before calling a payroll service.

Incorrect Answers

A:

The first proposal serves the different purpose to verify that a real staging tool and its API contract work together instead of the assigned first role because integration tests exercise boundaries and serialization that isolated mocks may miss, while the second proposal fits its assigned role because a parser and schema validator catch missing types and invalid syntax before side effects; their respective acceptance criteria are to detect unsafe permissions and schema changes before merging an agent tool and to reject a malformed tool argument payload before calling a payroll service.

B:

The first proposal fits its assigned role because peer review creates an explicit checkpoint for correctness, security, and maintainability, while the second proposal serves the different purpose to activate a new tool execution path for only internal testers instead of the assigned second role because runtime controls can segment rollout and permit quick disabling without a code rebuild; their respective acceptance criteria are to detect unsafe permissions and schema changes before merging an agent tool and to reject a malformed tool argument payload before calling a payroll service.

C:

The first proposal serves the different purpose to activate a new tool execution path for only internal testers instead of the assigned first role because runtime controls can segment rollout and permit quick disabling without a code rebuild, while the second proposal serves the different purpose to verify that a real staging tool and its API contract work together instead of the assigned second role because integration tests exercise boundaries and serialization that isolated mocks may miss; their respective acceptance criteria are to detect unsafe permissions and schema changes before merging an agent tool and to reject a malformed tool argument payload before calling a payroll service.

Claude Certified Developer - Foundations (CCDV-F) Practice Tests