This quiz is interactive and needs JavaScript. Here are the questions for reference:
1. What is the correct settings.json precedence, from highest to lowest?
- A) User > Project > Local > CLI > Managed
- B) Managed > CLI > Local > Project > User
- C) CLI > Managed > Project > Local > User
- D) Managed > Local > CLI > User > Project
2. A CLI flag passes --model, but an enterprise MDM (managed) policy pins a different model. Which takes effect?
- A) The CLI flag, because command-line always wins
- B) The managed policy, because Managed sits above CLI
- C) Whichever was set most recently
- D) Neither — the session errors out
3. Up to how many hops deep will
@path imports in a
CLAUDE.md resolve before they stop?
- A) 1 hop
- B) 3 hops
- C) 4 hops
- D) Unlimited
4. How are the memory files across scopes (managed, user, project, local) combined into context?
- A) Only the highest-precedence file is loaded; the rest are ignored
- B) They are concatenated broad→specific, all layers included
- C) The local file wholesale-replaces the project file
- D) They are merged key-by-key like
settings.json
5. When is the body of a skill / slash command loaded into context?
- A) At the start of every session, like CLAUDE.md
- B) On every turn
- C) Only when the command is invoked (lazy-loaded)
- D) Never — only its metadata is ever available
6. Which hook event is the reliable place to gate a tool call before it executes?
- A)
PostToolUse - B)
Stop - C)
PreToolUse - D)
Notification
7. A shell hook exits with code 2. What happens?
- A) Success — stdout is parsed as JSON
- B) Blocking — stdout/JSON is ignored and stderr is fed to Claude
- C) Non-blocking error — a warning shows and execution continues
- D) The session terminates immediately
8. When multiple hooks return different permissionDecision values, what is the resolution priority?
- A)
allow > ask > defer > deny - B)
deny > defer > ask > allow - C)
ask > deny > allow > defer - D) Whichever hook returns last wins
9. If a lower scope has a deny rule and a higher scope adds an allow for the same call, the higher-scope allow overrides and the call is permitted.
10. --fork-session branches a new session from an existing one without modifying the original transcript.
11. In headless mode, what is the difference between --append-system-prompt and --system-prompt?
12. Name the flag that validates headless (print-mode) output against a JSON Schema, and the flag combination that emits machine-parseable JSON output.
13. You must guarantee that a
process_refund tool call can never fire without approval. A teammate suggests adding a strong instruction to
CLAUDE.md. Why is that insufficient, and what enforces it reliably?
14. A developer wants to investigate a large codebase and propose an approach without touching any files yet. Which workflow tool(s) fit, and what write restriction do they impose?