📖 Lesson content
Your score:
8 of 8 Correct (100%)
Elapsed time:
1 minute
Show Answers
Hide Answers
Question 1: Correct answer
What is the fundamental limitation of language models that necessitates the use of a tool system in coding assistants?
They can only generate code in specific programming languages
They have limited memory capacity for large codebases
They cannot understand complex programming concepts
They can only process text input/output and cannot directly interact with external systems
Question 2: Correct answer
What permission configuration is required when integrating MCP servers with Claude Code in GitHub Actions?
Each MCP server tool must be individually listed in the permissions
No special permissions are needed if running in GitHub Actions
Permissions are automatically inherited from the GitHub repository settings
A single blanket permission for all MCP operations
Question 3: Correct answer
What is the primary difference between Plan Mode and Thinking Mode in Claude Code?
Plan Mode is for writing code while Thinking Mode is for debugging
Plan Mode is faster while Thinking Mode is more accurate
Plan Mode uses fewer tokens while Thinking Mode uses more tokens
Plan Mode handles breadth (multi-step tasks) while Thinking Mode handles depth (complex logic)
Question 4: Correct answer
Which of the following correctly describes the three types of Claude.md files and their usage?
Project level (debugging), Local level (testing), Machine level (production)
Project level (personal use), Local level (team sharing), Machine level (repository specific)
Project level (shared with team, committed), Local level (personal, not committed), Machine level (global for all projects)
Project level (configuration), Local level (documentation), Machine level (automation)
Question 5: Correct answer
How do you create a custom command in Claude Code that accepts runtime parameters?
Use the @parameters decorator in the command file
Define parameters in settings.json configuration
Add command line flags when executing the command
Include $ARGUMENTS placeholder in the markdown command file
Question 6: Correct answer
Which type of hook can prevent a tool call from happening if certain conditions are met?
PostToolUse hook
Project hook
Global hook
PreToolUse hook
Question 7: Correct answer
A developer wants to prevent Claude from reading sensitive .env files. Which type of hook should they set up, and what tool names would they likely match?
PostToolUse hook, matching Write and Edit
PreToolUse hook, matching Write and Create
PreToolUse hook, matching Read and Grep
PostToolUse hook, matching Read and Delete
Question 8: Correct answer
What is the primary purpose of hooks in Claude Code?
To manage project dependencies.
To automatically generate new code snippets.
To run commands before or after Claude executes a tool.
To provide a user interface for Claude.
Take this again
🔁 Related lessons
- Next: Summary and next steps
- Previous: The Claude Code SDK
- Same section: The Claude Code SDK · Summary and next steps
- Part of paths: Path C
- Reference docs: Glossary · Skills atlas · By use-case
📚 Source & attribution
- Original Anthropic Academy lesson: https://anthropic.skilljar.com/claude-code-in-action/308391
- © 2025 Anthropic. Educational fair-use only.