D3: Claude Code Features & Modes
Claude Certified Developer – Foundations exam practice questions · 11 flashcards
Question
What does /init do?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Claude Code Features & Modes practice questions and answers
- What does /init do?Analyzes the repo and generates a starter CLAUDE.md.
- How do you continue the most recent session?claude --continue (-c).
- How do you pick a past session to resume?claude --resume (-r) or /resume.
- What does /clear do?Clears conversation context to start fresh.
- What does /compact do?Summarizes the conversation to free context while keeping key information.
- What is headless mode?Non-interactive runs with claude -p "prompt", for scripts and CI.
- How do you get machine-readable headless output?--output-format json, or stream-json for streaming events.
- What is plan mode?A read-only mode where Claude researches and proposes a plan before changing files.
- What is auto mode?A permission mode where Claude proceeds with actions automatically, with safeguards checking risky actions, instead of asking each time.
- Which other permission modes exist?Default (ask), acceptEdits (auto-accept file edits), plan, and bypassPermissions (sandboxes only).
- Name useful built-in slash commands./clear, /compact, /init, /memory, /model, /agents, /mcp, /permissions, /hooks, /resume.