Session State, Resumption & Forking
Claude Certified Architect – Foundations (CCAR-F) exam practice questions · 10 flashcards
Question
How do you resume a named session in Claude Code?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Session State, Resumption & Forking practice questions and answers
- How do you resume a named session in Claude Code?claude --resume <session-name>.
- What does fork_session do?Creates an independent branch from a shared analysis baseline to explore different approaches.
- When should you resume a session?When prior context is still valid and useful.
- When should you start fresh instead of resuming?When prior tool results are stale (e.g. files changed), so old context would mislead.
- How do you start fresh without losing knowledge?Inject a structured summary of key findings into the new session.
- After resuming, files were modified. What should you do?Tell the agent which files changed so it re-analyzes them rather than relying on stale results.
- Why is resuming with stale tool results risky?The agent may act on outdated information.
- What's a good use of forking?Comparing two refactoring or testing strategies from the same codebase analysis.
- What is session state in an agent app?The conversation history, tool results and progress your app stores to continue work.
- Why name sessions?Easy to identify and resume the right investigation later.