FEFreeExamDumps.in

Claude Certified Architect

Topic 3

Question 40

CCA-F is a newly released exam. These practice questions reflect our best current understanding — the exact wording and question formats may change in the live exam until the certification matures. Use them to learn the concepts, not to memorize.

Scenario: Code Generation with Claude Code - Your codebase contains areas with different coding conventions: React components use functional style with hooks, API handlers use async/await with specific error handling, and database models follow the repository pattern. Test files are distributed across the codebase next to the code under test (e.g., `Button.test.tsx` next to `Button.tsx`), and you want all tests to follow the same conventions regardless of location. What is the most supported way to ensure Claude automatically applies the correct conventions when generating code?

  • APut all conventions in the root CLAUDE.md under headings for each area and rely on Claude to infer which section applies.
  • BCreate skills in `.claude/skills/` for each code type, embedding conventions in each SKILL.md.
  • CPlace a separate CLAUDE.md file in each subdirectory containing conventions for that area.
  • DCreate rule files under `.claude/rules/` with YAML frontmatter specifying glob patterns to conditionally apply conventions based on file paths.