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

Question 490

The current design of a token economics pipeline does not adequately lower spend for large scheduled classification jobs that do not need immediate responses. Which improvement resolves the gap?

  1. Set maximum step counts for agents
  2. Track input and output usage separately
  3. Use batch pricing where deadline permits
  4. Measure cache read tokens

Explanation

Correct Answer

C:

Asynchronous batch processing can offer a cost-effective throughput path under supported terms; this behavior directly supports the need to lower spend for large scheduled classification jobs that do not need immediate responses. A night job should not be optimized with live streaming unless its users need it.

Incorrect Answers

A:

For the alternate objective to contain cumulative token and tool cost across a recursive research session, a bound on iterations prevents repeated generation and calls from growing without limit; the feature here must lower spend for large scheduled classification jobs that do not need immediate responses, and a per-message output cap alone does not control total multi-step spend.

B:

Metering by token category reveals the main cost driver and supports realistic forecasts; this applies to the different goal to forecast cost for an application that sends long documents but returns brief classifications, not the requirement to lower spend for large scheduled classification jobs that do not need immediate responses; counting only request totals hides prompt-size variability.

D:

Usage fields show how much eligible cached input was read rather than recomputed; the supported outcome is to verify that an optimization actually reuses an earlier prompt prefix, whereas this scenario requires the ability to lower spend for large scheduled classification jobs that do not need immediate responses; assuming identical UI prompts means a cache hit can conceal changed metadata or order.

Question 491

Two separate tickets in a production API backlog require different controls. One needs to reject a numeric quote that is syntactically valid but outside the permitted range; the other needs to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions. Which implementation pair is correct?

  1. First component: Validate semantic business constraints after parsing. Second component: Keep user tasks in the user message.
  2. First component: Limit retained context to authorized history. Second component: Design an explicit escalation path.
  3. First component: Keep user tasks in the user message. Second component: Limit retained context to authorized history.
  4. First component: Validate semantic business constraints after parsing. Second component: Design an explicit escalation path.

Explanation

Correct Answer

D:

The first proposal fits its assigned role because application logic must enforce business rules even after schema-valid output is produced, while the second proposal fits its assigned role because risk-based thresholds separate assistance from decisions reserved for accountable staff; their respective acceptance criteria are to reject a numeric quote that is syntactically valid but outside the permitted range and to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions.

Incorrect Answers

A:

The first proposal fits its assigned role because application logic must enforce business rules even after schema-valid output is produced, 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 reject a numeric quote that is syntactically valid but outside the permitted range and to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions.

B:

The first proposal serves the different purpose to prevent a new user from inheriting another user's document excerpts instead of the assigned first role because context assembly must apply access checks before adding prior turns or retrieved evidence, while the second proposal fits its assigned role because risk-based thresholds separate assistance from decisions reserved for accountable staff; their respective acceptance criteria are to reject a numeric quote that is syntactically valid but outside the permitted range and to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions.

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 serves the different purpose to prevent a new user from inheriting another user's document excerpts instead of the assigned second role because context assembly must apply access checks before adding prior turns or retrieved evidence; their respective acceptance criteria are to reject a numeric quote that is syntactically valid but outside the permitted range and to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions.

Question 492

A latency optimization review requires two independent, explicitly defined outcomes: the first workstream must forecast cost for an application that sends long documents but returns brief classifications; a second must verify that an optimization actually reuses an earlier prompt prefix. Which TWO actions directly provide these capabilities? Choose TWO.

  1. Use model routing for simple versus hard cases
  2. Use batch pricing where deadline permits
  3. Measure cache read tokens
  4. Track input and output usage separately
  5. Cache a stable shared prefix

Explanation

Correct Answers

C:

Usage fields show how much eligible cached input was read rather than recomputed; this directly supports task 2 to verify that an optimization actually reuses an earlier prompt prefix, not the separate task or tasks to forecast cost for an application that sends long documents but returns brief classifications; assuming identical UI prompts means a cache hit can conceal changed metadata or order.

D:

Metering by token category reveals the main cost driver and supports realistic forecasts; this directly supports task 1 to forecast cost for an application that sends long documents but returns brief classifications, not the separate task or tasks to verify that an optimization actually reuses an earlier prompt prefix; counting only request totals hides prompt-size variability.

Incorrect Answers

A:

Conditional routing improves blended cost without discarding an escalation path; this implements the different outcome to spend high-capability tokens only when validation indicates complexity rather than the required tasks to forecast cost for an application that sends long documents but returns brief classifications and to verify that an optimization actually reuses an earlier prompt prefix, and blindly downgrading every call can increase retries and review expenses, so it is not a direct solution to any of the assigned workstreams.

B:

Asynchronous batch processing can offer a cost-effective throughput path under supported terms; this implements the different outcome to lower spend for large scheduled classification jobs that do not need immediate responses rather than the required tasks to forecast cost for an application that sends long documents but returns brief classifications and to verify that an optimization actually reuses an earlier prompt prefix, and a night job should not be optimized with live streaming unless its users need it, so it is not a direct solution to any of the assigned workstreams.

E:

Prefix caching can lower repeated-input cost when the eligible prefix and cache conditions match; this implements the different outcome to reduce repeated processing of identical tool definitions and system instructions rather than the required tasks to forecast cost for an application that sends long documents but returns brief classifications and to verify that an optimization actually reuses an earlier prompt prefix, and caching does not turn every changed prompt into an automatic hit, so it is not a direct solution to any of the assigned workstreams.

Question 493

A document processing build contains an upstream function and a separate downstream function. The upstream work must deliver model-generated records to a strict financial reporting API; the downstream work must keep a regulated triage service usable during an upstream API outage. Which configuration pair covers both?

  1. First component: Agree on output contracts with downstream systems. Second component: Define input modalities and size bounds.
  2. First component: Define input modalities and size bounds. Second component: Set an explicit data residency constraint.
  3. First component: Agree on output contracts with downstream systems. Second component: Define failure and recovery objectives.
  4. First component: Set an explicit data residency constraint. Second component: Define failure and recovery objectives.
  5. First component: Calculate expected traffic and concurrency. Second component: Define input modalities and size bounds.

Explanation

Correct Answer

C:

The first proposal fits its assigned role because typed fields and required identifiers enable validators and consumers to reject malformed results, while the second proposal fits its assigned role because availability, recovery time, and fallback behavior must be specified as measurable operational needs; their respective acceptance criteria are to deliver model-generated records to a strict financial reporting API and to keep a regulated triage service usable during an upstream API outage.

Incorrect Answers

A:

The first proposal fits its assigned role because typed fields and required identifiers enable validators and consumers to reject malformed results, while the second proposal serves the different purpose to build an intake service that accepts scanned documents as well as typed text instead of the assigned second role because format, resolution, size, and throughput requirements determine preprocessing and model-call strategy; their respective acceptance criteria are to deliver model-generated records to a strict financial reporting API and to keep a regulated triage service usable during an upstream API outage.

B:

The first proposal serves the different purpose to build an intake service that accepts scanned documents as well as typed text instead of the assigned first role because format, resolution, size, and throughput requirements determine preprocessing and model-call strategy, while the second proposal serves the different purpose to ensure protected records are processed only in approved jurisdictions instead of the assigned second role because documented residency requirements inform cloud placement, logging, storage, and vendor selection; their respective acceptance criteria are to deliver model-generated records to a strict financial reporting API and to keep a regulated triage service usable during an upstream API outage.

D:

The first proposal serves the different purpose to ensure protected records are processed only in approved jurisdictions instead of the assigned first role because documented residency requirements inform cloud placement, logging, storage, and vendor selection, while the second proposal fits its assigned role because availability, recovery time, and fallback behavior must be specified as measurable operational needs; their respective acceptance criteria are to deliver model-generated records to a strict financial reporting API and to keep a regulated triage service usable during an upstream API outage.

E:

The first proposal serves the different purpose to provision an interactive application for peak seasonal traffic instead of the assigned first role because workload assumptions drive rate-limit planning, queue capacity, and retry strategy, while the second proposal serves the different purpose to build an intake service that accepts scanned documents as well as typed text instead of the assigned second role because format, resolution, size, and throughput requirements determine preprocessing and model-call strategy; their respective acceptance criteria are to deliver model-generated records to a strict financial reporting API and to keep a regulated triage service usable during an upstream API outage.

Question 494

In a conversation design project, acceptance test A checks whether a component can stop stale log dumps from crowding out new evidence during an agent session. Acceptance test B checks whether a different component can let an assistant continue a long incident investigation without losing decisions. Which plan satisfies both tests?

  1. First component: Refresh stale evidence before reuse. Second component: Anchor summaries to source identifiers.
  2. First component: Anchor summaries to source identifiers. Second component: Compact completed task history.
  3. First component: Prune obsolete tool outputs. Second component: Compact completed task history.
  4. First component: Prune obsolete tool outputs. Second component: Refresh stale evidence before reuse.

Explanation

Correct Answer

C:

The first proposal fits its assigned role because tool-result pruning removes redundant bulky observations after their findings are retained, while the second proposal fits its assigned role because a structured summary preserves established facts, pending work, and unresolved assumptions in fewer tokens; their respective acceptance criteria are to stop stale log dumps from crowding out new evidence during an agent session and to let an assistant continue a long incident investigation without losing decisions.

Incorrect Answers

A:

The first proposal serves the different purpose to avoid answering a pricing question from last month's retrieved cache instead of the assigned first 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 stop stale log dumps from crowding out new evidence during an agent session and to let an assistant continue a long incident investigation without losing decisions.

B:

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 fits its assigned role because a structured summary preserves established facts, pending work, and unresolved assumptions in fewer tokens; their respective acceptance criteria are to stop stale log dumps from crowding out new evidence during an agent session and to let an assistant continue a long incident investigation without losing decisions.

D:

The first proposal fits its assigned role because tool-result pruning removes redundant bulky observations after their findings are retained, while the second proposal serves the different purpose to avoid answering a pricing question from last month's retrieved cache instead of the assigned second role because freshness checks determine whether a saved passage remains authoritative for a dynamic fact; their respective acceptance criteria are to stop stale log dumps from crowding out new evidence during an agent session and to let an assistant continue a long incident investigation without losing decisions.

Question 495

A technical specification for a coding automation application assigns two jobs to separate modules: module A must apply specialised rules only to a sensitive infrastructure folder, and module B must block edits to a protected deployment file before a tool writes them. Which two-part solution is appropriate?

  1. First component: Use directory-scoped instructions. Second component: Use headless invocation for automation.
  2. First component: Use directory-scoped instructions. Second component: Use a pre-execution hook for deterministic checks.
  3. First component: Create a reusable Skill. Second component: Use a pre-execution hook for deterministic checks.
  4. First component: Use headless invocation for automation. Second component: Create a reusable Skill.

Explanation

Correct Answer

B:

The first proposal fits its assigned role because more local instruction files help scope guidance to the appropriate subtree, while the second proposal fits its assigned role because tool lifecycle hooks enforce programmable validation at defined execution points; their respective acceptance criteria are to apply specialised rules only to a sensitive infrastructure folder and to block edits to a protected deployment file before a tool writes them.

Incorrect Answers

A:

The first proposal fits its assigned role because more local instruction files help scope guidance to the appropriate subtree, while the second proposal serves the different purpose to run Claude Code inside a CI job and capture its output without interactive prompts instead of the assigned second role because noninteractive execution lets scripts integrate agent work into existing pipelines with controlled formats; their respective acceptance criteria are to apply specialised rules only to a sensitive infrastructure folder and to block edits to a protected deployment file before a tool writes them.

C:

The first proposal serves the different purpose to make a specialised review procedure available as task-specific instructions and assets instead of the assigned first role because a Skill packages a repeatable capability that Claude can load when relevant to the work, while the second proposal fits its assigned role because tool lifecycle hooks enforce programmable validation at defined execution points; their respective acceptance criteria are to apply specialised rules only to a sensitive infrastructure folder and to block edits to a protected deployment file before a tool writes them.

D:

The first proposal serves the different purpose to run Claude Code inside a CI job and capture its output without interactive prompts instead of the assigned first role because noninteractive execution lets scripts integrate agent work into existing pipelines with controlled formats, while the second proposal serves the different purpose to make a specialised review procedure available as task-specific instructions and assets instead of the assigned second role because a Skill packages a repeatable capability that Claude can load when relevant to the work; their respective acceptance criteria are to apply specialised rules only to a sensitive infrastructure folder and to block edits to a protected deployment file before a tool writes them.

Question 496

A prompt engineering team owns two independent components. The first must generate a technical incident summary suitable for an on-call engineer instead of an executive; the second must prevent a customer message from overriding the application's escalation rules. Which paired plan fulfills both?

  1. First component: Constrain response audience and purpose. Second component: Delimit untrusted source material.
  2. First component: Delimit untrusted source material. Second component: Specify the handling of missing information.
  3. First component: Constrain response audience and purpose. Second component: Separate system policy from user content.
  4. First component: Specify the handling of missing information. Second component: Separate system policy from user content.

Explanation

Correct Answer

C:

The first proposal fits its assigned role because audience constraints determine useful terminology, specificity, and level of detail, while the second proposal fits its assigned role because stable higher-priority instructions should be represented in the designated instruction channel; their respective acceptance criteria are to generate a technical incident summary suitable for an on-call engineer instead of an executive and to prevent a customer message from overriding the application's escalation rules.

Incorrect Answers

A:

The first proposal fits its assigned role because audience constraints determine useful terminology, specificity, and level of detail, while the second proposal serves the different purpose to let the model summarize a hostile email without obeying its embedded commands instead of the assigned second role because clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion; their respective acceptance criteria are to generate a technical incident summary suitable for an on-call engineer instead of an executive and to prevent a customer message from overriding the application's escalation rules.

B:

The first proposal serves the different purpose to let the model summarize a hostile email without obeying its embedded commands instead of the assigned first role because clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion, while the second proposal serves the different purpose to avoid invented contract dates when the uploaded document lacks them instead of the assigned second role because an explicit unknown or null rule makes uncertainty visible in the requested output; their respective acceptance criteria are to generate a technical incident summary suitable for an on-call engineer instead of an executive and to prevent a customer message from overriding the application's escalation rules.

D:

The first proposal serves the different purpose to avoid invented contract dates when the uploaded document lacks them instead of the assigned first role because an explicit unknown or null rule makes uncertainty visible in the requested output, while the second proposal fits its assigned role because stable higher-priority instructions should be represented in the designated instruction channel; their respective acceptance criteria are to generate a technical incident summary suitable for an on-call engineer instead of an executive and to prevent a customer message from overriding the application's escalation rules.

Question 497

A language-model integration review requires two independent, explicitly defined outcomes: the first workstream must keep a web request from hanging indefinitely if a network path stalls; a second must avoid rejecting tool schemas because serialized values are invalid. Which TWO actions directly provide these capabilities? Choose TWO.

  1. Send an API version header where required
  2. Use JSON-safe types in request bodies
  3. Specify request deadlines in the caller
  4. Use direct HTTP REST integration for unsupported runtimes
  5. Separate transport failures from model refusals

Explanation

Correct Answers

B:

Structured request encoding enforces objects, arrays, strings, booleans, and numeric representations; this directly supports task 2 to avoid rejecting tool schemas because serialized values are invalid, not the separate task or tasks to keep a web request from hanging indefinitely if a network path stalls; python object repr strings are not valid JSON contracts.

C:

A client timeout bounds waiting for transport and response completion; this directly supports task 1 to keep a web request from hanging indefinitely if a network path stalls, not the separate task or tasks to avoid rejecting tool schemas because serialized values are invalid; model generation settings alone cannot enforce a socket deadline.

Incorrect Answers

A:

Explicit protocol versioning makes the caller's expected API semantics unambiguous; this implements the different outcome to keep integration behavior aligned with a supported request contract rather than the required tasks to avoid rejecting tool schemas because serialized values are invalid and to keep a web request from hanging indefinitely if a network path stalls, and relying on an arbitrary undocumented default is fragile, so it is not a direct solution to any of the assigned workstreams.

D:

A standards-based HTTP client can send JSON requests with the correct headers and decode responses; this implements the different outcome to call the Messages endpoint from a language without a mature provider SDK rather than the required tasks to avoid rejecting tool schemas because serialized values are invalid and to keep a web request from hanging indefinitely if a network path stalls, and a wrapper package is optional, not the underlying API transport, so it is not a direct solution to any of the assigned workstreams.

E:

A transport error occurs before a valid application-level completion; refusals are model outcomes; this implements the different outcome to surface network timeouts differently from a completed response that declines a task rather than the required tasks to avoid rejecting tool schemas because serialized values are invalid and to keep a web request from hanging indefinitely if a network path stalls, and treating both as one generic retry condition can loop endlessly, so it is not a direct solution to any of the assigned workstreams.

Question 498

Two features of an agent governance system are under review. One feature must reduce exposure of customer documents copied into application telemetry; the other must protect payload confidentiality between the application and its API endpoint. Which plan matches the respective needs?

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

Explanation

Correct Answer

A:

The first proposal fits its assigned role because data minimization and controlled retention reduce the duration and audience of sensitive log content, while the second proposal fits its assigned role because modern transport encryption limits interception across network boundaries; their respective acceptance criteria are to reduce exposure of customer documents copied into application telemetry and to protect payload confidentiality between the application and its API endpoint.

Incorrect Answers

B:

The first proposal fits its assigned role because data minimization and controlled retention reduce the duration and audience of sensitive log content, while the second proposal serves the different purpose to avoid transmitting unnecessary customer identifiers with a summarization request instead of the assigned second role because redaction and selective fields reduce exposure before data enters model or logging paths; their respective acceptance criteria are to reduce exposure of customer documents copied into application telemetry and to protect payload confidentiality between the application and its API endpoint.

C:

The first proposal serves the different purpose to block a generated database query that targets another tenant's records instead of the assigned first role because backend authorization checks must bind the requested operation to the caller's entitlements, while the second proposal fits its assigned role because modern transport encryption limits interception across network boundaries; their respective acceptance criteria are to reduce exposure of customer documents copied into application telemetry and to protect payload confidentiality between the application and its API endpoint.

D:

The first proposal serves the different purpose to avoid transmitting unnecessary customer identifiers with a summarization request instead of the assigned first role because redaction and selective fields reduce exposure before data enters model or logging paths, while the second proposal serves the different purpose to block a generated database query that targets another tenant's records instead of the assigned second role because backend authorization checks must bind the requested operation to the caller's entitlements; their respective acceptance criteria are to reduce exposure of customer documents copied into application telemetry and to protect payload confidentiality between the application and its API endpoint.

Question 499

Engineers are splitting a privacy controls service into two independently tested functions. Function A must limit the impact of a temporary worker credential being stolen, while function B must attribute tool actions to the right workload rather than a developer's personal account. Which plan is sound?

  1. First component: Audit sensitive credential use. Second component: Separate human and service identities.
  2. First component: Use short-lived scoped credentials where supported. Second component: Separate human and service identities.
  3. First component: Use short-lived scoped credentials where supported. Second component: Load keys from a managed secret service.
  4. First component: Load keys from a managed secret service. Second component: Audit sensitive credential use.

Explanation

Correct Answer

B:

The first proposal fits its assigned role because expiring identity grants reduce the time and permissions available to an attacker, while the second proposal fits its assigned role because distinct principals simplify least privilege, revocation, and audit attribution; their respective acceptance criteria are to limit the impact of a temporary worker credential being stolen and to attribute tool actions to the right workload rather than a developer's personal account.

Incorrect Answers

A:

The first proposal serves the different purpose to detect unexpected API key activity from an unfamiliar process instead of the assigned first role because usage and access logs support incident investigation and anomaly response, while the second proposal fits its assigned role because distinct principals simplify least privilege, revocation, and audit attribution; their respective acceptance criteria are to limit the impact of a temporary worker credential being stolen and to attribute tool actions to the right workload rather than a developer's personal account.

C:

The first proposal fits its assigned role because expiring identity grants reduce the time and permissions available to an attacker, while the second proposal serves the different purpose to avoid committing provider credentials inside a shared repository instead of the assigned second role because secrets managers support controlled retrieval, rotation, and access logs; their respective acceptance criteria are to limit the impact of a temporary worker credential being stolen and to attribute tool actions to the right workload rather than a developer's personal account.

D:

The first proposal serves the different purpose to avoid committing provider credentials inside a shared repository instead of the assigned first role because secrets managers support controlled retrieval, rotation, and access logs, while the second proposal serves the different purpose to detect unexpected API key activity from an unfamiliar process instead of the assigned second role because usage and access logs support incident investigation and anomaly response; their respective acceptance criteria are to limit the impact of a temporary worker credential being stolen and to attribute tool actions to the right workload rather than a developer's personal account.

Question 500

A developer is reviewing alternatives for a credential management feature that must restore a safe service state after a new guardrail configuration causes widespread errors. Which option is a defensible fit?

  1. Deploy content moderation and escalation
  2. Rate-limit high-risk endpoints
  3. Require verified identity for privileged actions
  4. Build a documented rollback and incident process

Explanation

Correct Answer

D:

Versioned release artifacts and response runbooks support containment and recovery; this behavior directly supports the need to restore a safe service state after a new guardrail configuration causes widespread errors. Improvised rollback during an outage increases operational risk.

Incorrect Answers

A:

When an application needs to route borderline high-risk requests to a review process instead of automatic publication, a defined moderation workflow handles uncertain or sensitive material according to business policy; the current capability must instead restore a safe service state after a new guardrail configuration causes widespread errors, while blocking every ambiguous input may be unnecessarily disruptive.

B:

Per-identity quotas and anomaly monitoring make bulk misuse harder; the supported outcome is to reduce automated abuse of a model-backed export or search capability, whereas this scenario requires the ability to restore a safe service state after a new guardrail configuration causes widespread errors; a single global throughput cap may still let one actor consume all capacity.

C:

This approach serves the separate need to stop an unauthenticated user from invoking a dangerous account-management tool because authentication establishes the caller before authorization policies consider requested permissions; it does not establish the outcome to restore a safe service state after a new guardrail configuration causes widespread errors, and asking the model to remember a user's name is not identity verification.

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