Question 16: CCAR-P: Claude Certified Architect - Professional
An engineer inadvertently commits an API key to the repository by placing it in .claude/settings.json. Which configuration design principle was violated?
Nội dung câu hỏi
An engineer inadvertently commits an API key to the repository by placing it in .claude/settings.json. Which configuration design principle was violated?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Project-scope configuration should always override user-scope configuration.
- B. MCP server definitions must reside in environment variables to prevent scope conflicts.
- C. Credentials must be resolved at runtime from a secret store and never stored in version-controlled files. — đáp án hiện tại
- D. Managed configuration must be applied before project-scope configuration is read.
Answer researched independently against supporting documentation; not a published source answer key. Independent reasoning (not a published answer key): A committed settings file exposes credentials; secret resolution must occur outside version-controlled configuration. References: https://code.claude.com/docs/en/security https://platform.claude.com/docs/en/managed-agents/secure-deployment
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.