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.

This question is part of the free Claude Certified Architect - Foundations practice test.

Short answer

The correct answer is D. Keep an external structured record of commitments and decisions, and rehydrate only 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 in every turn for as long as the session lasts, without trimming it
BAsk users to remember their earlier commitments and restate them to the agent whenever needed
CDisable every context limit so the complete history always stays inside the model window
DKeep an external structured record of commitments and decisions, and rehydrate only 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 in every turn for as long as the session lasts, without trimming it

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 their earlier commitments and restate them to the agent whenever needed

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 so the complete history always stays inside the model window

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

Official sources used

Verify program and exam details at the source before scheduling.