Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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