AnthropicContext Management and Reliability

Context & Compaction — CCAR-F Practice Question

A representative Claude Certified Architect - Foundations (CCAR-F) exam question on Context & Compaction. Work through it below, then read why each option is right or wrong.

Short answer

The correct answer is D. Maintain an external structured state for commitments and decisions, and rehydrate only the relevant state each turn.

Critical state should not live only in an eventually compressed transcript. An external structured record survives compaction and supports targeted context assembly.

The Question

A long-running support agent loses key commitments after its history is compacted. What should the design change?

ARepeat the entire transcript forever
BAsk users to remember commitments for the agent
CDisable every context limit
DMaintain an external structured state for commitments and decisions, and rehydrate only the relevant state each turnCorrect

Why D is correct

Critical state should not live only in an eventually compressed transcript. An external structured record survives compaction and supports targeted context assembly.

Why the other options are wrong

Option A: Repeat the entire transcript forever

Option A does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.

Option B: Ask users to remember commitments for the agent

Option B does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.

Option C: Disable every context limit

Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.

Key idea: Context & Compaction

Critical state should not live only in an eventually compressed transcript. An external structured record survives compaction and supports targeted context assembly. On the CCAR-F exam, questions in the "Context Management and Reliability" domain test whether you can map a scenario's constraints to the right choice. Read the requirement carefully, eliminate options that violate any single constraint, and pick the one that satisfies all of them with the least operational overhead.

Ready to see how you'd score?

Take the free practice quiz and find out which Claude Certified Architect - Foundations domains you need to focus on. No signup required.

Practice 5 similar questions

Same cert, same or adjacent domain. Use these after reviewing the explanation.

Related Claude Certified Architect - Foundations Practice Questions