CCDV-F domain - 8.1% of the exam

Security and Safety

Security and Safety is 8.1% of the CCDV-F exam. These are the objectives it covers, each with practice questions, with every answer explained.

The domain in numbers

24
Practice questions
4
Objectives
15
Medium
9
Hard

Where people go wrong

  • Treating a prompt instruction as a barrier

    The wrong answers add or reword an instruction: a rule in the system prompt, a note in the tool description, or a line in the project context file. Each remains a request the model may not honour, so the audited breaches, nine unapproved deletions in one case and six deletion commands in another, could recur. The correct answers remove the capability where code enforces it: a pending-request tool, a read-only credential, or a hook that blocks the command before it runs.

    See it in a sample question
  • Using temperature or a larger model as a security control

    Lowering temperature, or moving to a larger or more instruction-following model, is offered as a defence in these questions. Temperature governs token sampling, not which instructions the model honours, so an injected instruction is followed just as reliably at low temperature. A model that follows instructions more faithfully can follow an injected one more faithfully too. The correct answers change what the assistant can do or what reaches the customer: its tools, an allow-list of recipients, or a code check on the reply before display.

    See it in a sample question
  • Offering detection where prevention is required

    Audit logs, nightly reports and next-morning review appear as wrong answers whenever the requirement is that an action cannot happen. They record a deletion, a write or a repricing after it has occurred. In the pricing question the run still completes all 9,000 changes before anyone acts. The correct answers prevent the action: an approval step before an irreversible change, a read-only credential, a quota of 200 changed lines enforced server side, or a blocking hook.

    See it in a sample question
  • Keeping one broad credential and managing it better

    One credential is treated as acceptable if it is rotated, stored centrally or hidden. Rotation and central storage leave the same value valid for every service or environment, and a shared service account on an HR document store can read documents the requester may not see. The correct answers split or bind the credential: one per service, one per environment, held server side, or a query run under the requesting employee's own identity.

    See it in a sample question
  • Letting a failed dependency widen permission

    When a dependency fails, the wrong answers let the action continue: retry and then proceed, serve a cached decision, substitute an estimated score or drop the check. Each widens permission when no real decision exists, as when 40 settlements were reversed after a 25 minute outage. The correct answers fail closed: refuse the action, record the reason and route the claim to a human queue.

    See it in a sample question

Objectives in this domain

Sample questions from this domain

Free sampleSecurity and Safetymedium

An internal operations assistant has a tool that permanently deletes an archived customer record, and deletion cannot be undone. Policy states that a named data owner must approve every deletion. An audit of one quarter found nine deletions carried out with no approval recorded, despite a system prompt telling the assistant to confirm with the owner first. The assistant must keep its other archive tools. Which design meets the policy?

  • AKeep the deletion tool and require the assistant to state the owner's name and the reason in the tool arguments, so that every deletion carries an attributable justification in the call record.
  • BSplit the deletion tool so that the assistant can only write a pending deletion request, and have a separate service perform the deletion after the named owner approves the request through their own interface. Correct
  • CAdd a second system prompt paragraph, written in stronger terms, instructing the assistant to obtain approval and to refuse the deletion outright if the owner has not replied within the conversation.
  • DLog every deletion call to the audit store and review the log each week, raising any deletion that lacks a recorded approval with the team that operates the assistant.
Irreversible actions belong behind a human approval step enforced in code, not behind an instruction asking the model to seek approval. Removing the destructive capability from the tool surface and leaving the assistant only a request-creating tool means the approval is a structural precondition of the deletion. The human decision, not the model's judgement, is what causes the irreversible step to run.

Why A is wrong: Richer arguments give a useful audit trail, which is why teams reach for this, but the model supplies those arguments itself and the deletion still executes on its say-so, so an unapproved deletion remains possible.

Why B is correct: The irreversible step is removed from the assistant's reach entirely, so the only path to a deletion runs through a recorded human approval, while the remaining archive tools are unaffected.

Why C is wrong: This reads like a tightening of the existing control, but it is the same class of control that already failed nine times, and an instruction cannot prevent the tool from being invoked.

Why D is wrong: Logging and review are genuinely required for accountability, but they detect an unapproved deletion after the record has gone, and the policy demands approval before an irreversible action.

Free sampleSecurity and Safetyhard

A support assistant answers questions about open tickets and can call a tool that closes a ticket. Customers write the ticket text themselves. Over 5,000 live conversations, an audit found 23 tickets closed immediately after a customer message containing wording addressed to the assistant. The team must reduce that count to zero while the assistant keeps reading customer-written ticket text. What is the correct change?

  • AExplain in the system prompt that customer ticket text is untrusted, and require the assistant to confirm in its reply that a closure request came from an adviser before it calls the closing tool.
  • BStrip formatting, quotation marks and imperative sentences from customer ticket text before it is placed in the context, so that instruction-shaped wording is removed prior to any tool call.
  • CLower the sampling temperature for conversations that include customer-written ticket text, so the assistant follows its own instructions more consistently and closes fewer tickets in error.
  • DMake ticket closure an application-side action that the assistant can only recommend, with the adviser's own authenticated click performing the close, and leave the assistant holding read-only ticket tools. Correct
Move a mutating action out of the model's tool set and behind an authenticated human step when the same turn reads untrusted text. A measured requirement of zero cannot be met by anything the model is asked to do, because injected text competes on the same instruction channel. Making closure an authenticated application action leaves the assistant with read-only capability, so the worst outcome of a successful injection is an ignored recommendation.

Why A is wrong: Tempting because a self-declared check reads like an approval gate and can be added today. The confirmation is produced by the same turn the injected text is influencing, so the assistant can assert the check passed and close the ticket anyway.

Why B is wrong: Tempting because sanitising input is standard practice against injection attacks in other settings. Natural language carries intent without any of those markers, so the filter mangles genuine ticket text while an ordinary polite sentence still conveys the instruction.

Why C is wrong: Tempting because the failure looks like inconsistency, and temperature is the obvious consistency lever to reach for. Temperature affects token sampling, not whether an instruction inside the context is honoured, so it cannot bring a security count to zero.

Why D is correct: Correct because the mutating step moves outside the model's reach and is bound to an authenticated adviser action. Injected text can then produce only a recommendation, which drives the audited count to zero rather than merely lowering it.

Free sampleSecurity and Safetymedium

An internal assistant answers staff questions about HR documents through a tool that reads a document store. The tool handler authenticates to that store with one service account able to read every document, and the system prompt tells the assistant to answer only from documents the asking employee is entitled to see. An audit found staff receiving contents of documents restricted to their managers. The requirement is that a tool call can reach only the documents the requesting employee is entitled to. Which change meets it?

  • AHave the tool handler query the store under the requesting employee's own authenticated identity, taken from the session the application already established, so the store applies that employee's entitlements to the query. Correct
  • BInsert the requesting employee's name and grade into the system prompt on every request, and instruct the assistant to discard any retrieved document that employee is not entitled to see.
  • CHave the model supply the requesting employee's identifier as an argument to the tool, and have the handler filter the store query by whatever identifier arrives in that argument.
  • DReduce the service account's permissions to the least sensitive document class, so no manager-restricted document can be returned to the assistant under any circumstances.
A tool call should execute under the authenticated end user's authority, not under a broad service account that the model is asked to self-restrict. Authorisation has to be decided by the system that owns the data, using an identity the application authenticated, because neither a prompt instruction nor a model-supplied argument is trustworthy input. Propagating the caller's own identity into the tool handler makes the store apply that person's entitlements, so over-privileged content is never returned in the first place.

Why A is correct: Correct: the tool call then acts with the end user's authority rather than the service account's, so the document store enforces the same entitlements it would apply if the employee searched it directly, and no restricted content reaches the context.

Why B is wrong: Tempting because the assistant then has the information needed to filter, but the restricted content has already been read into the context by a service account that could reach it, and an instruction to discard it is guidance the model may not follow under conversational pressure.

Why C is wrong: Tempting because authorisation now appears to happen in code rather than in the prompt, but a tool argument is produced by the model from conversation text a user can influence, so it is an unauthenticated claim of identity rather than a verified one.

Why D is wrong: Tempting because it does stop the audited disclosure immediately, but it collapses every user to one permission level and removes legitimate manager access, so the assistant no longer satisfies the entitlement requirement it was built to serve.

Free sampleSecurity and Safetymedium

An insurer's Claude-based assistant decides whether a submitted claim may be settled automatically by calling an internal fraud-scoring service. During a 25 minute outage of that service the assistant continued to settle claims, treating the missing score as a low-risk result, and the insurer later reversed 40 settlements. The insurer requires that a dependency failure never widen what the assistant is permitted to do. Which definition of safe failure should the team implement for this tool?

  • AOn a failed scoring call, retry the service ten times with a fixed one second gap and, if every attempt fails, proceed with the settlement while writing a warning line into the application log for later review.
  • BOn a failed scoring call, have the integration layer refuse the settlement action, return an explicit unavailable result to the assistant, and route the claim to the human queue until scoring is confirmed healthy. Correct
  • COn a failed scoring call, substitute the median fraud score observed across the previous month so the assistant has a value to reason over, and mark the claim for a sampled quality review after settlement.
  • DOn a failed scoring call, remove the settlement tool from the request and instruct the assistant in the system prompt to explain that automatic settlement is unavailable until scoring returns.
A safe failure narrows what an agent may do: an unavailable check fails closed in code and hands the decision to a human path. The fault was that a missing signal was interpreted as a permissive one, so the outage silently granted the assistant more authority than the design intended. Deciding in the integration layer to refuse the privileged action and hand the case to an existing human path makes the failure mode strictly narrower than normal operation, which is the property that stops an outage becoming 40 reversals.

Why A is wrong: Retrying a transient failure is reasonable and logging the outcome preserves a record, but proceeding after exhausted retries still settles the claim without a score, which is the exact widening of permission the insurer forbids.

Why B is correct: Failing closed in the integration layer means an absent score can never be read as a favourable one, and routing to the human queue keeps the claim moving through a path that already has the authority to decide it.

Why C is wrong: A statistical stand-in keeps the pipeline moving and feels defensible, but an invented score is not evidence about this claim, and a review after settlement corrects the outcome only once money has already moved.

Why D is wrong: Withdrawing the tool is closer to correct and would block the action, but pairing it with a prompt instruction as the stated control leaves the behaviour resting partly on wording, and it gives the claim no route to a human while the outage lasts.

Other domains in this exam

See also the CCDV-F cert hub, the study guide, and the cheat sheet.

Examworthy is not affiliated with or endorsed by Anthropic. Original, blueprint-aligned practice material only.