AnthropicClaude Code Configuration and Workflows

Claude Code & Hierarchy — CCAR-F Practice Question

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

Short answer

The correct answer is B. Keep universal rules at the repository level and place service-specific guidance near each service, avoiding duplication and conflicts.

Layered instructions mirror scope. Universal guidance remains visible while local files keep service context relevant and maintainable.

The Question

A monorepo has organization-wide security rules and service-specific test commands. How should Claude Code instructions be structured?

APut every detail in one global file
BKeep universal rules at the repository level and place service-specific guidance near each service, avoiding duplication and conflictsCorrect
CRely on each developer's personal memory
DGenerate instructions anew for every session

Why B is correct

Layered instructions mirror scope. Universal guidance remains visible while local files keep service context relevant and maintainable.

Why the other options are wrong

Option A: Put every detail in one global file

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

Option C: Rely on each developer's personal memory

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

Option D: Generate instructions anew for every session

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

Key idea: Claude Code & Hierarchy

Layered instructions mirror scope. Universal guidance remains visible while local files keep service context relevant and maintainable. On the CCAR-F exam, questions in the "Claude Code Configuration and Workflows" 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