CCARF Domain D3

Claude Code Configuration & Workflows Practice Questions

About 20% of the exam. CLAUDE.md hierarchy, .claude/rules path scoping, slash commands, skills (context: fork), plan mode vs direct execution, hooks, and CI-friendly Claude Code usage.

44 practice questions · Official blueprint weight 20% · Claude Certified Architect Foundations (CCAR-F)

Paper 1 · Q1A documentation team wants to archive the full conversation transcript to a log file every time Claude Code runs /compact, so that context lost during compactio… Paper 1 · Q10A developer working on a React Native project notices that Claude Code applies web-specific React conventions (e.g., using div elements) when editing mobile com… Paper 1 · Q13A CI pipeline validates that generated API docs match the codebase. It runs `claude -p 'Verify that all public API endpoints in src/api/ have corresponding docu… Paper 1 · Q22A developer is iterating on a data transformation function with Claude Code and has identified three issues: (1) date parsing mishandles timezone offsets, (2) c… Paper 1 · Q38A documentation team needs to simultaneously update API reference docs for three independent microservices after a breaking change. Each update requires reading… Paper 1 · Q42A developer's Claude Code applies the team's API conventions correctly in some sessions but not others, on the same project. They suspect the wrong memory files… Paper 1 · Q43A platform engineering team creates a /security-audit skill that scans the codebase for vulnerabilities. The skill should be available to every developer on the… Paper 1 · Q45A consultancy works across 12 client projects simultaneously. Each developer has personal preferences (editor keybindings, alias shortcuts) and the consultancy … Paper 1 · Q47A developer is new to a healthcare compliance domain and needs to build an audit logging system. They understand the technical implementation options but are un… Paper 1 · Q54A documentation team creates a /generate-api-docs skill that reads source code files and produces Markdown API reference pages. The skill generates verbose outp… Paper 1 · Q57A docs team maintains three content types in `docs/api/`, `docs/architecture/`, and `docs/runbooks/`, each with distinct formatting, terminology, and required s… Paper 1 · Q58A team is debugging a complex distributed system issue. The lead developer wants to use Claude Code to explore logs, trace request flows, and form hypotheses wi… Paper 2 · Q5A codebase has test files co-located with source files throughout 50+ directories (e.g., Button.test.tsx next to Button.tsx). The team wants all tests to follow… Paper 2 · Q7A team wants to enforce that all SQL migration files created by Claude Code follow a strict naming convention (YYYYMMDD_HHMMSS_description.sql) and contain a ro… Paper 2 · Q9A developer asks Claude Code to 'explain the order processing pipeline' before refactoring it. The pipeline spans 15 classes across 4 packages with deep inherit… Paper 2 · Q12The team's CLAUDE.md specifies that all new microservices must include integration tests that verify API contract compliance and database migration rollback. A … Paper 2 · Q14Two Claude Code instances are running in separate git worktrees: Instance A is extracting the payment service (branch: extract/payment) and Instance B is extrac… Paper 3 · Q11[Scenario 2: Code Generation with Claude Code] Your team uses Claude Code for code generation, refactoring, debugging, and documentation, integrated into daily … Paper 3 · Q12[Scenario 2: Code Generation with Claude Code] Your team uses Claude Code for code generation, refactoring, debugging, and documentation, integrated into daily … Paper 3 · Q13[Scenario 2: Code Generation with Claude Code] Your team uses Claude Code for code generation, refactoring, debugging, and documentation, integrated into daily … Paper 3 · Q14[Scenario 2: Code Generation with Claude Code] Your team uses Claude Code for code generation, refactoring, debugging, and documentation, integrated into daily … Paper 3 · Q15[Scenario 2: Code Generation with Claude Code] Your team uses Claude Code for code generation, refactoring, debugging, and documentation, integrated into daily … Paper 3 · Q35[Scenario 4: Developer Productivity with Claude] You are building developer productivity tooling on the Claude Agent SDK: helping engineers explore unfamiliar c… Paper 3 · Q36[Scenario 4: Developer Productivity with Claude] You are building developer productivity tooling on the Claude Agent SDK: helping engineers explore unfamiliar c… Paper 3 · Q37[Scenario 4: Developer Productivity with Claude] You are building developer productivity tooling on the Claude Agent SDK: helping engineers explore unfamiliar c… Paper 3 · Q41[Scenario 5: Claude Code for Continuous Integration] You are integrating Claude Code into a CI/CD pipeline for automated code review, test generation, and pull-… Paper 3 · Q42[Scenario 5: Claude Code for Continuous Integration] You are integrating Claude Code into a CI/CD pipeline for automated code review, test generation, and pull-… Paper 3 · Q43[Scenario 5: Claude Code for Continuous Integration] You are integrating Claude Code into a CI/CD pipeline for automated code review, test generation, and pull-… Paper 3 · Q44[Scenario 5: Claude Code for Continuous Integration] You are integrating Claude Code into a CI/CD pipeline for automated code review, test generation, and pull-… Paper 4 · Q11A fintech company requires that all API response payloads are normalised to snake_case before being logged, and that any file write to the src/api/ directory is… Paper 4 · Q18Project-level `.claude/CLAUDE.md` says 'use 4-space indentation matching the existing codebase.' A senior architect has 'use 2-space indentation' in their user-… Paper 4 · Q28A team has a /deploy-check skill that verifies deployment readiness. It needs to: (1) read configuration files across the repo, (2) run bash commands to check s… Paper 4 · Q36A CI/CD pipeline runs three Claude Code steps in sequence: (1) generate a changelog from git commits, (2) review the changelog for accuracy, and (3) check for b… Paper 5 · Q15[Scenario: Claude Code for Continuous Integration] Your CI/CD system runs three Claude-based analyses: (1) fast style checks on every PR that block merging unti… Paper 5 · Q17[Scenario: Claude Code for Continuous Integration] Your CI pipeline includes two Claude-based code review modes: a pre-merge-commit hook that blocks PR merge un… Paper 5 · Q21[Scenario: Claude Code for Continuous Integration] Your pipeline script runs `claude "Analyze this pull request for security issues"`, but the job hangs indefin… Paper 5 · Q24[Scenario: Claude Code for Continuous Integration] Your team wants to reduce API costs for automated analysis. Currently, synchronous Claude calls support two w… Paper 5 · Q26[Scenario: Code Generation with Claude Code] You need to add Slack as a new notification channel. The existing codebase has clear, established patterns for emai… Paper 5 · Q27[Scenario: Code Generation with Claude Code] Your CLAUDE.md file has grown to 400+ lines containing coding standards, testing conventions, a detailed PR review … Paper 5 · Q28[Scenario: Code Generation with Claude Code] You’re tasked with restructuring your team’s monolithic application into microservices. This impacts changes across… Paper 5 · Q29[Scenario: Code Generation with Claude Code] You find that including 2–3 full endpoint implementation examples as context significantly improves consistency whe… Paper 5 · Q30[Scenario: Code Generation with Claude Code] Your team created a `/migration` skill that generates database migration files. It takes the migration name via `$A… Paper 5 · Q31[Scenario: Code Generation with Claude Code] You want to create a custom slash command `/review` that runs your team’s standard code review checklist. It should… Paper 5 · Q32[Scenario: Code Generation with Claude Code] You create a custom skill `/explore-alternatives` that your team uses to brainstorm and evaluate implementation app…

Other domains

D1 Agentic Architecture & Orchestration · D2 Tool Design & MCP Integration · D4 Prompt Engineering & Structured Output · D5 Context Management & Reliability