cert
cert-1
cert-2

Pass Anthropic CCDV-F Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
CCDV-F Exam - Verified By Experts
CCDV-F Premium Bundle
$14.99

CCDV-F Premium Bundle

$94.99
$109.98
  • Premium File 96 Questions & Answers. Last update: Nov 30, 2026
  • Training Course 116 Video Lectures
 
$109.98
$94.99
accept 187 downloads in last 7 days
block-screenshots
Purchase Anthropic CCDV-F Exam Training Products Individually
Anthropic CCDV-F Premium File
Premium File 96 Q&A
$98.99$89.99
Anthropic CCDV-F Video Training Course
Training Course 116 Lectures
$21.99 $19.99
Anthropic CCDV-F Practice Test 73

Question 720

A frontend executes a tool as soon as it sees the first JSON fragment of its input. Which development or architectural response BEST addresses the primary requirement?

  1. Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format.
  2. Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions.
  3. Pass images and document content using supported API block formats with controlled file size and content validation while respecting modality limits.
  4. Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use.

Explanation

Correct Answer

B:

Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions. SSE chunks are not independent complete objects; partial tool input and text must be buffered until their blocks finish. Verify the prerequisites with: Inspect event order, content_block indices, network interrupts, partial JSON fragments and retry decisions. Situation: A frontend executes a tool as soon as it sees the first JSON fragment of its input.

Incorrect Answers

A:

Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. This response is designed for Messages API role and content structure; it is not the controlling fix in the situation. The Claude Messages API has explicit message/content schema; inventing roles or losing block order can alter behavior or cause errors. Here the targeted response is: Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions. Situation: A frontend executes a tool as soon as it sees the first JSON fragment of its input.

C:

Pass images and document content using supported API block formats with controlled file size and content validation while respecting modality limits. This response is designed for Vision and document input handling; it is not the controlling fix in the situation. Multimodal inputs have documented encodings and limits; an OCR-like textual guess is not proof that binary data was transmitted correctly. Here the targeted response is: Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions. Situation: A frontend executes a tool as soon as it sees the first JSON fragment of its input.

D:

Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. This response is designed for JSON contract and defensive parsing; it is not the controlling fix in the situation. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. Here the targeted response is: Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions. Situation: A frontend executes a tool as soon as it sees the first JSON fragment of its input.

Question 721

A TypeScript handler forgets to await an LLM promise and responds to clients with an unresolved object. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints.
  2. The chosen deployment meets documented region, security, capacity and availability requirements under representative load.
  3. Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs.
  4. Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance.
  5. Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work.

Explanation

Correct Answers

C:

Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Concurrency improves throughput only when external quotas and task dependencies are respected. The appropriate response is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. Situation: A TypeScript handler forgets to await an LLM promise and responds to clients with an unresolved object.

E:

Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. Concurrency improves throughput only when external quotas and task dependencies are respected. Verify the prerequisites with: Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A TypeScript handler forgets to await an LLM promise and responds to clients with an unresolved object.

Incorrect Answers

A:

Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. This step may apply to Message Batches versus interactive API traffic but is not one of the two required complementary decisions. The relevant pair is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. and Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A TypeScript handler forgets to await an LLM promise and responds to clients with an unresolved object.

B:

The chosen deployment meets documented region, security, capacity and availability requirements under representative load. This step may apply to Infrastructure and data residency discovery but is not one of the two required complementary decisions. The relevant pair is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. and Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A TypeScript handler forgets to await an LLM promise and responds to clients with an unresolved object.

D:

Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. This step may apply to Discovery prototype to production readiness gates but is not one of the two required complementary decisions. The relevant pair is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. and Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A TypeScript handler forgets to await an LLM promise and responds to clients with an unresolved object.

Question 722

A model emits a JSON field as a string where a billing service expects an integer amount. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Concurrent workloads complete within capacity limits and preserve output-to-input mapping under varying latencies.
  2. A change can be attributed to the exact model/prompt combination and safely rolled back after regression.
  3. Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records.
  4. Small changes roll out with measurable evidence, and regressions trigger rollback before broad exposure.

Explanation

Correct Answer

C:

Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.

Incorrect Answers

A:

Concurrent workloads complete within capacity limits and preserve output-to-input mapping under varying latencies. This result tests Async Python and TypeScript concurrency, not the requirement demonstrated by this case. The relevant acceptance condition is: Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.

B:

A change can be attributed to the exact model/prompt combination and safely rolled back after regression. This result tests Versioned model and prompt configuration, not the requirement demonstrated by this case. The relevant acceptance condition is: Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.

D:

Small changes roll out with measurable evidence, and regressions trigger rollback before broad exposure. This result tests Iterative delivery and change management, not the requirement demonstrated by this case. The relevant acceptance condition is: Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.

Question 723

Two agents repeatedly delegate the same unresolved ticket to each other because neither has a termination contract. Which development or architectural response BEST addresses the primary requirement?

  1. Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity.
  2. Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work.
  3. Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement.
  4. Choose a self-hosted or managed agent runtime based on residency, network access, audit obligations, deployment operations and integration capabilities.

Explanation

Correct Answer

B:

Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work. Multi-agent designs help when specialization is useful, but they introduce coordination cost and risk of contradictory state. Verify the prerequisites with: Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. Situation: Two agents repeatedly delegate the same unresolved ticket to each other because neither has a termination contract.

Incorrect Answers

A:

Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. This response is designed for Agent framework selection and abstraction leaks; it is not the controlling fix in the situation. Framework selection should follow control-flow and lifecycle requirements; a named framework does not inherently ensure safety or correctness. Here the targeted response is: Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work. Situation: Two agents repeatedly delegate the same unresolved ticket to each other because neither has a termination contract.

C:

Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. This response is designed for Claude Agent SDK session and tool boundaries; it is not the controlling fix in the situation. An Agent SDK manages orchestration plumbing but developers still own tool authorization, state scope, and failure handling. Here the targeted response is: Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work. Situation: Two agents repeatedly delegate the same unresolved ticket to each other because neither has a termination contract.

D:

Choose a self-hosted or managed agent runtime based on residency, network access, audit obligations, deployment operations and integration capabilities. This response is designed for Self-hosted versus managed agent execution; it is not the controlling fix in the situation. Managed runtime convenience does not eliminate architecture constraints; self-hosting adds infrastructure and security responsibilities. Here the targeted response is: Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work. Situation: Two agents repeatedly delegate the same unresolved ticket to each other because neither has a termination contract.

Question 724

A search backend returns HTTP 503 and the agent repeats calls indefinitely without a limit. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Run application-controlled tools in the appropriate trusted service and send their results back into the Claude tool-use loop rather than assuming the model executes them directly.
  2. Inspect exception type, timeout phase, tool idempotency, retry backoff and execution records.
  3. Inspect connection lifecycle, stdio process ownership, network origin, authorization headers and server logs.
  4. Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions.
  5. The same skill produces reproducible results across authorized projects while context remains concise.

Explanation

Correct Answers

B:

Inspect exception type, timeout phase, tool idempotency, retry backoff and execution records. Tool error handling is part of the agent loop; pretending an unavailable tool succeeded creates incorrect conclusions. The appropriate response is: Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions. Situation: A search backend returns HTTP 503 and the agent repeats calls indefinitely without a limit.

D:

Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions. Tool error handling is part of the agent loop; pretending an unavailable tool succeeded creates incorrect conclusions. Verify the prerequisites with: Inspect exception type, timeout phase, tool idempotency, retry backoff and execution records. Situation: A search backend returns HTTP 503 and the agent repeats calls indefinitely without a limit.

Incorrect Answers

A:

Run application-controlled tools in the appropriate trusted service and send their results back into the Claude tool-use loop rather than assuming the model executes them directly. This step may apply to Client-side and server-side tool execution but is not one of the two required complementary decisions. The relevant pair is: Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions. and Inspect exception type, timeout phase, tool idempotency, retry backoff and execution records. Situation: A search backend returns HTTP 503 and the agent repeats calls indefinitely without a limit.

C:

Inspect connection lifecycle, stdio process ownership, network origin, authorization headers and server logs. This step may apply to MCP stdio versus network transport and authentication but is not one of the two required complementary decisions. The relevant pair is: Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions. and Inspect exception type, timeout phase, tool idempotency, retry backoff and execution records. Situation: A search backend returns HTTP 503 and the agent repeats calls indefinitely without a limit.

E:

The same skill produces reproducible results across authorized projects while context remains concise. This step may apply to Skills as reusable operational procedures but is not one of the two required complementary decisions. The relevant pair is: Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions. and Inspect exception type, timeout phase, tool idempotency, retry backoff and execution records. Situation: A search backend returns HTTP 503 and the agent repeats calls indefinitely without a limit.

Question 725

A legal assistant concatenates thousands of attachments until the API rejects its context size. Which development or architectural response BEST addresses the primary requirement?

  1. Model costs using input, output and cache-read/cache-write token accounting with the provider's documented pricing and observed usage.
  2. Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call.
  3. Use an official supported SDK when it reduces integration boilerplate, or direct REST when low-level request control is required, while retaining observable HTTP errors.
  4. Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model.

Explanation

Correct Answer

D:

Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. Context windows and output budgets are finite and tokenization differs from character length; increasing text does not guarantee a better answer. Verify the prerequisites with: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

Incorrect Answers

A:

Model costs using input, output and cache-read/cache-write token accounting with the provider's documented pricing and observed usage. This response is designed for Prompt caching cost attribution; it is not the controlling fix in the situation. Cache economics depend on actual hits and token classes; multiplying all tokens by one flat price misstates spend. Here the targeted response is: Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

B:

Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. This response is designed for Opus Sonnet and Haiku tradeoffs; it is not the controlling fix in the situation. Model tiers offer different capability/cost/latency profiles; names alone do not prove performance on a customer's tasks. Here the targeted response is: Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

C:

Use an official supported SDK when it reduces integration boilerplate, or direct REST when low-level request control is required, while retaining observable HTTP errors. This response is designed for SDK versus raw REST transport; it is not the controlling fix in the situation. SDKs wrap the underlying API; they do not eliminate rate limits, authentication or data-validation responsibilities. Here the targeted response is: Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

Question 726

An agent changes model version and begins selecting a different tool for the same inventory task. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Outputs meet task rules across repeated trials, and strict fields are validated despite generation variability.
  2. A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state.
  3. The application selects only supported features and gracefully rejects incompatible combinations.
  4. The chosen tier meets quality targets at an acceptable cost and escalates only cases that justify additional capability.

Explanation

Correct Answer

B:

A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Model improvements do not guarantee unchanged tool choices, formatting or threshold decisions; changes need explicit tests. Situation: An agent changes model version and begins selecting a different tool for the same inventory task.

Incorrect Answers

A:

Outputs meet task rules across repeated trials, and strict fields are validated despite generation variability. This result tests Sampling and nondeterministic output testing, not the requirement demonstrated by this case. The relevant acceptance condition is: A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Situation: An agent changes model version and begins selecting a different tool for the same inventory task.

C:

The application selects only supported features and gracefully rejects incompatible combinations. This result tests Client library and provider compatibility, not the requirement demonstrated by this case. The relevant acceptance condition is: A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Situation: An agent changes model version and begins selecting a different tool for the same inventory task.

D:

The chosen tier meets quality targets at an acceptable cost and escalates only cases that justify additional capability. This result tests Opus Sonnet and Haiku tradeoffs, not the requirement demonstrated by this case. The relevant acceptance condition is: A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Situation: An agent changes model version and begins selecting a different tool for the same inventory task.

Question 727

A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing. Which observed result BEST demonstrates the requirement has been satisfied?

  1. A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state.
  2. Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent.
  3. Routine work stays efficient and escalated cases improve measured correctness without unbounded repeated calls.
  4. The implementation uses a supported transport and handles disconnects without claiming unavailable API methods exist.

Explanation

Correct Answer

A:

A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Model improvements do not guarantee unchanged tool choices, formatting or threshold decisions; changes need explicit tests. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.

Incorrect Answers

B:

Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent. This result tests Request timeouts and network failure discipline, not the requirement demonstrated by this case. The relevant acceptance condition is: A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.

C:

Routine work stays efficient and escalated cases improve measured correctness without unbounded repeated calls. This result tests Tiered routing and escalation policies, not the requirement demonstrated by this case. The relevant acceptance condition is: A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.

D:

The implementation uses a supported transport and handles disconnects without claiming unavailable API methods exist. This result tests Websocket versus request-response interaction, not the requirement demonstrated by this case. The relevant acceptance condition is: A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.

Question 728

An API field includes a megabyte-long text blob that exhausts the configured context window. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments.
  2. Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
  3. A test can reproduce an integration failure without calling production APIs, and a changed prompt does not break unrelated billing logic.
  4. Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior.
  5. Define a provider adapter and verify what features are supported when routing Claude through another hosting platform rather than assuming endpoint and token behavior match.

Explanation

Correct Answers

B:

Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. External text belongs to a lower trust tier than application instructions even when placed in the same model context. Verify the prerequisites with: Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: An API field includes a megabyte-long text blob that exhausts the configured context window.

D:

Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. External text belongs to a lower trust tier than application instructions even when placed in the same model context. The appropriate response is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. Situation: An API field includes a megabyte-long text blob that exhausts the configured context window.

Incorrect Answers

A:

Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. This step may apply to Secret and dependency hygiene in development but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: An API field includes a megabyte-long text blob that exhausts the configured context window.

C:

A test can reproduce an integration failure without calling production APIs, and a changed prompt does not break unrelated billing logic. This step may apply to Refactoring and separation of concerns but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: An API field includes a megabyte-long text blob that exhausts the configured context window.

E:

Define a provider adapter and verify what features are supported when routing Claude through another hosting platform rather than assuming endpoint and token behavior match. This step may apply to Multi-provider boundary and API compatibility but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: An API field includes a megabyte-long text blob that exhausts the configured context window.

Question 729

An agent invokes a file write outside the allowed repository and a pre-tool hook rejects its path. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers.
  2. Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task.
  3. Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed.
  4. An adversarial document may be summarized but cannot trigger unauthorized external calls or disclose secrets.

Explanation

Correct Answer

C:

Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. A hook must sit on the actual execution path and fail safely; a prompt saying do not delete is not equivalent. Situation: An agent invokes a file write outside the allowed repository and a pre-tool hook rejects its path.

Incorrect Answers

A:

Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers. This result tests Tenant identity and delegated resource authorization, not the requirement demonstrated by this case. The relevant acceptance condition is: Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. Situation: An agent invokes a file write outside the allowed repository and a pre-tool hook rejects its path.

B:

Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task. This result tests PII minimization and output privacy, not the requirement demonstrated by this case. The relevant acceptance condition is: Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. Situation: An agent invokes a file write outside the allowed repository and a pre-tool hook rejects its path.

D:

An adversarial document may be summarized but cannot trigger unauthorized external calls or disclose secrets. This result tests Prompt injection defense in retrieved content, not the requirement demonstrated by this case. The relevant acceptance condition is: Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. Situation: An agent invokes a file write outside the allowed repository and a pre-tool hook rejects its path.

Question 730

A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect error cases, example coverage, instruction conflicts and token overhead.
  2. Inspect routing signal quality, fallback loops, task risk, escalation cost and evaluation outcomes.
  3. Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs.
  4. Inspect item independence, batch identifiers, completion deadlines, failed records and total cost.

Explanation

Correct Answer

C:

Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Authentication is an API boundary enforced by the server, not by the wording of a model system prompt. The appropriate response is: Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.

Incorrect Answers

A:

Inspect error cases, example coverage, instruction conflicts and token overhead. This evidence is useful for Zero-shot versus few-shot task instructions but would not isolate the primary failure in this scenario. The decisive check is: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.

B:

Inspect routing signal quality, fallback loops, task risk, escalation cost and evaluation outcomes. This evidence is useful for Tiered routing and escalation policies but would not isolate the primary failure in this scenario. The decisive check is: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.

D:

Inspect item independence, batch identifiers, completion deadlines, failed records and total cost. This evidence is useful for Batch scheduling and unit economics but would not isolate the primary failure in this scenario. The decisive check is: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.

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