You save $9.99
CCDV-F Premium Bundle
- Premium File 96 Questions & Answers
- Last Update: Nov 24, 2026
- Training Course 116 Lectures
You save $9.99
A nightly workflow changes quality without any application code modification.
What is the appropriate design decision?
Record and pin the tested model identifier when reproducibility is required. For the situation 'A nightly workflow changes quality without any application code modification', this directly implements the required control. Stable model selection reduces untracked provider-side behavior drift across releases. Verify the result by checking that request logs identify the same tested model identifier before and after deployment.
Record prompt revision, model ID and relevant tool configuration for each release and request. That addresses the different 'Prompt configuration provenance' situation: A live agent uses prompt templates stored outside the deployment manifest. Here the implementation must instead record and pin the tested model identifier when reproducibility is required, because stable model selection reduces untracked provider-side behavior drift across releases.
Store project CLAUDE.md in reviewed version control and document local overrides. That addresses the different 'CLAUDE.md repository instruction versioning' situation: A team edits repository-level Claude Code guidance without code review. Here the implementation must instead record and pin the tested model identifier when reproducibility is required, because stable model selection reduces untracked provider-side behavior drift across releases.
Pin compatible integration dependencies, review change notes and run contract tests. That addresses the different 'Dependency and plugin upgrades' situation: A project upgrades an MCP plugin and SDK in the same untested deployment. Here the implementation must instead record and pin the tested model identifier when reproducibility is required, because stable model selection reduces untracked provider-side behavior drift across releases.
A municipal helpdesk wants multilingual summaries but has not defined privacy or response-time targets.
Which implementation is the best fit?
Write measurable functional, latency, privacy and oversight requirements before selecting API features. For the situation 'A municipal helpdesk wants multilingual summaries but has not defined privacy or response-time targets', this directly implements the required control. Solution architecture maps business outcomes to explicit constraints rather than treating a model choice as a requirement. Verify the result by checking that acceptance criteria include response quality, latency, data access and escalation behaviors.
Separate real-time Messages API calls from asynchronous batch workloads based on response deadline. That addresses the different 'Throughput and synchronous SLA' situation: An order system needs an answer on screen within seconds while nightly reports tolerate delay. Here the implementation must instead write measurable functional, latency, privacy and oversight requirements before selecting API features, because solution architecture maps business outcomes to explicit constraints rather than treating a model choice as a requirement.
Enforce tenant-bound authorization at retrieval and tool access layers, with isolated session state. That addresses the different 'Multitenant data isolation' situation: A SaaS assistant serves several companies from the same worker process. Here the implementation must instead write measurable functional, latency, privacy and oversight requirements before selecting API features, because solution architecture maps business outcomes to explicit constraints rather than treating a model choice as a requirement.
Map residency, egress and retention requirements to supported deployment and provider configurations. That addresses the different 'Data residency requirements' situation: A financial client allows model processing only through approved regional network paths. Here the implementation must instead write measurable functional, latency, privacy and oversight requirements before selecting API features, because solution architecture maps business outcomes to explicit constraints rather than treating a model choice as a requirement.
A monthly audit processes many independent documents while the user is offline.
Which change should be made first?
Submit independent requests through the Message Batches API and collect the asynchronous results. For the situation 'A monthly audit processes many independent documents while the user is offline', this directly implements the required control. Batch processing is intended for high-volume latency-tolerant inference with request-specific outcomes. Verify the result by checking that all submitted request IDs reconcile with successful or explicitly failed batch results.
Choose a supported reasoning or thinking configuration and evaluate quality, latency and token budgets. That addresses the different 'Extended thinking and budget' situation: A planning assistant needs complex multi-constraint reasoning rather than maximum throughput. Here the implementation must instead submit independent requests through the Message Batches API and collect the asynchronous results, because batch processing is intended for high-volume latency-tolerant inference with request-specific outcomes.
Supply the supported image content block with adequate quality and an explicit extraction task. That addresses the different 'Vision input handling' situation: A field technician sends a photo of equipment labels for interpretation. Here the implementation must instead submit independent requests through the Message Batches API and collect the asynchronous results, because batch processing is intended for high-volume latency-tolerant inference with request-specific outcomes.
Consume the supported streaming event sequence and assemble deltas into the final message. That addresses the different 'Streaming response assembly' situation: A web UI expects progressive tokens but waits for the full body before displaying anything. Here the implementation must instead submit independent requests through the Message Batches API and collect the asynchronous results, because batch processing is intended for high-volume latency-tolerant inference with request-specific outcomes.
A database tool exposes a single free-form string argument for several unrelated operations. A separate release review raises the same requirement in a newly deployed environment, with a required sign-off based on observable evidence.
Which implementation is the best fit?
Define narrowly scoped tools with precise descriptions, typed parameters and required fields. For the situation 'A database tool exposes a single free-form string argument for several unrelated operations. A separate release review raises the same requirement in a newly deployed environment, with a required sign-off based on observable evidence', this directly implements the required control. Structured tool schemas guide argument generation and simplify host validation. Verify the result by checking that invalid arguments are rejected and supported tool calls pass schema tests.
Execute validated client-side tools and send correlated tool_result content in a subsequent message. That addresses the different 'Client tool result handoff' situation: An API assistant emits a lookup tool_use message and a frontend mistakenly treats it as the retrieved value. Here the implementation must instead define narrowly scoped tools with precise descriptions, typed parameters and required fields, because structured tool schemas guide argument generation and simplify host validation.
Return a structured tool error and let the workflow retry or escalate appropriately. That addresses the different 'Tool failure representation' situation: A search tool returns an upstream timeout but the wrapper passes an empty success result. Here the implementation must instead define narrowly scoped tools with precise descriptions, typed parameters and required fields, because structured tool schemas guide argument generation and simplify host validation.
Separate server-executed tool configuration from client-defined tools whose execution remains in application code. That addresses the different 'Server versus client tool ownership' situation: A developer expects a user-defined database tool to run on Anthropic infrastructure automatically. Here the implementation must instead define narrowly scoped tools with precise descriptions, typed parameters and required fields, because structured tool schemas guide argument generation and simplify host validation.
A developer assumes the Python SDK changes the underlying API's tool-call contract.
What should the engineer do next?
Understand the SDK as a typed transport and helper layer over the documented API contract. For the situation 'A developer assumes the Python SDK changes the underlying API's tool-call contract', this directly implements the required control. An SDK simplifies serialization, authentication and retries but cannot replace application authorization. Verify the result by checking that contract tests match the SDK call's request and response to documented API behavior.
Coordinate end-to-end deadlines and cancellation across callers, workers and provider requests. That addresses the different 'Timeout budget across stack' situation: A request passes through a gateway, worker and provider with inconsistent timeout limits. Here the implementation must instead understand the SDK as a typed transport and helper layer over the documented API contract, because an SDK simplifies serialization, authentication and retries but cannot replace application authorization.
Choose persistent bidirectional transport only when continuous exchange is required; otherwise keep simpler HTTP calls. That addresses the different 'WebSocket fit' situation: A team proposes WebSockets for a one-time nightly document summarization job. Here the implementation must instead understand the SDK as a typed transport and helper layer over the documented API contract, because an SDK simplifies serialization, authentication and retries but cannot replace application authorization.
Use the documented streaming response protocol and event types for Claude output. That addresses the different 'Streaming versus socket assumptions' situation: A developer treats HTTP server-sent model events as if they were a two-way WebSocket stream. Here the implementation must instead understand the SDK as a typed transport and helper layer over the documented API contract, because an SDK simplifies serialization, authentication and retries but cannot replace application authorization.
A documentation agent invokes a file writer that should never target secret directories.
Which approach most directly meets the stated need?
Enforce the command or path policy in a deterministic pre-tool hook before execution. For the situation 'A documentation agent invokes a file writer that should never target secret directories', this directly implements the required control. Hooks run host-defined checks at tool boundaries instead of relying only on natural-language warnings. Verify the result by checking that disallowed tool requests are rejected in traces while permitted calls continue normally.
Choose deployment ownership based on data-boundary, networking, operations and scaling requirements. That addresses the different 'Managed versus self-hosted agents' situation: A regulated team needs direct control of runtime network routes and private tool execution. Here the implementation must instead enforce the command or path policy in a deterministic pre-tool hook before execution, because hooks run host-defined checks at tool boundaries instead of relying only on natural-language warnings.
Persist session identifiers and minimal approved state in application storage and restore them on continuation. That addresses the different 'Agent state persistence' situation: A long support case spans several disconnected HTTP requests but must retain authorized case context. Here the implementation must instead enforce the command or path policy in a deterministic pre-tool hook before execution, because hooks run host-defined checks at tool boundaries instead of relying only on natural-language warnings.
Execute the validated tool call, append the correlated tool_result and continue until an appropriate terminal stop reason. That addresses the different 'Custom tool loop completion' situation: An assistant returns a tool_use block for a database lookup and the caller currently displays it as the final answer. Here the implementation must instead enforce the command or path policy in a deterministic pre-tool hook before execution, because hooks run host-defined checks at tool boundaries instead of relying only on natural-language warnings.
An integration endpoint accepts arbitrary user-supplied HTTP fields without schema checks.
Which implementation is the best fit?
Use the documented REST method, headers, JSON request body and response schema. For the situation 'An integration endpoint accepts arbitrary user-supplied HTTP fields without schema checks', this directly implements the required control. HTTP transport contracts define where authentication and structured payloads belong. Verify the result by checking that a contract test validates content types, required fields and response handling.
Enforce pull-request review, secret scanning and automated checks before merge. That addresses the different 'Review and secret scanning' situation: A developer proposes committing a quick demo that contains a real API key. Here the implementation must instead use the documented REST method, headers, JSON request body and response schema, because hTTP transport contracts define where authentication and structured payloads belong.
Mock the client boundary for deterministic unit tests and keep separately gated live integration tests. That addresses the different 'Unit-test API boundary' situation: A feature team can test prompts only by spending live API tokens. Here the implementation must instead use the documented REST method, headers, JSON request body and response schema, because hTTP transport contracts define where authentication and structured payloads belong.
Deduplicate work by request key and make external writes idempotent. That addresses the different 'Idempotent ingestion endpoint' situation: A job queue redelivers the same summarization task after a worker crash. Here the implementation must instead use the documented REST method, headers, JSON request body and response schema, because hTTP transport contracts define where authentication and structured payloads belong.
An agent sends a large stable knowledge prefix with a different dynamic timestamp placed first.
Which approach most directly meets the stated need?
Place shared static content in a stable cacheable prefix and vary later request content. For the situation 'An agent sends a large stable knowledge prefix with a different dynamic timestamp placed first', this directly implements the required control. Prompt caching depends on exact prefix stability up to the cache breakpoint. Verify the result by checking that usage reports show cache reads and reduced repeated input processing costs.
Choose supported cache duration only after measuring reuse intervals and write/read costs. That addresses the different 'Cache TTL budget' situation: A workload repeatedly uses the same large prompt in clustered bursts hours apart. Here the implementation must instead place shared static content in a stable cacheable prefix and vary later request content, because prompt caching depends on exact prefix stability up to the cache breakpoint.
Use asynchronous batching for deadline-tolerant independent tasks and live calls for interactive sessions. That addresses the different 'Batch cost versus timeliness' situation: An analytics job can run overnight and thousands of prompts share no session state. Here the implementation must instead place shared static content in a stable cacheable prefix and vary later request content, because prompt caching depends on exact prefix stability up to the cache breakpoint.
Track input, output, cache reads and writes per request and aggregate against budgets. That addresses the different 'Token usage accounting' situation: A product team budgets costs from request count alone although prompt sizes vary widely. Here the implementation must instead place shared static content in a stable cacheable prefix and vary later request content, because prompt caching depends on exact prefix stability up to the cache breakpoint.
A developer proposes committing a quick demo that contains a real API key. A separate release review raises the same requirement in a newly deployed environment, with a required sign-off based on observable evidence.
What should the engineer do next?
Enforce pull-request review, secret scanning and automated checks before merge. For the situation 'A developer proposes committing a quick demo that contains a real API key. A separate release review raises the same requirement in a newly deployed environment, with a required sign-off based on observable evidence', this directly implements the required control. Version control and review reduce credential leakage and integration regressions. Verify the result by checking that the pipeline blocks credential patterns and tests the changed error paths.
Use bounded asynchronous concurrency with connection pooling and per-request timeouts. That addresses the different 'Asynchronous I/O for concurrent calls' situation: A worker makes hundreds of independent model calls serially and misses the batch deadline. Here the implementation must instead enforce pull-request review, secret scanning and automated checks before merge, because version control and review reduce credential leakage and integration regressions.
Deduplicate work by request key and make external writes idempotent. That addresses the different 'Idempotent ingestion endpoint' situation: A job queue redelivers the same summarization task after a worker crash. Here the implementation must instead enforce pull-request review, secret scanning and automated checks before merge, because version control and review reduce credential leakage and integration regressions.
Mock the client boundary for deterministic unit tests and keep separately gated live integration tests. That addresses the different 'Unit-test API boundary' situation: A feature team can test prompts only by spending live API tokens. Here the implementation must instead enforce pull-request review, secret scanning and automated checks before merge, because version control and review reduce credential leakage and integration regressions.
A cross-functional incident assistant delegates network analysis and application-log analysis to different specialists.
Which approach most directly meets the stated need?
Use a supervisor to dispatch scoped tasks and reconcile their results under one final decision point. For the situation 'A cross-functional incident assistant delegates network analysis and application-log analysis to different specialists', this directly implements the required control. A supervisor coordinates specialized workers while retaining final validation and authority rather than granting each worker global powers. Verify the result by checking that recorded subtasks have distinct scopes and the supervisor reconciles conflicting findings before responding.
Delegate noisy evidence gathering to a subagent that returns a compact verified summary. That addresses the different 'Subagent isolation of noisy evidence' situation: A research agent receives hundreds of irrelevant web snippets while the main conversation must remain short. Here the implementation must instead use a supervisor to dispatch scoped tasks and reconcile their results under one final decision point, because a supervisor coordinates specialized workers while retaining final validation and authority rather than granting each worker global powers.
Use an agent with a bounded tool set, stop conditions and review of consequential actions. That addresses the different 'Agent selection for ambiguous investigation' situation: A support investigator must explore unfamiliar incident evidence and choose among several diagnostic tools. Here the implementation must instead use a supervisor to dispatch scoped tasks and reconcile their results under one final decision point, because a supervisor coordinates specialized workers while retaining final validation and authority rather than granting each worker global powers.
Place an explicit human authorization gate before the irreversible tool invocation. That addresses the different 'Human approval of irreversible agent actions' situation: An automated purchasing assistant drafts orders but spends money only after a manager agrees. Here the implementation must instead use a supervisor to dispatch scoped tasks and reconcile their results under one final decision point, because a supervisor coordinates specialized workers while retaining final validation and authority rather than granting each worker global powers.
A remote MCP server grants all connected clients full production database access.
What is the appropriate design decision?
Authenticate clients and authorize each MCP tool by user and operation scope. For the situation 'A remote MCP server grants all connected clients full production database access', this directly implements the required control. A reusable MCP interface does not replace the backend's access-control decisions. Verify the result by checking that access tests show the same tool is available only to identities with its required scope.
Expose the reusable capability through a secured MCP server with stable schemas. That addresses the different 'MCP reusable server boundary' situation: Two internal assistants separately reimplement the same approved inventory database integration. Here the implementation must instead authenticate clients and authorize each MCP tool by user and operation scope, because a reusable MCP interface does not replace the backend's access-control decisions.
Expose read-only reference material as resources, reusable templates as prompts and callable actions as tools. That addresses the different 'MCP tools resources and prompts' situation: A team publishes reference documentation but accidentally exposes it as a mutating tool. Here the implementation must instead authenticate clients and authorize each MCP tool by user and operation scope, because a reusable MCP interface does not replace the backend's access-control decisions.
Use stdio for local process integration and a supported remote transport with authentication for shared deployment. That addresses the different 'MCP transport selection' situation: A local developer helper launches an MCP server as a subprocess. Here the implementation must instead authenticate clients and authorize each MCP tool by user and operation scope, because a reusable MCP interface does not replace the backend's access-control decisions.
Please check your mailbox for a message from support@examlabs.com and follow the directions.