Anthropic CCDV-F Practice Test 61
Question 600
A compliance reviewer and a coding agent both edit the same deployment plan without a designated coordinating owner. Which development or architectural response BEST addresses the primary requirement?
- Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints.
- Define explicit success checks, maximum tool iterations, spending limits, and stop/escalation reasons before running a goal-directed loop.
- Use a fixed, auditable workflow when steps and branching rules are known; select an agent only when the next action genuinely depends on open-ended model judgment.
- Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work.
Explanation
Correct Answer
D: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: A compliance reviewer and a coding agent both edit the same deployment plan without a designated coordinating owner.
Incorrect Answers
A:Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints. This response is designed for Tool-use pattern versus fixed chain; it is not the controlling fix in the situation. Framework abstractions are not a replacement for understanding where control flow, tool execution and state reside. 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: A compliance reviewer and a coding agent both edit the same deployment plan without a designated coordinating owner.
B: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: Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work. Situation: A compliance reviewer and a coding agent both edit the same deployment plan without a designated coordinating owner.
C:Use a fixed, auditable workflow when steps and branching rules are known; select an agent only when the next action genuinely depends on open-ended model judgment. This response is designed for Deterministic workflow versus autonomous agent; it is not the controlling fix in the situation. An agent incurs unpredictable tool trajectories and costs; workflow orchestration remains preferable when control flow is specified in advance. 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: A compliance reviewer and a coding agent both edit the same deployment plan without a designated coordinating owner.
Question 601
An API field includes a megabyte-long text blob that exhausts the configured context window. Which development or architectural response BEST addresses the primary requirement?
- 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.
- Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler.
- Package repeatable instructions and external tools with pinned dependencies, documented install steps and permission reviews for consumers.
- Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
Explanation
Correct Answer
D: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.
Incorrect Answers
A: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 response is designed for Multi-provider boundary and API compatibility; it is not the controlling fix in the situation. Third-party hosts may expose Claude with provider-specific configuration; transport compatibility is not feature parity. Here the targeted 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.
B:Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. This response is designed for Refactoring and separation of concerns; it is not the controlling fix in the situation. Modular boundaries make behavioral tests reliable and limit unintended effects from model-oriented code. Here the targeted 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.
C:Package repeatable instructions and external tools with pinned dependencies, documented install steps and permission reviews for consumers. This response is designed for Reusable plugin and skill dependency packaging; it is not the controlling fix in the situation. Reusable agent workflows depend on both instruction assets and executable/plugin dependencies; copying one prompt file is insufficient. Here the targeted 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.
Question 602
An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version. Which development or architectural response BEST addresses the primary requirement?
- Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts.
- Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates.
- Pass images and document content using supported API block formats with controlled file size and content validation while respecting modality limits.
- Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults.
Explanation
Correct Answer
B:Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. Prompt caching optimizes matching prefixes, not semantic similarity; variable content before a breakpoint defeats reuse. Verify the prerequisites with: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
Incorrect Answers
A:Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts. This response is designed for REST status and idempotent retries; it is not the controlling fix in the situation. A timeout after a write does not prove the write failed, so blind replays can cause duplicate effects. Here the targeted response is: Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
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: Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
D:Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. This response is designed for Versioned model and prompt configuration; it is not the controlling fix in the situation. Model version shifts can affect outputs and tool decisions; reproducibility requires recording both code and prompt state. Here the targeted response is: Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
Question 603
A monorepo's backend and frontend require different lint commands and one global instruction conflicts with both. Which development or architectural response BEST addresses the primary requirement?
- Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
- Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults.
- Translate a vague business request into inputs, outputs, permitted data, measurable acceptance criteria and nonfunctional constraints before building a Claude application.
- Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints.
Explanation
Correct Answer
D:Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. CLAUDE.md is persistent project context, but conflicting or misplaced files can create inconsistent instructions. Verify the prerequisites with: Inspect root and nested instruction files, working directory, effective context, and conflicting directives. Situation: A monorepo's backend and frontend require different lint commands and one global instruction conflicts with both.
Incorrect Answers
A:Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. This response is designed for Input validation and adversarial boundary testing; it is not the controlling fix in the situation. External text belongs to a lower trust tier than application instructions even when placed in the same model context. Here the targeted response is: Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. Situation: A monorepo's backend and frontend require different lint commands and one global instruction conflicts with both.
B:Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. This response is designed for Versioned model and prompt configuration; it is not the controlling fix in the situation. Model version shifts can affect outputs and tool decisions; reproducibility requires recording both code and prompt state. Here the targeted response is: Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. Situation: A monorepo's backend and frontend require different lint commands and one global instruction conflicts with both.
C:Translate a vague business request into inputs, outputs, permitted data, measurable acceptance criteria and nonfunctional constraints before building a Claude application. This response is designed for Business requirement to acceptance specification; it is not the controlling fix in the situation. A vague request is not an implementable interface contract; define measurable outcomes and exceptions before choosing architecture. Here the targeted response is: Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. Situation: A monorepo's backend and frontend require different lint commands and one global instruction conflicts with both.
Question 604
A customer profile contains text ordering the assistant to ignore fraud review and approve a large transfer. Which development or architectural response BEST addresses the primary requirement?
- Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
- Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable.
- Describe tool names and JSON schemas precisely and validate model-proposed arguments against server-side permissions before execution.
- Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat.
Explanation
Correct Answer
A: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: A customer profile contains text ordering the assistant to ignore fraud review and approve a large transfer.
Incorrect Answers
B:Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable. This response is designed for Plugin and external connector permission lifecycle; it is not the controlling fix in the situation. A plugin name is not authorization to act; external capabilities require independent identity and scope checks. Here the targeted response is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. Situation: A customer profile contains text ordering the assistant to ignore fraud review and approve a large transfer.
C:Describe tool names and JSON schemas precisely and validate model-proposed arguments against server-side permissions before execution. This response is designed for Tool definitions and strict argument validation; it is not the controlling fix in the situation. A model-generated function call is untrusted input; schema adherence and authorization must be enforced by the application. Here the targeted response is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. Situation: A customer profile contains text ordering the assistant to ignore fraud review and approve a large transfer.
D:Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat. This response is designed for Deployment surface selection and capabilities; it is not the controlling fix in the situation. Different Claude products have different execution contracts; a workflow developed in a chat window cannot be copied unchanged into a server SDK. Here the targeted response is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. Situation: A customer profile contains text ordering the assistant to ignore fraud review and approve a large transfer.
Question 605
An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification.
- Inspect event timelines, reproducible inputs, application logs, affected versions and customer impact.
- Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting.
- Inspect root and nested instruction files, working directory, effective context, and conflicting directives.
Explanation
Correct Answer
C:Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Prompt caching optimizes matching prefixes, not semantic similarity; variable content before a breakpoint defeats reuse. The appropriate response is: Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
Incorrect Answers
A:Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification. This evidence is useful for Tool definitions and strict argument validation but would not isolate the primary failure in this scenario. The decisive check is: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
B:Inspect event timelines, reproducible inputs, application logs, affected versions and customer impact. This evidence is useful for Postrelease incident feedback and defect triage but would not isolate the primary failure in this scenario. The decisive check is: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
D:Inspect root and nested instruction files, working directory, effective context, and conflicting directives. This evidence is useful for CLAUDE.md scope and project instruction hierarchy but would not isolate the primary failure in this scenario. The decisive check is: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: An agent reuses a changed system prompt but assumes prior cache entries necessarily represent the new version.
Question 606
A batch document summarizer mistakenly treats an empty assistant text block as a successful completion. Which development or architectural response BEST addresses the primary requirement?
- Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat.
- Translate a vague business request into inputs, outputs, permitted data, measurable acceptance criteria and nonfunctional constraints before building a Claude application.
- Ingest documents in supported formats, retain per-file provenance and distinguish extracted content from model-generated interpretation.
- Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content.
Explanation
Correct Answer
D:Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. A response can end because of a tool call or token limit; neither automatically implies a complete answer. Verify the prerequisites with: Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A batch document summarizer mistakenly treats an empty assistant text block as a successful completion.
Incorrect Answers
A:Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat. This response is designed for Deployment surface selection and capabilities; it is not the controlling fix in the situation. Different Claude products have different execution contracts; a workflow developed in a chat window cannot be copied unchanged into a server SDK. Here the targeted response is: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. Situation: A batch document summarizer mistakenly treats an empty assistant text block as a successful completion.
B:Translate a vague business request into inputs, outputs, permitted data, measurable acceptance criteria and nonfunctional constraints before building a Claude application. This response is designed for Business requirement to acceptance specification; it is not the controlling fix in the situation. A vague request is not an implementable interface contract; define measurable outcomes and exceptions before choosing architecture. Here the targeted response is: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. Situation: A batch document summarizer mistakenly treats an empty assistant text block as a successful completion.
C:Ingest documents in supported formats, retain per-file provenance and distinguish extracted content from model-generated interpretation. This response is designed for File processing pipeline with provenance; it is not the controlling fix in the situation. Evidence-grounded extraction requires source linkage; a confident generated summary cannot fill unseen pages. Here the targeted response is: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. Situation: A batch document summarizer mistakenly treats an empty assistant text block as a successful completion.
Question 607
An API client lacks tenant quotas and one customer processes massive files at everyone else's expense. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Group independent nonurgent work into the supported batch workflow and track job completion, throughput and retry waste.
- Calls preserve the same intentional API semantics and failures remain diagnosable regardless of transport wrapper.
- Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy.
- Inspect model generation settings, task constraints, repeated responses, and deterministic downstream validators.
- Inspect usage anomalies, per-user consumption, tool call count and escalation approval.
Explanation
Correct Answers
C:Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. The model's context and reasoning can drive cost rapidly; budgets must be enforced in application logic. Verify the prerequisites with: Inspect usage anomalies, per-user consumption, tool call count and escalation approval. Situation: An API client lacks tenant quotas and one customer processes massive files at everyone else's expense.
E:Inspect usage anomalies, per-user consumption, tool call count and escalation approval. The model's context and reasoning can drive cost rapidly; budgets must be enforced in application logic. The appropriate response is: Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. Situation: An API client lacks tenant quotas and one customer processes massive files at everyone else's expense.
Incorrect Answers
A:Group independent nonurgent work into the supported batch workflow and track job completion, throughput and retry waste. This step may apply to Batch scheduling and unit economics but is not one of the two required complementary decisions. The relevant pair is: Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. and Inspect usage anomalies, per-user consumption, tool call count and escalation approval. Situation: An API client lacks tenant quotas and one customer processes massive files at everyone else's expense.
B:Calls preserve the same intentional API semantics and failures remain diagnosable regardless of transport wrapper. This step may apply to SDK versus raw REST transport but is not one of the two required complementary decisions. The relevant pair is: Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. and Inspect usage anomalies, per-user consumption, tool call count and escalation approval. Situation: An API client lacks tenant quotas and one customer processes massive files at everyone else's expense.
D:Inspect model generation settings, task constraints, repeated responses, and deterministic downstream validators. This step may apply to Sampling and nondeterministic output testing but is not one of the two required complementary decisions. The relevant pair is: Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. and Inspect usage anomalies, per-user consumption, tool call count and escalation approval. Situation: An API client lacks tenant quotas and one customer processes massive files at everyone else's expense.
Question 608
A nightly invoice normalizer always extracts three fields and applies one published tax rule. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect response stop_reason, tool_use identifiers, tool-result pairing, input schemas, and retry counters.
- Inspect memory writes, expiration policy, sensitive fields, retrieval accuracy, and loss of decision-critical state during compaction.
- Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates.
- Inspect action reversibility, policy impact, approval identity, authorized tool scope, and rollback feasibility.
Explanation
Correct Answer
C:Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. An agent incurs unpredictable tool trajectories and costs; workflow orchestration remains preferable when control flow is specified in advance. The appropriate response is: Use a fixed, auditable workflow when steps and branching rules are known; select an agent only when the next action genuinely depends on open-ended model judgment. Situation: A nightly invoice normalizer always extracts three fields and applies one published tax rule.
Incorrect Answers
A:Inspect response stop_reason, tool_use identifiers, tool-result pairing, input schemas, and retry counters. This evidence is useful for Custom agent loop and stop reason handling but would not isolate the primary failure in this scenario. The decisive check is: Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. Situation: A nightly invoice normalizer always extracts three fields and applies one published tax rule.
B:Inspect memory writes, expiration policy, sensitive fields, retrieval accuracy, and loss of decision-critical state during compaction. This evidence is useful for Agent long-term memory and compaction but would not isolate the primary failure in this scenario. The decisive check is: Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. Situation: A nightly invoice normalizer always extracts three fields and applies one published tax rule.
D:Inspect action reversibility, policy impact, approval identity, authorized tool scope, and rollback feasibility. This evidence is useful for Agent autonomy and human approval boundary but would not isolate the primary failure in this scenario. The decisive check is: Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. Situation: A nightly invoice normalizer always extracts three fields and applies one published tax rule.
Question 609
An AI assistant reads invoices but tries to submit a supplier payment through a different function. Which observed result BEST demonstrates the requirement has been satisfied?
- Permitted reads complete normally while irreversible writes wait for or fail without authorization.
- The workflow uses the simplest capable tool without introducing a redundant privileged service.
- Local or remote MCP sessions exchange valid messages without exposing privileged tools beyond their authorized boundary.
- The same skill produces reproducible results across authorized projects while context remains concise.
Explanation
Correct Answer
A:Permitted reads complete normally while irreversible writes wait for or fail without authorization. A tool's mere availability does not prove every call is authorized or safe. Situation: An AI assistant reads invoices but tries to submit a supplier payment through a different function.
Incorrect Answers
B:The workflow uses the simplest capable tool without introducing a redundant privileged service. This result tests Built-in versus custom tool selection, not the requirement demonstrated by this case. The relevant acceptance condition is: Permitted reads complete normally while irreversible writes wait for or fail without authorization. Situation: An AI assistant reads invoices but tries to submit a supplier payment through a different function.
C:Local or remote MCP sessions exchange valid messages without exposing privileged tools beyond their authorized boundary. This result tests MCP stdio versus network transport and authentication, not the requirement demonstrated by this case. The relevant acceptance condition is: Permitted reads complete normally while irreversible writes wait for or fail without authorization. Situation: An AI assistant reads invoices but tries to submit a supplier payment through a different function.
D:The same skill produces reproducible results across authorized projects while context remains concise. This result tests Skills as reusable operational procedures, not the requirement demonstrated by this case. The relevant acceptance condition is: Permitted reads complete normally while irreversible writes wait for or fail without authorization. Situation: An AI assistant reads invoices but tries to submit a supplier payment through a different function.
Question 610
An application maintains a persistent browser socket for chat events but forwards each model call through supported HTTP API requests. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events.
- Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport.
- Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery.
- The selected prompt reaches accuracy thresholds without letting examples override policy constraints.
- Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere.
Explanation
Correct Answers
B: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: An application maintains a persistent browser socket for chat events but forwards each model call through supported HTTP API requests.
C:Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery. WebSocket is a general networking mechanism, not a guarantee that a specific model endpoint offers native WebSocket semantics. The appropriate 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: An application maintains a persistent browser socket for chat events but forwards each model call through supported HTTP API requests.
Incorrect Answers
A:Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. This step may apply to Token accounting and context capacity but is not one of the two required complementary decisions. The relevant pair is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. and Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery. Situation: An application maintains a persistent browser socket for chat events but forwards each model call through supported HTTP API requests.
D:The selected prompt reaches accuracy thresholds without letting examples override policy constraints. This step may apply to Zero-shot versus few-shot task instructions but is not one of the two required complementary decisions. The relevant pair is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. and Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery. Situation: An application maintains a persistent browser socket for chat events but forwards each model call through supported HTTP API requests.
E:Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere. This step may apply to Client library and provider compatibility but is not one of the two required complementary decisions. The relevant pair is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. and Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery. Situation: An application maintains a persistent browser socket for chat events but forwards each model call through supported HTTP API requests.