CCAR-F Practice Questions: Claude Code Configuration & Workflows Domain
Test your CCAR-F knowledge with 10 practice questions from the Claude Code Configuration & Workflows domain. Includes detailed explanations and answers.
CCAR-F Practice Questions
Master the Claude Code Configuration & Workflows Domain
Test your knowledge in the Claude Code Configuration & Workflows domain with these 10 practice questions. Each question is designed to help you prepare for the CCAR-F certification exam with detailed explanations to reinforce your learning.
Question 1
The OrbitPay monorepo contains Go services under services/, React applications under web/, and Terraform modules under infra/. Terraform changes require rules about provider pinning and resource tagging, but those rules are irrelevant to Go and React work. How should the architect configure Claude Code?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): A rule in .claude/rules/ with paths frontmatter targeting the applicable Terraform files conditionally loads the conventions where they are relevant. Specialized guidance should be scoped with path patterns instead of being applied globally. This reduces irrelevant context and prevents one technology's conventions from influencing unrelated code.
Why the other options are wrong:
- Option A: Root guidance is appropriate for universal conventions, but globally loading Terraform-specific rules introduces irrelevant instructions for most work.
- Option C: A slash command is an on-demand workflow and would make persistent path-specific conventions depend on manual installation and invocation.
- Option D: Separate clones add operational complexity and are unnecessary when scoped rules can target matching paths.
Question 2
A verified defect is caused by the constant `RETRY_LIMIT = 2` in `src/client/retry.ts`. The approved change is to set it to `3`; a focused test already verifies three attempts, and no generated files or interfaces are affected. Which workflow is MOST appropriate?
Show Answer & Explanation
Correct Answer: D
Correct answer (D): Direct execution is appropriate because the target, approved value, scope, and executable acceptance check are all clear. This applies the principle of matching workflow overhead to task complexity and uncertainty. In production, avoiding unnecessary planning accelerates low-risk work without sacrificing verification.
Why the other options are wrong:
- Option A: A repository-wide dependency map adds overhead without materially reducing risk for this isolated change.
- Option B: Creating a reusable exploratory skill for one well-understood constant change is unnecessary.
- Option C: The requirement is a specific defect fix, not a durable rule that every retry limit must equal three.
Question 3
A repository includes a dependency-audit skill that explores package manifests and produces a report. Its exploratory output should not clutter the main conversation, and security policy requires the skill to read and search files but never edit them or run shell commands. Which SKILL.md configuration BEST satisfies these constraints?
Show Answer & Explanation
Correct Answer: D
Correct answer (D): A forked context isolates the audit's exploratory work from the main conversation, while an explicit allowed-tools list enforces the required least-privilege boundary. This applies the principles of context isolation and constrained tool access. In production, these controls reduce context pollution and limit the impact of unintended tool use.
Why the other options are wrong:
- Option A: Prose restrictions do not provide the explicit tool boundary or context isolation required by the policy.
- Option B: Forking provides isolation, but inheriting every tool leaves editing and shell execution available.
- Option C: Restricting tools meets the least-privilege requirement, but the audit would still clutter the primary conversation.
Question 4
A development team wants Claude Code to follow the same naming, testing, and error-handling conventions for every contributor to the shared LedgerFox repository. One developer also prefers concise explanations, but that preference should not affect teammates. Which configuration is MOST appropriate?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): The shared conventions belong in a project-scoped CLAUDE.md that can be versioned with the repository, while the individual communication preference belongs in user-scoped configuration. The underlying principle is to match instruction scope to its intended audience. In production, this provides consistent team behavior without imposing personal preferences on other contributors.
Why the other options are wrong:
- Option A: Requiring every developer to duplicate project conventions in user-level configuration creates drift and does not reliably distribute updates.
- Option C: The project file is appropriate for team conventions, but committing a personal preference applies irrelevant guidance to the entire team.
- Option D: Slash commands package on-demand workflows rather than persistent conventions, and a personal preference should not be stored repository-wide.
Question 5
A pull-request pipeline invokes Claude Code to classify migration risk. A downstream gate requires valid JSON containing exactly risk_level, rationale, and requires_dba_review. The current pipeline scrapes these values from conversational Markdown and breaks when wording changes. Which implementation is MOST appropriate?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): A non-interactive invocation with JSON output and a schema directly supports stable, machine-consumable fields. The CCAR-F principle is to constrain automation interfaces rather than parse unrestricted conversational text. In production, schema-constrained syntax reduces fragile parsing failures and makes downstream validation reliable, although the pipeline must still assess semantic correctness separately.
Why the other options are wrong:
- Option B: Expanded parsing may handle known Markdown variations, but it remains brittle when headings, ordering, or prose structure change.
- Option C: Human transcription makes the pipeline interactive, slow, and unsuitable for deterministic automated gating.
- Option D: Concise prose and newline splitting do not guarantee the exact JSON structure required downstream.
Question 6
A team performs an optional release-readiness check that accepts a release identifier, runs the same repository-specific checklist, and produces a summary. Any contributor must be able to invoke it explicitly, and the workflow must be version-controlled with the repository. Which implementation is MOST appropriate?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): A project slash command is designed for an explicitly invoked, repository-specific team workflow, and an argument hint can communicate the expected release identifier. This follows the CCAR-F principle of matching configuration mechanisms to invocation and sharing requirements. In production, a version-controlled command gives contributors a consistent workflow without injecting optional instructions into every interaction.
Why the other options are wrong:
- Option A: CLAUDE.md provides persistent project guidance, but this checklist is optional and should not influence unrelated development tasks.
- Option C: A personal command can implement the workflow, but copying it into each user's home directory creates drift and does not provide repository-controlled team distribution.
- Option D: Path-specific rules conditionally apply file conventions; they are not the best mechanism for an explicitly invoked workflow that takes a release argument.
Question 7
A repository team repeatedly performs an on-demand release-readiness workflow that examines changed files, checks migration notes, and prepares a standard handoff summary. The workflow contains reusable operational knowledge, but it should not become persistent guidance for every coding task. Which implementation is MOST appropriate?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): A project skill packages reusable capability and workflow knowledge without making it persistent guidance for every interaction. The underlying principle is to use skills for reusable, on-demand workflows and CLAUDE.md for durable project context. In production, this keeps routine coding context focused while giving the entire team a version-controlled release process.
Why the other options are wrong:
- Option B: Loading a detailed release workflow through the root CLAUDE.md would add unnecessary instructions to unrelated coding tasks.
- Option C: Individually maintained personal commands would not provide a consistent, repository-shared capability.
- Option D: Path rules are intended for file-specific conventions, not an invoked release-readiness workflow.
Question 8
Claude Code is implementing a parser for vendor invoice references. The requirement says only that references should be normalized, and repeated prompt rewording produces inconsistent behavior for spaces, lowercase letters, and missing check digits. The product owner can provide representative valid and invalid references. What should the architect do NEXT?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): Representative examples clarify ambiguous behavior, tests convert those examples into objective acceptance signals, and focused failures guide subsequent revisions. This applies the principle of evidence-driven iterative refinement. In production, executable feedback reduces interpretation drift and makes completion measurable and repeatable.
Why the other options are wrong:
- Option A: Allowing Claude to choose the policy risks implementing behavior that does not match the product owner's intended rules.
- Option C: Making an ambiguous requirement persistent does not supply the missing behavioral details.
- Option D: Discarding context between attempts does not clarify requirements or establish objective correctness.
Question 9
A repository team needs a reusable capability for diagnosing intermittent test failures. It includes task-specific instructions, reference files, and a repeatable analysis procedure. Claude Code should use the capability when the task is relevant, but the instructions should not consume persistent project context during unrelated work. Which implementation is MOST appropriate?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): A project skill packages reusable, task-specific instructions and supporting resources without making the entire procedure persistent context for unrelated work. The underlying principle is to use skills for reusable capabilities and CLAUDE.md for broadly applicable project context. In production, this keeps context focused while making a specialized workflow consistently available to the team.
Why the other options are wrong:
- Option B: Although the process is shared, placing the entire specialized procedure in root CLAUDE.md adds irrelevant context to unrelated work.
- Option C: Personal configuration would help only an individual developer and would not provide a versioned, consistently shared project capability.
- Option D: Duplicating the workflow across source files creates drift and unnecessary maintenance overhead.
Question 10
A pull-request pipeline must run Claude Code without a terminal, apply the repository's review guidance, and return findings that a program can validate before posting comments. The pipeline currently scrapes free-form prose and sometimes publishes the same finding twice. Which design BEST improves reliability?
Show Answer & Explanation
Correct Answer: D
Correct answer (D): Noninteractive print mode supports CI execution, while JSON output plus a schema produces machine-validated structure; deduplication prevents repeated comments. Repository guidance can remain available through the checked-out project's CLAUDE.md. The underlying principle is to replace interactive, prose-parsing automation with constrained interfaces and idempotent publication logic. In production, this reduces parsing failures, malformed findings, and noisy duplicate review comments.
Why the other options are wrong:
- Option A: Terminal interaction and transcript parsing are brittle and unsuitable for deterministic CI processing.
- Option B: Print mode removes interactivity, but unconstrained text and broader regular expressions remain fragile.
- Option C: Markdown is human-readable, but this approach does not provide structured validation or prevent duplicate findings.
Ready to Accelerate Your CCAR-F Preparation?
Join thousands of professionals who are advancing their careers through expert certification preparation with FlashGenius.
- ✅ Unlimited practice questions across all CCAR-F domains
- ✅ Full-length exam simulations with real-time scoring
- ✅ AI-powered performance tracking and weak area identification
- ✅ Personalized study plans with adaptive learning
- ✅ Mobile-friendly platform for studying anywhere, anytime
- ✅ Expert explanations and study resources
Already have an account? Sign in here
About CCAR-F Certification
The CCAR-F certification validates your expertise in claude code configuration & workflows and other critical domains. Our comprehensive practice questions are carefully crafted to mirror the actual exam experience and help you identify knowledge gaps before test day.
More CCAR-F Practice Questions by Domain
- CCAR-F Practice Questions: Agentic Architecture & Orchestration — 27% of the exam
- CCAR-F Practice Questions: Tool Design & MCP Integration — 18% of the exam
- CCAR-F Practice Questions: Prompt Engineering & Structured Output — 20% of the exam
- CCAR-F Practice Questions: Context Management & Reliability — 15% of the exam
Want more? Take the free CCAR-F sample tests across all 5 domains, review the CCAR-F cheat sheet for last-minute revision, or read the Ultimate Guide to the CCAR-F certification.