CCAR-P practice › Developer Productivity & Operational Enablement · Question 103 of 110
Developer Productivity & Operational Enablement
Security requires that Claude Code never read files under a repository's secrets/ directory. The rule is currently written in the project CLAUDE.md, yet a developer's session read one of those files. What is the most appropriate fix?
Show answer and explanation
Answer: B — Add deny rules for those paths in managed settings so no project or user configuration can loosen them
A must-hold rule needs enforcement, not guidance; deny rules in managed settings take precedence and cannot be overridden (b). (a) and (c) are still instructions the model may not follow, and (c) relies on each person. (d) detects violations after the secret is already exposed.
Keep going
More Developer Productivity & Operational Enablement questions
- New hires report that Claude Code ignores the team's test command and naming…
- A platform team wants every developer to use the same issue-tracker and read-only…
- Developers complain about constant permission prompts in Claude Code, and several have…
- After adopting Claude Code, a team's merged pull requests per week rose sharply, but…
- A team runs Claude Code non-interactively in CI to triage issues filed on its public…