Exam CCAR-F Topic 1 Question 86 Discussion
Actual exam question for Anthropic's CCAR-F exam
Question #: 86
Topic #: 1
Question #: 86
Topic #: 1
You are using Claude Code to accelerate software development. Your team uses it for code generation, refactoring, debugging, and documentation. You need to integrate it into your development workflow with custom slash commands, CLAUDE.md configurations, and understand when to use plan mode vs direct execution.
Your team has three requirements for Claude Code's behavior in your project
1. Claude must never modify files in the db/migrations/ directory
2. Claude should prefer your custom logging module over console.log
3. All TypeScript files must be auto-formatted with Prettier after
every edit
All three are currently written as instructions in your project's CLAUDE.md. During a complex refactoring session, a developer discovers that Claude edited a migration file, violating requirement #1. How should you restructure these requirements across Claude Code's configuration mechanisms?
Your team has three requirements for Claude Code's behavior in your project
1. Claude must never modify files in the db/migrations/ directory
2. Claude should prefer your custom logging module over console.log
3. All TypeScript files must be auto-formatted with Prettier after
every edit
All three are currently written as instructions in your project's CLAUDE.md. During a complex refactoring session, a developer discovers that Claude edited a migration file, violating requirement #1. How should you restructure these requirements across Claude Code's configuration mechanisms?
Suggested Answer: A Vote an answer
Hard restrictions belong in permission controls, coding preferences belong in CLAUDE.md, and deterministic formatting belongs in an automated hook. Instructions alone cannot reliably prevent prohibited file edits.
by Jack at Oct 09, 2026, 06:11 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).