Anthropic CCA-F (Claude Certified Architect - Foundations (CCAR-F)) Practice Test 7

Question 60

A worker asked to optimize a function reports that it looks cleaner, but runtime performance is unchanged. What was missing from the assignment?

  1. A rule requiring fewer lines of code as the sole definition of optimization.
  2. A measurable success criterion tied to the required performance change.
  3. An instruction to maximize CPU utilization regardless of throughput or latency.
  4. A requirement to describe the patch in more detail without measuring execution.

Explanation

Correct Answer

B:

The task needed an observable target, such as benchmark improvement under fixed conditions. Aesthetic changes do not demonstrate that target.

Incorrect Answers

A:

A shorter implementation can be slower or unchanged in runtime. The assignment needs a performance measure tied to the user's goal.

C:

High utilization is not itself the requested performance improvement. Extra computation can increase resource use while leaving the function no faster.

D:

A more detailed narrative still provides no criterion for determining whether the optimization improved runtime behavior.

Question 61

A coordinator delegates each line of a small function to a different worker. Coordination costs exceed the work itself. What redesign is most appropriate?

  1. Require every worker to read every other worker's full transcript.
  2. Remove the final integration step.
  3. Partition the function into equal character ranges without considering dependencies between the fragments.
  4. Keep one worker per line but add a supervisor for every pair of workers so that each tiny assignment receives a separate review.
  5. Keep the small cohesive task together and delegate only substantial independent work.

Explanation

Correct Answer

E:

Delegation has overhead. Boundaries should preserve enough context for useful independent progress and justify the cost of coordination.

Incorrect Answers

A:

This increases communication costs without resolving the unnecessary decomposition.

B:

Skipping integration leaves inconsistent changes rather than making the decomposition effective.

C:

Equal text size does not create independently meaningful work. Splitting a cohesive function across arbitrary boundaries can increase coordination and reconciliation costs.

D:

More coordination layers amplify the overhead of decomposing a small cohesive function and do not create useful independent work.

Question 62

A coordinator frequently sends database tuning to a documentation worker because both workers are described as helpful assistants. What should be improved first?

  1. Their shared maximum output length.
  2. Their descriptions of expertise, task boundaries, and expected outputs.
  3. The number of prior tasks each worker completed, regardless of their subject.
  4. A shared description that promises both workers can handle any task.

Explanation

Correct Answer

B:

Clear descriptions make routing decisions evidence-based. The coordinator can distinguish database investigation from documentation work before delegating.

Incorrect Answers

A:

An output budget does not communicate specialization.

C:

Historical task count does not explain which specialist is appropriate for database tuning.

D:

Broader overlapping descriptions would further obscure their different expertise.

Question 63

A second model should challenge a generated design for overlooked defects. Which input best supports an independent review?

  1. The generator's recommendation and confidence score without the requirements.
  2. The design, requirements, and evaluation rubric without the generator's persuasive defense.
  3. Only the generator's explanation of why the design is excellent.
  4. The desired approval verdict followed by the design.

Explanation

Correct Answer

B:

A reviewer needs the artifact and criteria, while omitting advocacy reduces anchoring on the generator's chosen rationale. Independence still does not guarantee correctness.

Incorrect Answers

A:

A self-assessment cannot replace the criteria needed for an independent challenge of the design.

C:

This excludes the artifact and encourages endorsement rather than inspection.

D:

A prescribed conclusion biases the evaluation before evidence is considered.

Question 64

Two reviewers disagree about a proposed change. One provides a reproducible failing case; the other gives only a confidence score. What should govern resolution?

  1. Add a third reviewer who sees only the approval recommendation and use a majority vote.
  2. Reject the change immediately without checking whether the reported case falls within the required input contract.
  3. Prefer whichever reviewer uses the larger model.
  4. Average their confidence scores and ignore the failing case.
  5. Reproduce and assess the concrete failure against the requirements.

Explanation

Correct Answer

E:

Evidence can distinguish a genuine defect from a mistaken review. The coordinator should resolve the substantive claim rather than vote on unsupported confidence.

Incorrect Answers

A:

The new reviewer would not receive the failing case needed to assess the dispute. Counting verdicts cannot resolve evidence that the voters have not examined.

B:

A reproducible case is strong evidence only when it tests required behavior. Evaluating its applicability prevents an out-of-scope expectation from being treated as a defect.

C:

Model capability can influence reliability but does not invalidate a reproducible failure.

D:

Numerical aggregation cannot replace investigation of concrete counterevidence.

Question 65

Two agents have separate conversation contexts but use the same working directory. One deletes a file the other needs. What assumption failed?

  1. Separate contexts imply different model capabilities.
  2. All file operations are automatically reversible.
  3. Separate conversational context implies isolated filesystem state.
  4. A final summary contains a complete filesystem backup.

Explanation

Correct Answer

C:

Agents can share external resources despite isolated histories. File access needs explicit coordination or separate working copies.

Incorrect Answers

A:

Context separation concerns available information, not necessarily capability differences.

B:

Reversibility depends on storage and versioning, not the number of agents.

D:

Summaries communicate findings; they do not preserve deleted bytes.

Question 66

A coordinator has a fixed task budget. It assigns every worker the full budget independently. Why can the total exceed the intended limit?

  1. Per-worker ceilings must be reconciled with a shared overall budget.
  2. Treat a worker's budget as replacing the parent's usage instead of adding to total task consumption.
  3. Count only tokens in the coordinator's final response and omit intermediate worker activity.
  4. Assume identical per-worker limits automatically act as one shared limit across all workers.

Explanation

Correct Answer

A:

Local bounds do not automatically constrain aggregate spending. The coordinator needs accounting across workers and a policy for allocating remaining capacity.

Incorrect Answers

B:

Delegation creates additional work within the overall task. The parent and worker costs both need to be included in a shared accounting model.

C:

The resource limit applies to the work needed to produce the outcome, not only the visible summary. Excluding worker activity undercounts the task's consumption.

D:

Independent ceilings can each be respected while their sum exceeds the intended total. A shared reservation or accounting policy must enforce the aggregate bound.

Question 67

A user cancels a long-running report while background workers continue fetching data. What should the orchestrator implement?

  1. Propagate cancellation to workers and prevent pending commits after cancellation.
  2. Cancel the parent request but rely on workers to infer that cancellation from silence.
  3. Suppress the final message but leave every worker running.
  4. Wait for every worker to finish, then discard all results without checking pending writes.

Explanation

Correct Answer

A:

Cancellation should affect execution, not merely hide the final response. Workers may need cooperative stopping, and consequential operations require a final cancellation check.

Incorrect Answers

B:

Workers need an explicit cancellation signal or shared cancellation state. Lack of new messages does not establish that their assigned work is no longer wanted.

C:

This stops presentation while continuing the work and resource consumption the user canceled.

D:

Discarding results addresses presentation after execution. It does not prevent the canceled work from consuming resources or committing effects in the meantime.

Question 68

A multi-step migration resumes after a process crash. Which checkpoint design helps avoid repeating already completed operations?

  1. Store only the most recent model response.
  2. Store only the original natural-language request.
  3. Assume every step before the crash failed.
  4. Persist step status, operation identifiers, and authoritative outcomes before resuming.

Explanation

Correct Answer

D:

Recovery needs durable execution evidence. The controller can reconcile uncertain operations and skip confirmed completions instead of restarting the entire workflow blindly.

Incorrect Answers

A:

A response may omit execution outcomes and cannot reliably reconstruct committed state.

B:

The request describes desired work, not which steps committed before the crash.

C:

A crash can occur after an external commit but before local acknowledgement.

Question 69

A workflow creates a reservation, then payment authorization fails. The systems do not share an atomic transaction. What recovery should be designed?

  1. Retry reservation creation before checking payment again.
  2. Use a defined compensating action to release the reservation when appropriate.
  3. Delete the execution log to restart from a clean state.
  4. Assume failure automatically rolls back the reservation.

Explanation

Correct Answer

B:

A saga-style recovery reverses eligible earlier effects through explicit operations. Compensation must account for current state and failures of the compensation itself.

Incorrect Answers

A:

Creating additional reservations compounds the partial-success problem.

C:

Removing evidence makes recovery less reliable and obscures remaining external effects.

D:

Independent services do not provide cross-service rollback unless explicitly implemented.

Question 70

A workflow can validate a shipping address locally, then purchase a nonrefundable label. Which ordering reduces avoidable irreversible mistakes?

  1. Complete validation and required approval before purchasing the label.
  2. Purchase the label and validate only if the carrier rejects it.
  3. Run validation and purchase concurrently.
  4. Let the model choose an arbitrary order on each run.

Explanation

Correct Answer

A:

Deterministic preconditions should precede a costly commitment. The execution boundary should also reject stale or unapproved inputs.

Incorrect Answers

B:

A carrier may accept a syntactically valid but incorrect address, leaving an unnecessary purchase.

C:

The purchase depends on the validation result; concurrency removes that protection.

D:

A known prerequisite should not be left to variable planning.

Claude Certified Architect - Foundations (CCAR-F) (CCA-F) Practice Tests