CCAR-P · Domain 5: Governance, Safety, and Risk Management · 16% of the exam
Task 5.4: Human-in-the-Loop Checkpoints
Deciding where people must approve in an agent workflow with irreversible or high-stakes actions, and gates that pause those steps without holding up the low-risk paths.
Study it
Placing guardrails and human checkpoints by misuse path, reversibility and stakes
Try each one before opening the answer. Every option is explained, with the Anthropic documentation page that proves it.
Question 1 · choose 1
A nightly claude -p maintenance job uses background subagents. Production deploy commands are not in any allow rule, so they need approval, and an on-call engineer must approve each one from the paging app before it runs. Calls already allowed by the job's rules, such as tests and builds, must keep running without waiting for anyone. Where should the checkpoint sit?
AIn a Notification hook on the permission_prompt type that pages the engineer and waits for an answer
BIn a PreToolUse hook on every tool call that pages the engineer and waits for an approval before the call runs
CIn a PermissionRequest hook that sends the deploy request to the paging app and returns the decision
DIn the subagents, which use the AskUserQuestion tool to ask the on-call engineer before each deploy
Show the answer and why
AIn a Notification hook on the permission_prompt type that pages the engineer and waits for an answer
Incorrect
That notification fires only after a prompt has waited about six seconds, and a non-interactive run has no prompt to answer.
BIn a PreToolUse hook on every tool call that pages the engineer and waits for an approval before the call runs
Incorrect
PreToolUse runs before every tool call, so allowed tests and builds would wait for the engineer too.
CIn a PermissionRequest hook that sends the deploy request to the paging app and returns the decision
Correct
It runs only when a call would need permission, and in sessions that can't prompt the call is denied if no hook decides.
DIn the subagents, which use the AskUserQuestion tool to ask the on-call engineer before each deploy
Incorrect
AskUserQuestion isn't available in subagents spawned through the Agent tool.
PermissionRequest hooks run when Claude Code is about to ask for permission to use a tool, or would auto-deny a call that can't prompt. In sessions that can't show a prompt, such as background subagents in non-interactive mode, Claude Code still runs them, and if no hook returns a decision it denies the call. PreToolUse hooks run before every tool call, whether or not it needs permission.
Developers run Claude Code in auto mode. Production deploys must keep pausing for a person, and the platform team's managed settings already contain an ask rule for them. Developers complain that low-risk work keeps stalling: pushes to the company's own source-control organization are blocked, and on every task they have to approve, in conversation, the same routine cleanup of the build output folder that the classifier flags. Which TWO changes reduce these stalls and keep the deploy checkpoint? (Choose TWO.)
ARemove the ask rule for production deploys, so that the classifier alone decides which deploys need a person
BApprove each blocked push from the Recently blocked tab, so that later pushes of the same kind go through
CList the company's source-control org in autoMode.environment, so the classifier treats it as trusted
DMove the autoMode block into each repository's .claude/settings.json, so that every team can tune it
EAdd the routine cleanup to autoMode.allow, instead of approving it again in each conversation
Show the answer and why
ARemove the ask rule for production deploys, so that the classifier alone decides which deploys need a person
Incorrect
That removes the human checkpoint the deploys must keep; the stalls come from elsewhere.
BApprove each blocked push from the Recently blocked tab, so that later pushes of the same kind go through
Incorrect
Approving an action doesn't add a permission rule; a retried action goes through the check again.
CList the company's source-control org in autoMode.environment, so the classifier treats it as trusted
Correct
By default the classifier trusts only the working directory and the repo's remotes; listing the org stops routine pushes from being blocked.
DMove the autoMode block into each repository's .claude/settings.json, so that every team can tune it
Incorrect
The classifier doesn't read autoMode from a repository's project settings files.
EAdd the routine cleanup to autoMode.allow, instead of approving it again in each conversation
Correct
An approval in conversation covers one action; to stop approving a routine pattern each time, the guidance adds it to autoMode.allow.
Auto mode's classifier trusts only the working directory and the current repo's configured remotes until autoMode.environment names other trusted infrastructure, such as the company's source-control org. An approval stated in conversation covers the one action it names; a routine pattern belongs in autoMode.allow. Neither change touches the managed ask rule for production deploys.
A team builds its own MCP client for an operations agent that can call tools with side effects. Which human-in-the-loop expectation does the MCP tools specification set for applications like this?
AThere should always be a human in the loop who can deny tool invocations, with confirmation prompts for operations
BHumans should approve tools only when the server sets a destructive annotation on them
CHuman review is the server's job, so a client can run every tool call it receives automatically
DHumans should review the tool list once at installation, after which individual tool calls need no further checks or prompts
Show the answer and why
AThere should always be a human in the loop who can deny tool invocations, with confirmation prompts for operations
Correct
The specification says applications SHOULD keep a human able to deny invocations and present confirmation prompts.
BHumans should approve tools only when the server sets a destructive annotation on them
Incorrect
The specification's expectation covers tool invocations generally, not only annotated ones.
CHuman review is the server's job, so a client can run every tool call it receives automatically
Incorrect
The specification places these expectations on applications presenting tools.
DHumans should review the tool list once at installation, after which individual tool calls need no further checks or prompts
Incorrect
The specification expects the ability to deny invocations and confirmation prompts for operations.
For trust and safety and security, the MCP tools specification says there SHOULD always be a human in the loop with the ability to deny tool invocations. Applications SHOULD provide a UI that makes clear which tools are exposed, show clear visual indicators when tools are invoked, and present confirmation prompts to the user for operations.