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 23

Question 220

A production connector rotates its token but the fallback configuration still holds the revoked secret. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs.
  2. Inspect credential location, granted scope, rotation status, access logs and accidental leakage.
  3. Inspect hook trigger names, command arguments, event payload, exit status and rule coverage.
  4. Inspect data classification, redaction process, consent, allowed retention and output scanning.

Explanation

Correct Answer

B:

Inspect credential location, granted scope, rotation status, access logs and accidental leakage. A model cannot keep credentials safe if the application includes them in untrusted context or public client code. The appropriate response is: Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. Situation: A production connector rotates its token but the fallback configuration still holds the revoked secret.

Incorrect Answers

A:

Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. This evidence is useful for Jailbreak and untrusted user instruction handling but would not isolate the primary failure in this scenario. The decisive check is: Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A production connector rotates its token but the fallback configuration still holds the revoked secret.

C:

Inspect hook trigger names, command arguments, event payload, exit status and rule coverage. This evidence is useful for Pre-tool hooks for destructive command interception but would not isolate the primary failure in this scenario. The decisive check is: Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A production connector rotates its token but the fallback configuration still holds the revoked secret.

D:

Inspect data classification, redaction process, consent, allowed retention and output scanning. This evidence is useful for PII minimization and output privacy but would not isolate the primary failure in this scenario. The decisive check is: Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A production connector rotates its token but the fallback configuration still holds the revoked secret.

Question 221

A completed batch returns shuffled responses and the application assigns two summaries to the wrong customer IDs. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners.
  2. Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints.
  3. Inspect required automation, tool access, user interaction, authentication and supported feature set of each surface.
  4. Inspect release config, model identifier, prompt revision, evaluation baseline, and rollback identifiers.

Explanation

Correct Answer

B:

Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Batch processing is asynchronous and optimized for throughput rather than individual turn latency; results may arrive out of order. The appropriate response is: Use Message Batches for independent latency-tolerant requests and ordinary synchronous requests for interactive low-latency conversation. Situation: A completed batch returns shuffled responses and the application assigns two summaries to the wrong customer IDs.

Incorrect Answers

A:

Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners. This evidence is useful for Discovery prototype to production readiness gates but would not isolate the primary failure in this scenario. The decisive check is: Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Situation: A completed batch returns shuffled responses and the application assigns two summaries to the wrong customer IDs.

C:

Inspect required automation, tool access, user interaction, authentication and supported feature set of each surface. This evidence is useful for Deployment surface selection and capabilities but would not isolate the primary failure in this scenario. The decisive check is: Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Situation: A completed batch returns shuffled responses and the application assigns two summaries to the wrong customer IDs.

D:

Inspect release config, model identifier, prompt revision, evaluation baseline, and rollback identifiers. This evidence is useful for Versioned model and prompt configuration but would not isolate the primary failure in this scenario. The decisive check is: Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Situation: A completed batch returns shuffled responses and the application assigns two summaries to the wrong customer IDs.

Question 222

A risk reviewer and cost analyst reach contradictory conclusions about one rollout and must reconcile evidence. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect document version, access rights, retrieval scores, timestamps and underlying source span.
  2. Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts.
  3. The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts.
  4. Send independent subproblems into isolated contexts and return verified concise findings rather than mixing every tool transcript into one parent conversation.
  5. Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results.

Explanation

Correct Answers

D:

Send independent subproblems into isolated contexts and return verified concise findings rather than mixing every tool transcript into one parent conversation. Subagents reduce context noise only when handoff results are bounded and checked against accessible sources. Verify the prerequisites with: Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. Situation: A risk reviewer and cost analyst reach contradictory conclusions about one rollout and must reconcile evidence.

E:

Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. Subagents reduce context noise only when handoff results are bounded and checked against accessible sources. The appropriate response is: Send independent subproblems into isolated contexts and return verified concise findings rather than mixing every tool transcript into one parent conversation. Situation: A risk reviewer and cost analyst reach contradictory conclusions about one rollout and must reconcile evidence.

Incorrect Answers

A:

Inspect document version, access rights, retrieval scores, timestamps and underlying source span. This step may apply to Retrieval and source freshness discipline but is not one of the two required complementary decisions. The relevant pair is: Send independent subproblems into isolated contexts and return verified concise findings rather than mixing every tool transcript into one parent conversation. and Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. Situation: A risk reviewer and cost analyst reach contradictory conclusions about one rollout and must reconcile evidence.

B:

Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. This step may apply to Context-window prioritization and tool-output pruning but is not one of the two required complementary decisions. The relevant pair is: Send independent subproblems into isolated contexts and return verified concise findings rather than mixing every tool transcript into one parent conversation. and Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. Situation: A risk reviewer and cost analyst reach contradictory conclusions about one rollout and must reconcile evidence.

C:

The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts. This step may apply to Evidence skepticism and uncertainty handling but is not one of the two required complementary decisions. The relevant pair is: Send independent subproblems into isolated contexts and return verified concise findings rather than mixing every tool transcript into one parent conversation. and Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. Situation: A risk reviewer and cost analyst reach contradictory conclusions about one rollout and must reconcile evidence.

Question 223

A developer changes a user-level setting and is surprised it affects every unrelated repository. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides.
  2. Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults.
  3. Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints.
  4. Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default.
  5. The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior.

Explanation

Correct Answers

A:

Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. Configuration settings control behavior but should not be confused with external service authorization. The appropriate response is: Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.

D:

Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. Configuration settings control behavior but should not be confused with external service authorization. Verify the prerequisites with: Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.

Incorrect Answers

B:

Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. This step may apply to Versioned model and prompt configuration but is not one of the two required complementary decisions. The relevant pair is: Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. and Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.

C:

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 scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. and Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.

E:

The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior. This step may apply to Deployment surface selection and capabilities but is not one of the two required complementary decisions. The relevant pair is: Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. and Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.

Question 224

A user claims to be the system administrator and asks an assistant to reveal hidden API keys. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs.
  2. Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles.
  3. Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed.
  4. Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output.
  5. Inspect change diff, affected resources, approval identity, reversibility and fallback plans.

Explanation

Correct Answers

A:

Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Adversarial instructions can exploit prompt interpretation; critical side effects must still be checked by code. The appropriate response is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.

D:

Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Adversarial instructions can exploit prompt interpretation; critical side effects must still be checked by code. Verify the prerequisites with: Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.

Incorrect Answers

B:

Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. This step may apply to Secret storage and API-key rotation but is not one of the two required complementary decisions. The relevant pair is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. and Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.

C:

Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. This step may apply to Pre-tool hooks for destructive command interception but is not one of the two required complementary decisions. The relevant pair is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. and Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.

E:

Inspect change diff, affected resources, approval identity, reversibility and fallback plans. This step may apply to Human-in-the-loop release controls and rollback but is not one of the two required complementary decisions. The relevant pair is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. and Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.

Question 225

A tenant billing job omits output tokens from its cost calculation after increasing response length. Which observed result BEST demonstrates the requirement has been satisfied?

  1. The job completes with each result assigned to its source and documented cost comparison against immediate calls.
  2. A cost report reconciles observed token usage and explains when caching provides a net benefit.
  3. A runaway session stops before exceeding its authorized budget and sends an actionable alert.
  4. A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state.

Explanation

Correct Answer

B:

A cost report reconciles observed token usage and explains when caching provides a net benefit. Cache economics depend on actual hits and token classes; multiplying all tokens by one flat price misstates spend. Situation: A tenant billing job omits output tokens from its cost calculation after increasing response length.

Incorrect Answers

A:

The job completes with each result assigned to its source and documented cost comparison against immediate calls. This result tests Batch scheduling and unit economics, not the requirement demonstrated by this case. The relevant acceptance condition is: A cost report reconciles observed token usage and explains when caching provides a net benefit. Situation: A tenant billing job omits output tokens from its cost calculation after increasing response length.

C:

A runaway session stops before exceeding its authorized budget and sends an actionable alert. This result tests Usage guardrails and spend alerts, not the requirement demonstrated by this case. The relevant acceptance condition is: A cost report reconciles observed token usage and explains when caching provides a net benefit. Situation: A tenant billing job omits output tokens from its cost calculation after increasing response length.

D:

A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. This result tests Version migration and breaking-behavior tests, not the requirement demonstrated by this case. The relevant acceptance condition is: A cost report reconciles observed token usage and explains when caching provides a net benefit. Situation: A tenant billing job omits output tokens from its cost calculation after increasing response length.

Question 226

A generated bug report includes bearer tokens and personal contact data from the original stack trace. Which development or architectural response BEST addresses the primary requirement?

  1. Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output.
  2. Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information.
  3. Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt.
  4. Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail.

Explanation

Correct Answer

B:

Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information. Privacy protections require data-flow controls and policy, not merely instructing the model to be discreet. Verify the prerequisites with: Inspect data classification, redaction process, consent, allowed retention and output scanning. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.

Incorrect Answers

A:

Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. This response is designed for Jailbreak and untrusted user instruction handling; it is not the controlling fix in the situation. Adversarial instructions can exploit prompt interpretation; critical side effects must still be checked by code. Here the targeted response is: Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.

C:

Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. This response is designed for Prompt injection defense in retrieved content; it is not the controlling fix in the situation. Prompt injection is a trust-boundary failure when untrusted material is promoted into controlling instructions. Here the targeted response is: Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.

D:

Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. This response is designed for Human-in-the-loop release controls and rollback; it is not the controlling fix in the situation. Tool execution is an external action whose authorization cannot be inferred from a model's textual approval. Here the targeted response is: Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.

Question 227

A feature branch adds an API key to a sample config and the PR pipeline detects the credential before merge. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect roles, content block types, API schema versions, authentication headers and message ordering.
  2. Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs.
  3. Inspect connector permission grants, expiry, linked accounts, audit logs and error responses.
  4. Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions.

Explanation

Correct Answer

D:

Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions. Unreviewed changes to model prompts or tool permissions are software changes even if no compiled code is modified. The appropriate response is: Track application and prompt changes through reviewed commits, reproducible dependency locks and focused pull requests with passing tests. Situation: A feature branch adds an API key to a sample config and the PR pipeline detects the credential before merge.

Incorrect Answers

A:

Inspect roles, content block types, API schema versions, authentication headers and message ordering. This evidence is useful for Messages API role and content structure but would not isolate the primary failure in this scenario. The decisive check is: Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions. Situation: A feature branch adds an API key to a sample config and the PR pipeline detects the credential before merge.

B:

Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. This evidence is useful for Async Python and TypeScript concurrency but would not isolate the primary failure in this scenario. The decisive check is: Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions. Situation: A feature branch adds an API key to a sample config and the PR pipeline detects the credential before merge.

C:

Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. This evidence is useful for Plugin and external connector permission lifecycle but would not isolate the primary failure in this scenario. The decisive check is: Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions. Situation: A feature branch adds an API key to a sample config and the PR pipeline detects the credential before merge.

Question 228

A production client receives 401 after key rotation but developers try a different Claude prompt. Which development or architectural response BEST addresses the primary requirement?

  1. Use clear zero-shot instructions for simple tasks and representative few-shot examples when they materially reduce ambiguous output patterns.
  2. Choose appropriate temperature and sampling configuration where supported, and evaluate variability across multiple runs rather than expecting bit-for-bit repeatability.
  3. Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures.
  4. Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere.

Explanation

Correct Answer

C:

Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. Authentication is an API boundary enforced by the server, not by the wording of a model system prompt. Verify the prerequisites with: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A production client receives 401 after key rotation but developers try a different Claude prompt.

Incorrect Answers

A:

Use clear zero-shot instructions for simple tasks and representative few-shot examples when they materially reduce ambiguous output patterns. This response is designed for Zero-shot versus few-shot task instructions; it is not the controlling fix in the situation. Examples steer output behavior but can also overfit and consume context; they must match real task variance. Here the targeted response is: Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. Situation: A production client receives 401 after key rotation but developers try a different Claude prompt.

B:

Choose appropriate temperature and sampling configuration where supported, and evaluate variability across multiple runs rather than expecting bit-for-bit repeatability. This response is designed for Sampling and nondeterministic output testing; it is not the controlling fix in the situation. Sampling changes candidate generation but does not guarantee reproducibility or correctness; code-level validation remains necessary. Here the targeted response is: Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. Situation: A production client receives 401 after key rotation but developers try a different Claude prompt.

D:

Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere. This response is designed for Client library and provider compatibility; it is not the controlling fix in the situation. SDK convenience methods may lag or lead backend support, and provider-specific options can alter behavior. Here the targeted response is: Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. Situation: A production client receives 401 after key rotation but developers try a different Claude prompt.

Question 229

A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt. Which development or architectural response BEST addresses the primary requirement?

  1. Construct representative datasets with expected properties, deterministic checks and carefully reviewed model-based scoring when exact-string matching is inadequate.
  2. Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures.
  3. Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input.
  4. Define explicit success checks, maximum tool iterations, spending limits, and stop/escalation reasons before running a goal-directed loop.

Explanation

Correct Answer

C:

Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. Repeated prompt rewrites cannot fix a 401, invalid JSON tool input or failed external service transaction. Verify the prerequisites with: Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

Incorrect Answers

A:

Construct representative datasets with expected properties, deterministic checks and carefully reviewed model-based scoring when exact-string matching is inadequate. This response is designed for Eval fixture design and regression gates; it is not the controlling fix in the situation. Anecdotal successful demos do not quantify regression; model graders need calibration and human review. Here the targeted response is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

B:

Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. This response is designed for Authentication headers and secret rotation; it is not the controlling fix in the situation. Authentication is an API boundary enforced by the server, not by the wording of a model system prompt. Here the targeted response is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

D:

Define explicit success checks, maximum tool iterations, spending limits, and stop/escalation reasons before running a goal-directed loop. This response is designed for Agent state and stopping criteria; it is not the controlling fix in the situation. Open-ended loops require observable termination conditions; an assistant saying done is not proof of the external state. Here the targeted response is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

Question 230

A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler. 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. Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures.
  3. Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport.
  4. Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy.

Explanation

Correct Answer

C:

Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. WebSocket is a general networking mechanism, not a guarantee that a specific model endpoint offers native WebSocket semantics. Verify the prerequisites with: Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.

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: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.

B:

Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. This response is designed for Authentication headers and secret rotation; it is not the controlling fix in the situation. Authentication is an API boundary enforced by the server, not by the wording of a model system prompt. Here the targeted response is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.

D:

Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. This response is designed for Usage guardrails and spend alerts; it is not the controlling fix in the situation. The model's context and reasoning can drive cost rapidly; budgets must be enforced in application logic. Here the targeted response is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.

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