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 case assistant sends raw customer records to every subagent.
Which approach most directly meets the stated need?
Redact or exclude unnecessary personal fields before model and tool calls. For the situation 'A case assistant sends raw customer records to every subagent', this directly implements the required control. Data minimization reduces exposure even when downstream services are otherwise authorized. Verify the result by checking that traces show only the required fields cross the integration boundary.
Treat external text as untrusted and enforce independent tool and data-access checks. That addresses the different 'Prompt injection through retrieved source' situation: A search result tells a customer assistant to disclose its hidden system instructions. Here the implementation must instead redact or exclude unnecessary personal fields before model and tool calls, because data minimization reduces exposure even when downstream services are otherwise authorized.
Block unauthorized data destinations and validate outgoing tool arguments against allowlists. That addresses the different 'Output exfiltration prevention' situation: An untrusted page suggests that the agent email account data to a third-party address. Here the implementation must instead redact or exclude unnecessary personal fields before model and tool calls, because data minimization reduces exposure even when downstream services are otherwise authorized.
Bind service identities to tenant and operation scopes, and authorize each tool request. That addresses the different 'Identity-bound service authorization' situation: A SaaS backend uses one unscoped credential to access all customers' records. Here the implementation must instead redact or exclude unnecessary personal fields before model and tool calls, because data minimization reduces exposure even when downstream services are otherwise authorized.
A developer includes a top-level system instruction as if it were a user message.
Which approach most directly meets the stated need?
Use the top-level system parameter for application instructions and structured user messages for user content. For the situation 'A developer includes a top-level system instruction as if it were a user message', this directly implements the required control. The API distinguishes system-level instructions from user and assistant turn content. Verify the result by checking that request traces show correct message roles and the rules persist across authorized turns.
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 use the top-level system parameter for application instructions and structured user messages for user content, because the API distinguishes system-level instructions from user and assistant turn content.
Check secret injection, authorization scope and environment configuration rather than changing the prompt. That addresses the different 'Provider authentication error' situation: A staging deployment receives 401 errors immediately after a secret rotation. Here the implementation must instead use the top-level system parameter for application instructions and structured user messages for user content, because the API distinguishes system-level instructions from user and assistant turn content.
Send the relevant conversation messages or a controlled summary on each request. That addresses the different 'Messages API stateless history' situation: A chat interface sends only the latest user turn and expects the API to remember prior turns. Here the implementation must instead use the top-level system parameter for application instructions and structured user messages for user content, because the API distinguishes system-level instructions from user and assistant turn content.
A product owner requests a model update but regression tests are incomplete.
Which change should be made first?
Pin the existing model, stage the candidate and evaluate it on a representative regression suite before rollout. For the situation 'A product owner requests a model update but regression tests are incomplete', this directly implements the required control. Model behavior may change despite a stable prompt or API contract, so version transitions require evaluation. Verify the result by checking that canary metrics and representative test cases meet acceptance thresholds before full rollout.
Version prompts and response schemas in source control and release them with compatible application changes. That addresses the different 'Prompt and schema version control' situation: A prompt engineer edits production system instructions directly in a dashboard. Here the implementation must instead pin the existing model, stage the candidate and evaluate it on a representative regression suite before rollout, because model behavior may change despite a stable prompt or API contract, so version transitions require evaluation.
Assign accountable owners, SLOs, monitoring and an incident path before production launch. That addresses the different 'Production ownership and SLOs' situation: A prototype assistant is becoming a paid service without on-call ownership or monitoring. Here the implementation must instead pin the existing model, stage the candidate and evaluate it on a representative regression suite before rollout, because model behavior may change despite a stable prompt or API contract, so version transitions require evaluation.
Inventory dependencies, review published deprecations and test supported replacements before a deadline. That addresses the different 'Compatibility deprecation review' situation: A service uses a preview feature that will be removed by the provider. Here the implementation must instead pin the existing model, stage the candidate and evaluate it on a representative regression suite before rollout, because model behavior may change despite a stable prompt or API contract, so version transitions require evaluation.
A changed system prompt improves a demo but reduces correctness on unusual documents.
What should the engineer do next?
Run representative held-out evaluations with explicit criteria and compare against the prior version. For the situation 'A changed system prompt improves a demo but reduces correctness on unusual documents', this directly implements the required control. Repeatable eval datasets reveal systematic regressions not visible in anecdotal prompt checks. Verify the result by checking that per-slice accuracy and error examples identify whether the release meets acceptance thresholds.
Separate transport status, model content and local parser exceptions in traces. That addresses the different 'Provider error versus parsing bug' situation: A summarizer intermittently fails and the logs show HTTP 200 with malformed local parsing. Here the implementation must instead run representative held-out evaluations with explicit criteria and compare against the prior version, because repeatable eval datasets reveal systematic regressions not visible in anecdotal prompt checks.
Correlate input, model stop reasons, tool IDs, outputs and final answer by trace or request identifier. That addresses the different 'Tool-call trace correlation' situation: An agent produces a wrong invoice total after several retrieval and calculator calls. Here the implementation must instead run representative held-out evaluations with explicit criteria and compare against the prior version, because repeatable eval datasets reveal systematic regressions not visible in anecdotal prompt checks.
Assert semantic properties, schema validity or bounded rubric scores instead of exact text equality. That addresses the different 'Non-deterministic test assertion' situation: A CI test compares model prose byte-for-byte with one golden sentence. Here the implementation must instead run representative held-out evaluations with explicit criteria and compare against the prior version, because repeatable eval datasets reveal systematic regressions not visible in anecdotal prompt checks.
A creative drafting assistant produces responses that are too uniform.
Which implementation is the best fit?
Choose sampling settings suited to the task and validate outputs instead of assuming guaranteed determinism. For the situation 'A creative drafting assistant produces responses that are too uniform', this directly implements the required control. Sampling influences output variation but does not substitute for schema validation or make reasoning error-free. Verify the result by checking that repeated tests quantify acceptable variance and enforce stable downstream contracts.
Add a few concise representative examples covering the difficult boundary conditions. That addresses the different 'Zero-shot and few-shot examples' situation: A JSON extraction prompt fails on uncommon invoice layouts. Here the implementation must instead choose sampling settings suited to the task and validate outputs instead of assuming guaranteed determinism, because sampling influences output variation but does not substitute for schema validation or make reasoning error-free.
Budget input context and output generation separately and prune irrelevant content before exceeding limits. That addresses the different 'Context window versus output budget' situation: An analyst stuffs a year's worth of reports into a request without checking model context limits. Here the implementation must instead choose sampling settings suited to the task and validate outputs instead of assuming guaranteed determinism, because sampling influences output variation but does not substitute for schema validation or make reasoning error-free.
Route tasks to effort levels based on complexity and measure accuracy against time and cost. That addresses the different 'Effort allocation' situation: A service uses maximum reasoning effort for trivial routing decisions. Here the implementation must instead choose sampling settings suited to the task and validate outputs instead of assuming guaranteed determinism, because sampling influences output variation but does not substitute for schema validation or make reasoning error-free.
An assistant stores a user's shipping preference and later repeats an obsolete address.
What is the appropriate design decision?
Attach source, timestamp, tenant scope and expiry or invalidation rules to stored memory. For the situation 'An assistant stores a user's shipping preference and later repeats an obsolete address', this directly implements the required control. Persistent memory outlives an inference context and needs provenance and freshness controls. Verify the result by checking that a stale or wrong-tenant memory item is excluded in a replay test.
Use idempotency keys and check the external operation's status before a potentially duplicated retry. That addresses the different 'Agent retry idempotency' situation: An agent times out after calling a ticket-create tool, leaving the result unknown. Here the implementation must instead attach source, timestamp, tenant scope and expiry or invalidation rules to stored memory, because persistent memory outlives an inference context and needs provenance and freshness controls.
Require an observed authoritative tool response before stating an external operation succeeded. That addresses the different 'Tool observation evidence' situation: A repair agent says an update succeeded immediately after issuing a patch command. Here the implementation must instead attach source, timestamp, tenant scope and expiry or invalidation rules to stored memory, because persistent memory outlives an inference context and needs provenance and freshness controls.
Summarize durable decisions and prune irrelevant tool history before continuing. That addresses the different 'Context compaction in agent loop' situation: A lengthy agent run approaches its model context capacity after dozens of tool results. Here the implementation must instead attach source, timestamp, tenant scope and expiry or invalidation rules to stored memory, because persistent memory outlives an inference context and needs provenance and freshness controls.
A service uses a preview feature that will be removed by the provider.
What should the engineer do next?
Inventory dependencies, review published deprecations and test supported replacements before a deadline. For the situation 'A service uses a preview feature that will be removed by the provider', this directly implements the required control. API and model lifecycle changes can break applications that rely on unsupported identifiers or behaviors. Verify the result by checking that a smoke test against the supported replacement passes with documented compatibility exceptions.
Assign accountable owners, SLOs, monitoring and an incident path before production launch. That addresses the different 'Production ownership and SLOs' situation: A prototype assistant is becoming a paid service without on-call ownership or monitoring. Here the implementation must instead inventory dependencies, review published deprecations and test supported replacements before a deadline, because aPI and model lifecycle changes can break applications that rely on unsupported identifiers or behaviors.
Version prompts and response schemas in source control and release them with compatible application changes. That addresses the different 'Prompt and schema version control' situation: A prompt engineer edits production system instructions directly in a dashboard. Here the implementation must instead inventory dependencies, review published deprecations and test supported replacements before a deadline, because aPI and model lifecycle changes can break applications that rely on unsupported identifiers or behaviors.
Pin the existing model, stage the candidate and evaluate it on a representative regression suite before rollout. That addresses the different 'Incremental model rollout' situation: A mature assistant must move to a newer Claude model without disrupting existing customer workflows. Here the implementation must instead inventory dependencies, review published deprecations and test supported replacements before a deadline, because aPI and model lifecycle changes can break applications that rely on unsupported identifiers or behaviors.
A compliance intake assistant delegates document extraction and policy assessment to distinct workers.
Which implementation is the best fit?
Use a supervisor to dispatch scoped tasks and reconcile their results under one final decision point. For the situation 'A compliance intake assistant delegates document extraction and policy assessment to distinct workers', 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.
Implement a fixed validated pipeline and use Claude only for the bounded language step. That addresses the different 'Deterministic workflow choice' situation: A payroll assistant must run the same approved extraction and arithmetic steps for every payslip. 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 reviewer subagent sees confidential payment data unrelated to its task.
What is the appropriate design decision?
Pass a minimal task-specific context and scoped tools to each subagent. For the situation 'A reviewer subagent sees confidential payment data unrelated to its task', this directly implements the required control. Subagent isolation limits accidental data sharing and keeps working context focused. Verify the result by checking that a test trace shows the specialist receives only authorized inputs and returns scoped findings.
Maintain a concise durable state summary of objectives, constraints and decisions during long sessions. That addresses the different 'Long conversation drift' situation: A multi-hour troubleshooting chat forgets an early requirement not to restart production services. Here the implementation must instead pass a minimal task-specific context and scoped tools to each subagent, because subagent isolation limits accidental data sharing and keeps working context focused.
Retrieve and keep only relevant evidence while retaining governing constraints and provenance. That addresses the different 'Context retrieval prioritization' situation: A customer agent receives 200 search hits but only five are relevant to the answer. Here the implementation must instead pass a minimal task-specific context and scoped tools to each subagent, because subagent isolation limits accidental data sharing and keeps working context focused.
Replace bulky completed tool outputs with a verified structured summary and a retrieval pointer. That addresses the different 'Tool output pruning' situation: An agent reuses giant JSON tool responses after extracting the fields it needs. Here the implementation must instead pass a minimal task-specific context and scoped tools to each subagent, because subagent isolation limits accidental data sharing and keeps working context focused.
Developers repeat a multi-step code-quality task in many repositories.
What should the engineer do next?
Encode reusable task instructions in an appropriately scoped Skill rather than manually repeating a long ad hoc prompt. For the situation 'Developers repeat a multi-step code-quality task in many repositories', this directly implements the required control. Skills package reusable guidance that Claude Code can invoke in a relevant context. Verify the result by checking that repeated invocations follow the documented checklist while leaving project-specific input flexible.
Configure tool permissions and require human approval for sensitive filesystem or shell operations. That addresses the different 'Claude Code tool approval' situation: A coding assistant proposes reading a private credential file while fixing tests. Here the implementation must instead encode reusable task instructions in an appropriately scoped Skill rather than manually repeating a long ad hoc prompt, because skills package reusable guidance that Claude Code can invoke in a relevant context.
Place stable shared guidance at the appropriate CLAUDE.md scope and resolve overrides explicitly. That addresses the different 'CLAUDE.md hierarchy' situation: A mono-repo needs global coding conventions plus module-specific guidance for one Python package. Here the implementation must instead encode reusable task instructions in an appropriately scoped Skill rather than manually repeating a long ad hoc prompt, because skills package reusable guidance that Claude Code can invoke in a relevant context.
Use supported headless or print mode with explicit permissions, output handling and exit-code checks. That addresses the different 'Claude Code headless CI use' situation: A pipeline needs a noninteractive code analysis report for each pull request. Here the implementation must instead encode reusable task instructions in an appropriately scoped Skill rather than manually repeating a long ad hoc prompt, because skills package reusable guidance that Claude Code can invoke in a relevant context.
Please check your mailbox for a message from support@examlabs.com and follow the directions.