Quiz: Claude Code
Why This Matters
Most Claude Code questions are really about ownership: who should a setting apply to, and how strongly must it be enforced? The questions are written by Learn Automated Testing, not taken from the real exam.
1. A developer wants Claude Code to use their local Docker socket path in the TestPilot project, without affecting colleagues. Where does it go?
- A.
CLAUDE.md - B.
.claude/settings.local.json - C.
.claude/settings.json - D.
~/.claude/settings.json
Show answer
2. Claude Code must never edit fixtures/golden/ without a recorded reason. What enforces that most reliably?
- A. A line in CLAUDE.md
- B. A path-scoped rule for
fixtures/golden/** - C. A reminder in the pull request template
- D. A PreToolUse hook that blocks the edit unless the reason exists
Show answer
3. Your team wants the TestPilot MCP server available in Claude Code for everyone who clones the repository. Where do you configure it?
- A.
.mcp.jsonin the repository - B. Each developer’s
~/.claude.json - C.
CLAUDE.local.md - D. The system prompt
Show answer
.mcp.json, committed with the code. B is per person, C is personal context, D is not configuration at all.4. Claude Code wrote a change and reviewed it in the same session. It found nothing. What do you do?
- A. Merge it
- B. Ask the same session to review again more carefully
- C. Run an independent review in a fresh session with only the diff and the criteria
- D. Raise the effort setting and ask again
Show answer
5. In a long session, Claude Code keeps returning to an approach you rejected three times. What is usually the best next step?
- A. Correct it a fourth time, more firmly
- B. Write a short status note with the decisions and start a fresh session from it
- C. Fork the session
- D. Switch to plan mode in the same session
Show answer
6. You need a CI job that fails when Claude Code’s review finds a blocker. What is the most reliable setup?
- A. Ask for a structured JSON result with a severity per finding and fail on that field
- B. Fail when the review text contains the word “problem”
- C. Run Claude Code interactively in CI
- D. Let Claude Code push a revert itself