100% Latest & Updated Anthropic CCA-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 120
An API workflow resumes a payment step without knowing if the provider charged the card before the crash. Which corrective action most directly addresses the observed failure?
- Validate the actual file presence and hashes before trusting its completed step entry.
- Reconcile restored state against current project policy before mutating files.
- Refresh time-sensitive external facts while retaining stable user and case context.
- Revalidate tool permissions at execution time under current policy.
- Reconcile the external transaction by idempotency key before retrying.
Explanation
Correct Answer
E:Keep a stable idempotency key for the payment attempt, query or reconcile the provider’s authoritative transaction record, and only retry under the provider’s documented idempotency contract. This prevents a crash between charge success and local persistence from producing a duplicate customer debit.
Incorrect Answers
A:File existence and checksum checks protect artifact recovery after a crash, but they cannot reveal whether an external payment provider already charged the card. A local completion marker may be stale. Reconcile the provider’s transaction state before any second financial operation.
B:Project-policy revalidation can prevent an unauthorized mutation on resume, but even a fully authorized charge can be duplicated if the prior operation succeeded and the response was lost. The missing guarantee is payment idempotency and authoritative provider reconciliation.
C:Refreshing external facts may improve a resumed conversation, but an uncertain side-effectful charge needs a specific transaction identity. A generic read of current customer details will not tell whether this attempt already completed. Query provider state using the recorded idempotency key.
D:Checking current tool permissions is mandatory for a sensitive operation, yet permission to retry does not mean the card should be charged again. Authorization and exactly-once business effects are separate requirements. Determine the earlier provider outcome before invoking a second charge.
Question 121
A resumed code agent reuses outdated instructions that were revoked overnight. Which implementation choice best closes the specific gap described?
- Reconcile restored state against current project policy before mutating files.
- Revalidate tool permissions at execution time under current policy.
- Use concurrency-safe state updates or independent state branches with explicit reconciliation.
- Refresh time-sensitive external facts while retaining stable user and case context.
Explanation
Correct Answer
A:Load current project instructions and compare them with the saved task plan before allowing any file mutation; remove or supersede revoked steps and document the updated permission or requirement. A historic checkpoint must not silently override a newer controlling policy.
Incorrect Answers
B:Permission checks immediately before tool execution remain important, but tool allowlists alone do not resolve obsolete workflow instructions such as a forbidden migration strategy or revoked edit requirement. The agent must reconcile the task plan itself with current policy.
C:Concurrency-safe state updates prevent lost writes when two branches operate simultaneously. No conflict between simultaneous writers is described; the problem is outdated instructions persisted across time.
D:Refreshing volatile external facts such as inventory avoids stale business answers, but a revoked developer instruction is a policy change, not a time-sensitive database field. Reconcile the governing policy explicitly.
Question 122
A tool loop serializes only assistant text and loses pending tool IDs at checkpoint time. Which architecture decision would most directly meet the stated requirement?
- Record tool versions and relevant configuration in the saved session provenance.
- Revalidate tool permissions at execution time under current policy.
- Persist a checkpoint with completed step IDs and safe resume markers.
- Persist pending tool calls and matching response identifiers with the session.
Explanation
Correct Answer
D:Persist the pending tool-use blocks, their IDs and ordered conversation state, then attach results to the matching IDs when resuming. This prevents orphaned results, hallucinated completions and accidental re-execution of a side-effectful operation.
Incorrect Answers
A:Recording tool versions supports replay provenance, but versions alone do not identify the currently pending invocation whose response must match a particular tool_use ID. Replaying an unmatched result can corrupt the conversation.
B:Rechecking permissions at execution protects tool invocation scope; it does not repair serialization that omits the outstanding tool_use and future tool_result correlation data.
C:Completed step IDs and resume markers provide useful progress boundaries. They are not sufficient if the model has issued a tool call whose result has not yet been received and linked to that call.
Question 123
A customer case is resumed with stale inventory data treated as current. What should the team change first to resolve this exact failure mode?
- Bind session identifiers to authorized tenants and verify ownership before resume.
- Resume the intended persisted session or supply an explicit durable case snapshot.
- Refresh time-sensitive external facts while retaining stable user and case context.
- Reconcile restored state against current project policy before mutating files.
Explanation
Correct Answer
C:Keep the stable customer identity, request constraints and verified history, but re-query inventory with an as-of time or other freshness criterion. The resumed response then combines historical context with up-to-date stock evidence.
Incorrect Answers
A:Authorizing access to a saved session prevents tenant data exposure, but ownership checks do not establish that the resumed inventory count is fresh. Correct access can still lead to a stale stock answer.
B:Restoring the prior case snapshot is important for history but unsafe if every saved lookup is treated as present-time truth. The inventory quantity may change while the session is inactive.
D:Reconciling current project policy prevents obsolete instructions, not obsolete catalog values. Policy validation does not refresh a stock count that may have changed overnight.
Question 124
An agent forks a repository exploration but both branches write to the same working directory. Which safeguard or workflow change provides the missing guarantee?
- Fork exploration from a known session checkpoint into isolated alternatives.
- Isolate mutable artifacts or worktrees for each fork before parallel edits.
- Lock only the coordinator’s in-memory status flags while both forked agents continue writing files to the same working directory.
- Preserve common evaluation criteria and dataset versions across session branches.
Explanation
Correct Answer
B:Logical session separation alone cannot prevent filesystem races between alternate solutions. The case involves an agent forks a repository exploration but both branches write to the same working directory. Logical session separation alone cannot prevent filesystem races between alternate solutions. The implementation therefore needs to isolate mutable artifacts or worktrees for each fork before parallel edits.
Incorrect Answers
A:A fork supports competing investigations while preserving the original state for comparison. The question describes the following failure: an agent forks a repository exploration but both branches write to the same working directory. Logical session separation alone cannot prevent filesystem races between alternate solutions. While the alternative would fork exploration from a known session checkpoint into isolated alternatives, it leaves the required step to isolate mutable artifacts or worktrees for each fork before parallel edits unfinished.
C:An in-memory lock may stop status races inside the coordinator, but it does not isolate the filesystem mutations made by separate agents. Their simultaneous edits can still overwrite one another or corrupt the shared working tree. Give each branch an isolated worktree or artifact directory, then reconcile verified changes.
D:Comparable baselines, not isolated self-reported success, decide between alternate approaches. The stated situation is that an agent forks a repository exploration but both branches write to the same working directory. Logical session separation alone cannot prevent filesystem races between alternate solutions. The alternative would preserve common evaluation criteria and dataset versions across session branches, but the implementation still must isolate mutable artifacts or worktrees for each fork before parallel edits to correct that specific failure.
Question 125
A coordinator marks a checkpoint completed before evidence files finish writing to disk. Which response is best supported by these operational facts?
- Persist a checkpoint with completed step IDs and safe resume markers.
- Checkpoint at meaningful stage boundaries and reuse verified immutable search results.
- Checkpoint both verified accomplishments and an explicit unresolved-items list.
- Isolate mutable artifacts or worktrees for each fork before parallel edits.
- Commit artifacts atomically and checkpoint only after integrity verification.
Explanation
Correct Answer
E:Write evidence to a temporary destination, flush and validate the resulting bytes, then atomically promote the artifact where supported. Update checkpoint completion only after the content is confirmed present and correct. This prevents resume logic from trusting files that were never fully written.
Incorrect Answers
A:Persisting completed step IDs helps resume after a crash, but the mark must follow verified artifact persistence. If the coordinator writes completed before the evidence files finish flushing, the checkpoint lies about the available state. Atomic file commit and integrity checks should precede it.
B:Meaningful checkpoint boundaries reduce repeated search and recovery work, yet any boundary can be recorded too early. The defect is claiming completion while evidence writes are still in progress. Verify the actual file state before persisting the completion marker.
C:Keeping unresolved items is useful for honest recovery, but a “completed” list is still false when artifacts are pending. The coordinator must treat pending writes as incomplete until their bytes are durable and checked. A detailed manifest without atomicity can mislead.
D:Isolating parallel worker artifacts can reduce overwrite races, but a single worker may still report its file complete before the underlying write finishes. Checkpoint ordering and durability are distinct from worktree isolation.
Question 126
A developer needs to reproduce an earlier subagent decision after the tool schema changed. Which design adjustment is most suitable under the stated constraints?
- Persist pending tool calls and matching response identifiers with the session.
- Validate environment dependencies and remap allowed resource references before resume.
- Revalidate tool permissions at execution time under current policy.
- Record tool versions and relevant configuration in the saved session provenance.
Explanation
Correct Answer
D:Record the relevant tool schema version, server revision, model/configuration and versioned tool metadata alongside the session provenance. A later investigator can reconstruct the decision context rather than applying today’s incompatible interface to yesterday’s trace.
Incorrect Answers
A:Pending tool IDs explain correlation across a pause, but do not identify which tool schema, server version or feature settings shaped the old agent action. An identical call may interpret arguments differently after an interface change.
B:Checking resources in a new environment helps resume safely, but that is an environment migration check. Reproducing an earlier decision additionally needs the historical schema, model/tool configuration and version identifiers.
C:Current permission validation prevents forbidden new calls; it cannot by itself reconstruct historical tool semantics or show why an earlier subagent selected a now-removed argument shape.
Question 127
A crash-recovery manifest names a nonexistent output file. What targeted change avoids repeating this failure?
- Persist a checkpoint with completed step IDs and safe resume markers.
- Reconcile the external transaction by idempotency key before retrying.
- Validate the actual file presence and hashes before trusting its completed step entry.
- Use concurrency-safe state updates or independent state branches with explicit reconciliation.
Explanation
Correct Answer
C:For each claimed complete step, check the actual output path and expected length or checksum before skipping it during resume. If absent or mismatched, mark the step incomplete and regenerate or recover it before downstream work.
Incorrect Answers
A:A persisted step ID says which action was planned or claimed complete, but not that the expected artifact exists now. The crash may have occurred after marking completion and before the output was committed.
B:An idempotency-key lookup prevents duplicated financial side effects. This case concerns a missing filesystem artifact, not a transaction whose outcome must be reconciled with an external service.
D:Concurrent state isolation prevents writers from overwriting each other. It cannot validate a checkpoint entry that refers to a nonexistent file after a crash.
Question 128
A long task saves progress at random times and repeatedly repeats expensive completed searches. Which corrective action most directly addresses the observed failure?
- Checkpoint both verified accomplishments and an explicit unresolved-items list.
- Checkpoint at meaningful stage boundaries and reuse verified immutable search results.
- Persist a checkpoint with completed step IDs and safe resume markers.
- Commit artifacts atomically and checkpoint only after integrity verification.
Explanation
Correct Answer
B:Save progress at completed stage boundaries with durable references and input fingerprints for verified immutable search findings. On resume, reuse the same trusted artifacts if their assumptions still hold, instead of repeating the entire retrieval merely because a prior random checkpoint was uninformative.
Incorrect Answers
A:Recording unresolved items is important, but a list alone will not prevent rerunning a finished expensive search if the checkpoint never identifies verified reusable search results.
C:Completed step IDs are useful, but not enough without durable result evidence and a meaningful boundary. A marker might say “searched” while its findings were never saved for reuse.
D:Atomic checkpoint writes protect manifest integrity but do not define when to save or how to reuse expensive work. Perfectly atomic random snapshots can still force unnecessary duplicate searches.
Question 129
A forked session learns a new private token and the developer merges its raw transcript into a public branch. Which implementation choice best closes the specific gap described?
- Promote only reviewed, sanitized findings rather than merging all fork content blindly.
- Fork exploration from a known session checkpoint into isolated alternatives.
- Preserve common evaluation criteria and dataset versions across session branches.
- Validate environment dependencies and remap allowed resource references before resume.
Explanation
Correct Answer
A:Review the alternative’s findings, remove private tokens and unrelated session details, then merge only the approved code or non-sensitive conclusions. The public branch must receive validated artifacts rather than a verbatim history containing newly learned credentials.
Incorrect Answers
B:Branching from a known point supports repeatability, but it does not prevent a later copy of the raw branch conversation from leaking a token. Isolation at creation is not a substitute for safe promotion.
C:Common evaluation criteria help judge alternatives technically; they do not classify or redact secret information before public merge. Comparable benchmarks can coexist with a severe credential disclosure.
D:Environment remapping helps an agent run in another deployment but does not prevent private session content from being merged into a public branch. The failure is a sensitive-data transfer boundary.
Question 130
An agent resumes after a configuration change and attempts a formerly permitted destructive action. Which architecture decision would most directly meet the stated requirement?
- Revalidate tool permissions at execution time under current policy.
- Persist pending tool calls and matching response identifiers with the session.
- Record tool versions and relevant configuration in the saved session provenance.
- Trust permissions recorded in the old checkpoint and execute the resumed destructive action without fresh authorization.
- Refresh time-sensitive external facts while retaining stable user and case context.
Explanation
Correct Answer
A:Permissions may have changed after the session checkpoint, so a previously allowed destructive command must be reauthorized at the moment of execution. Deny the action under the current policy if the session or user no longer has permission. Historical approval is not a standing capability.
Incorrect Answers
B:Persisting pending tool-call IDs preserves correlation when a session restarts, but it does not override changed security policy. A matched old tool request may now be forbidden. Re-evaluate authorization before executing any restored side effect.
C:Recording tool versions and configuration at checkpoint time supports audit and reproducibility. It does not make an old permission grant valid after the administrator changes policy. The actual execution boundary must use current authorization conditions.
D:Replaying permissions captured in a stale checkpoint allows an agent to execute a destructive action that the current configuration forbids. A saved session is evidence of previous context, not authority to bypass later restrictions. Verify current roles and policy before permitting the operation.
E:Updating time-sensitive external facts is good contextual hygiene, but it cannot prove current permission to delete or modify resources. The key change is security authorization, not a stale web fact. Protected actions require fresh policy evaluation at execution.
Claude Certified Architect - Foundations (CCA-F) Practice Tests