CCARF Practice Question

Paper 1 · Question 1

D3 Claude Code Configuration & Workflows · Paper 1

A documentation team wants to archive the full conversation transcript to a log file every time Claude Code runs /compact, so that context lost during compaction can be reviewed later. Which hook configuration achieves this?

Show answer & explanations

Correct answer: B

Related Claude Code Configuration & Workflows questions

Paper 1 Q10A developer working on a React Native project notices that Claude Code applies web-specific React conventions (e.g., using div elements) whe…Paper 1 Q13A CI pipeline validates that generated API docs match the codebase. It runs `claude -p 'Verify that all public API endpoints in src/api/ hav…Paper 1 Q22A developer is iterating on a data transformation function with Claude Code and has identified three issues: (1) date parsing mishandles tim…Paper 1 Q38A documentation team needs to simultaneously update API reference docs for three independent microservices after a breaking change. Each upd…Paper 1 Q42A developer's Claude Code applies the team's API conventions correctly in some sessions but not others, on the same project. They suspect th…

More: Paper 1 · All practice questions