Anthropic certification · Exam CCAR-P

CCAR-P Mock Exam

Claude Certified Architect - Professional

Free CCAR-P questions on Developer Productivity and Operational Enablement, each with the answer and an explanation.

20 questions · 39 minutes · free, no sign-up

Developer Productivity and Operational Enablement questions

1–5 of 5 free
Question 1 Choose 1
You are integrating Claude Code into the team’s pull-request workflow. The team wants AI-assisted review without removing human approval. Which integration design best fits this requirement?
Show answerHide answer

Correct answer: A Claude Code reviews the pull request and posts a structured analysis as a comment, while a human reviewer retains the approval decision under the existing branch-protection rules.

Explanation

Explanation:

The core requirement is to integrate AI-assisted review without removing human approval. Option A perfectly satisfies this constraint. It uses Claude Code as an advisory tool that augments the human reviewer by posting a structured analysis (e.g., potential bugs, security issues, style violations) as a comment. Crucially, the human reviewer remains the final gatekeeper, and the existing branch-protection rules (which typically require at least one human approval before merging) remain intact.

Why the other options are incorrect:

B (Automatically merging every PR) explicitly bypasses human approval and violates the branch-protection rules.

C (Disabling branch-protection rules) removes the human approval gate entirely, which is the exact opposite of the stated requirement.

D (Silently deleting PRs) is destructive, bypasses review, and provides no actionable feedback to the author, violating basic DevOps and collaboration principles.

References:

DevOps and GitHub best practices: AI code review tools should be integrated as advisory agents (posting comments/checks) while preserving mandatory human-in-the-loop approval gates via branch protection.

Question 2 Choose 1
You are defining when to introduce a project subagent versus relying on Claude Code ' s general capabilities. Which scenario most directly justifies a dedicated subagent?
Show answerHide answer

Correct answer: A The team has a recurring specialized task, such as database schema review, that requires a focused system prompt, narrow tool permissions, and a specific model selection across many sessions.

Explanation

Explanation:

A dedicated subagent is designed to encapsulate a specialized workflow. The most direct justification for creating one is when a task is recurring and benefits from isolation and specific configuration.

Option A hits all the architectural criteria for a subagent:

1. Recurring specialized task: Justifies the upfront effort of creating a subagent.

2. Focused system prompt: Ensures the subagent stays on task (e.g., schema review rules).

3. Narrow tool permissions: Enforces least privilege (e.g., read-only database access).

4. Specific model selection: Allows choosing a model optimized for that task (e.g., a heavy reasoning model for schema design).

Why the other options are incorrect:

- B (One-time ad hoc question) does not justify the overhead of creating a persistent subagent.

- C (No recurring tasks, isolated general work) describes exactly when to rely on Claude Code's general capabilities rather than a subagent.

- D (Generic system prompt for everything) defeats the purpose of a subagent, which is to provide task-specific specialization and focused tool permissions.

References:

- Claude Code Subagents documentation: Subagents are ideal for specialized tasks, allowing you to configure distinct system prompts, specific tool access, and separate model selections.

Question 3 Choose 2
A Claude architect is auditing configuration scope assignments. Which two statements correctly identify an appropriate use of user-scope configuration versus other scopes? (Select two.)
Show answerHide answer

Correct answer: A, B Persisting personal editor theme preferences that follow an engineer across projects. Saving a preferred Claude response language that applies to all repositories the engineer uses.

Explanation

Explanation:

User-scope configuration (stored in `~/.claude/settings.json`) applies to every project on that engineer's machine, but does not affect teammates or cloud sessions . This makes it the correct place for personal preferences and cross-project personal settings.

Option A (Personal editor theme preferences) is correct. Themes and editor modes are explicitly listed as personal preferences that belong in user settings, and Claude Code writes these to `~/.claude/settings.json` when changed via the `/config` menu . They follow the engineer across all projects on that machine without affecting anyone else.

Option B (Preferred response language for all repositories) is correct. A language preference intended to apply to every repository the engineer uses is inherently personal and cross-project, which is the defining scope of user settings . It does not need to be shared with teammates, so it belongs at the user level rather than project scope.

Why the other options are incorrect:

- C (Enforcing a company-wide policy) requires managed settings (via `managed-settings.json`, MDM, or the [claude.ai](https://claude.ai/) console), which sit at the highest precedence tier and cannot be overridden by user settings .

- D (MCP server endpoints shared by all repository contributors) requires project scope, committed to `.mcp.json` or project settings, so teammates receive it through version control .

- E (Storing API authentication keys) should never be placed in settings files at any scope. Claude Code manages credentials through its own secure storage mechanisms (macOS Keychain, or `.credentials.json` with 0600 permissions), and API keys should be resolved at runtime rather than committed or stored in plaintext settings .

References:

- User settings scope: applies to "every project on your machine" and stores personal preferences like theme, editor mode, and default model .

Question 4 Choose 2
You are compiling team-setup practices for a Claude Code rollout across an engineering organization. Which two practices belong on the list? (Select two.) Each correct answer presents a complete solution.
Show answerHide answer

Correct answer: A, B Use project scope for team-shared Model Context Protocol (MCP) servers and permission rules under version control. Apply managed configuration centrally for security-critical settings that must not be overridden by individual engineers.

Explanation

Explanation:

For a team rollout, shared resources should live in version-controlled project scope, while security-critical enforcement must be centralized in managed scope.

Option A (Use project scope for team-shared MCP servers and permission rules under version control) is correct. Project scope (`.claude/settings.json` and `.mcp.json`) is explicitly designed for settings shared with the team through source control . MCP servers added at project scope are stored in `.mcp.json`, committed to the repository, and automatically available to teammates, who are prompted once to approve them . Shared permission rules likewise belong in project settings so the whole team operates under the same boundaries.

Option B (Apply managed configuration centrally for security-critical settings) is correct. Managed settings sit at the highest precedence tier and cannot be overridden by user, project, local, or `--settings` values . For security-critical controls—such as disabling dangerous tools or enforcing baseline restrictions—central managed deployment ensures no individual engineer can weaken the policy on their machine.

Why the other options are incorrect:

- C (Local scope for security-critical rules) is wrong because local scope is personal and machine-specific; each engineer could alter or remove the rules, defeating the purpose of a security baseline .

- D (User scope for team-shared MCP servers) is wrong because user-scoped servers are private to each engineer and not shared through the repository; teammates would each need to configure the server separately .

- E (Project scope for personal editor preferences) is wrong because personal preferences belong in user scope; committing them to the project forces one engineer's preferences on the entire team .

References:

- Project scope is committed and shared with the team through version control .

- Managed settings override all other scopes and cannot be overridden locally .

Question 5 Choose 1
You are preparing an operational runbook for a Claude-based service. Which content is essential to include in the runbook?
Show answerHide answer

Correct answer: B Common alerts and their triage steps, escalation paths, rollback procedures, and references to the relevant dashboards and logs.

Explanation

Explanation:

An operational runbook is designed to guide on-call engineers through incident response. To be effective, it must be a comprehensive, actionable document that takes an engineer from alert detection to resolution.

Option B includes all essential components of a complete runbook:

- Common alerts and triage steps: Tells the engineer what the alert means and how to investigate it.

- Escalation paths: Defines who to contact if the issue cannot be resolved at the first tier.

- Rollback procedures: Provides the exact steps to revert a bad deployment or configuration change to restore service.

- References to dashboards and logs: Points the engineer to the exact telemetry needed to diagnose the problem.

Why the other options are incorrect:

- A, C, and D are all incomplete. A runbook missing triage steps leaves the engineer guessing how to diagnose the issue. Missing escalation paths means delays in getting expert help. Missing rollback procedures means prolonged outages. Missing dashboard references means wasted time searching for telemetry.

References:

- Site Reliability Engineering (SRE) practices: Runbooks must contain actionable steps for alert response, diagnosis, mitigation (rollback), and escalation.

That's the last free question in Developer Productivity and Operational Enablement

You've seen the free 30% (5 of 18 questions). Full access unlocks every question and full-length CCAR-P mock exams (63 questions, 120 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the CCAR-P exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CCAR-P exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CCAR-P mock exam
  • 63questions per mock
  • 120 mintime limit
  • 129questions in the bank
  • Newmock on every attempt