Exam Information
Free practice questions with explanations
Anthropic CCAR-F Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Claude Code Configuration & Workflows
A fintech engineering organisation uses Claude Code across 40 repositories. The platform lead wants every developer's Claude Code session in one specific repository to automatically follow the same build and test commands and the same review guidance, without each developer re-typing them. Developers also keep personal preferences, such as preferred editor shortcuts and a personal default model, which must not be forced on teammates or committed to the repository. The repository is hosted on a shared Git server, and the team has a strict rule that no credentials or machine-specific paths may be committed. Which configuration approach BEST meets these requirements?
Correct Answer: DExplanationProject-level CLAUDE.md is the right place for shared guidance such as build commands, test commands and review conventions, because it is checked into the repository and loaded for everyone working there. Personal preferences belong in user-level settings, which stay out of version control and do not override teammates. Choosing a single shared-drive global file fails because it is not scoped to the repository and cannot be versioned alongside the code. Committing personal preferences to project settings breaks the rule that individual choices must not be forced on the team. Emailing settings files is fragile, unversioned and risks leaking machine-specific content.
-
2 Question 2 Order list Context Management & Reliability
A legal-technology company uses Claude to review a 900-page contract bundle split into 60 sections. A single long conversation has started producing inconsistent defined-term usage across sections, and earlier findings are being contradicted later. The company needs the review to remain accurate across all sections and must keep an auditable record of findings that does not depend on the conversation history staying intact. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Run a final consistency pass in a new session that receives the reconciled notes rather than the full transcript of earlier sessions.
- Ask Claude to extract each section's defined terms and findings into a structured notes file stored outside the conversation.
- Start a fresh session for each section and supply only that section plus the current structured notes file.
- Reconcile the accumulated notes against the full defined-terms list and flag any conflicting definitions for human review.
Correct Answer:- Ask Claude to extract each section's defined terms and findings into a structured notes file stored outside the conversation.
- Start a fresh session for each section and supply only that section plus the current structured notes file.
- Reconcile the accumulated notes against the full defined-terms list and flag any conflicting definitions for human review.
- Run a final consistency pass in a new session that receives the reconciled notes rather than the full transcript of earlier sessions.
ExplanationThe reliable pattern is to externalise state first: each section's terms and findings are captured in a structured notes artefact before the context grows too large to trust. Only then should each section be processed in a fresh session that receives the notes instead of the full history, which keeps the working context small and consistent. Reconciliation comes after all sections have produced notes, since conflicts can only be detected across the complete set. The final consistency pass then uses the reconciled artefact, so it does not inherit stale or contradictory transcript content. Reversing the notes step and the fresh-session step would leave the auditable record dependent on context that the workflow is trying to avoid relying on.
-
3 Question 3 Drag and drop Tool Design & MCP Integration
A healthcare analytics company is connecting Claude to three systems through MCP. The security review requires that each external capability be exposed only through the integration method that fits its access pattern: read-only access to a patient-facing FHIR-style API that is already exposed as a remote server with OAuth-based authentication, a local SQLite file used only by one analyst's machine, and a remote internal reporting service that must be shared by several teams with centrally managed credentials. Match each requirement to the MCP integration choice that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Read-only access to a remote API that already offers an MCP endpoint with OAuthAccess to a SQLite file on one analyst's own laptopShared reporting service with credentials managed centrally by the platform teamEmbed the database credentials in each developer's shared project settings fileDeploy a shared MCP server that holds the credentials and serves all teamsConnect to the remote MCP server over HTTP and let it handle the OAuth flowExpose the SQLite file to all teams through a shared network drive mounted on every workstationRun a local stdio MCP server that reads the file on that machineCorrect Answer:- Read-only access to a remote API that already offers an MCP endpoint with OAuth → Connect to the remote MCP server over HTTP and let it handle the OAuth flow
- Access to a SQLite file on one analyst's own laptop → Run a local stdio MCP server that reads the file on that machine
- Shared reporting service with credentials managed centrally by the platform team → Deploy a shared MCP server that holds the credentials and serves all teams
ExplanationEach system has a distinct access pattern, and the matching MCP transport follows from it. A remote API that already publishes an MCP endpoint is connected over HTTP so that its OAuth handling stays with the server that owns the data. A file that only one person's machine can reach is best served by a local stdio server running on that machine, which keeps it out of any shared infrastructure. A shared service with centrally managed credentials calls for one shared server that holds those secrets, rather than distributing them to individuals. The two distractors both push credentials or raw data into shared, uncontrolled locations, which breaks the security review's requirement.
-
4 Question 4 Single choice Agentic Architecture & Orchestration
A fintech company runs a Claude-based agent that handles customer refund requests through a tools API. Refunds of $500 or less may be issued automatically. Refunds above $500 must be approved by a human supervisor, and the company's auditors require proof that no such refund was ever executed without approval. The current design places the approval rule only in the system prompt, and in testing the agent occasionally called the issue_refund tool directly for amounts above $500. The team wants the most reliable fix that keeps the agent autonomous for small refunds. What should the team do?
Correct Answer: BExplanationThis item tests designing coordination and decision logic for an autonomous agent. Prompt instructions are advisory, so they cannot give the auditable guarantee the company needs. The correct design places the policy in code: the tool handler enforces the threshold, and any out-of-policy request becomes a pending state that the orchestrator holds until a human approves it. Small refunds remain fully autonomous, which satisfies the constraint. Option A keeps the rule advisory and will still fail occasionally. Option C is not a control; temperature changes sampling and does not guarantee policy compliance. Option D removes autonomy for all refunds, which violates the requirement to keep small refunds automatic.
-
5 Question 5 Single choice Agentic Architecture & Orchestration
A research agent built on the Claude Messages API gathers data from internal APIs to produce a quarterly market summary. In a pilot, the agent sometimes keeps calling search tools for more than 40 turns, driving up cost and delaying reports. The product owner wants the agent to finish when it has enough evidence, but never run unbounded, and the orchestrator must remain the component that decides when a run is over. Which design best meets these requirements?
Correct Answer: DExplanationThe objective concerns structuring systems where Claude acts autonomously toward a goal while the surrounding system controls termination. A bounded agent loop has the orchestrator check explicit completion criteria and a hard turn budget, so the run always terminates and cost is capped. Option A changes the output token limit, not the number of loop iterations, so it does nothing to bound the loop. Option B leaves termination to the model, which is exactly the behaviour observed in the pilot. Option C adds more tools and typically increases the number of turns. Option D is the only choice where the orchestrator owns the stop decision with a hard limit.
-
6 Question 6 Multiple choice Agentic Architecture & Orchestration
A platform team is designing a multi-agent pipeline for a payments service. A test agent runs the regression suite, a review agent reads the diff, and a deploy agent pushes to production. Requirements: the deploy agent must never run unless the test results for the exact commit are verified, the deploy agent must not have permissions beyond the production deployment command, and the design must work when agents run in parallel. (Choose two.)
Correct Answer: A, DExplanationThis item covers coordinating agent actions and decision logic. Option A makes the gate machine-checkable: the orchestrator verifies a structured result tied to the specific commit before any deploy dispatch, which works under parallel execution. Option D applies least privilege by limiting the deploy agent to the one approved action. Option B relies on free text that the deploy agent may misread, so it is not a verifiable gate. Option C directly violates the permission requirement. Option E removes isolation and does not enforce the verified-test precondition, and it contradicts the parallel design goal.
-
7 Question 7 Single choice Claude Code Configuration & Workflows
A monorepo team uses Claude Code. The team lead wants all developers to share the same coding conventions, test commands, and guidance about the module layout, and this must be committed so it is applied consistently for everyone. One engineer also needs a personal permission override that allows Claude Code to run a locally installed database CLI in this repository. That override must apply only to this repository and must not be committed or affect teammates. Where should each setting be placed?
Correct Answer: CExplanationThis item tests project-level configuration. CLAUDE.md at the repository root holds shared project memory such as conventions and commands, and it is committed so the whole team receives it. Personal, repository-scoped permission settings belong in .claude/settings.local.json, which is intended for local overrides and is not shared. Option A is wrong because a user-level settings file applies across all projects, not just this repository. Option B commits the personal override, which affects teammates. Option D inverts the intended roles: local settings are not for shared guidance, and CLAUDE.md is not a permissions mechanism.
-
8 Question 8 Multiple choice Claude Code Configuration & Workflows
A security team must ensure that Claude Code working in a payments repository never reads the contents of the .env files and never runs commands that delete directories recursively, even if a developer asks for them in a prompt. Developers should still be able to use Claude Code normally for everything else. Which two configurations meet these requirements? (Choose two.)
Correct Answer: B, EExplanationThis item covers project-level configuration for enforcement. Permission deny rules in project settings are enforced by the tool layer regardless of what a prompt asks for, so option B is a real control. A PreToolUse hook can inspect and block specific tool calls before they execute, so option E enforces the recursive-delete restriction. Option A is advisory guidance that the model may ignore. Option C disables safeguards and is the opposite of what is required. Option D depends on developers choosing a wrapper, which does not stop direct tool use.
-
9 Question 9 Single choice Context Management & Reliability
A team uses Claude Code to migrate 220 service modules from one logging library to another over several days. Early sessions were productive, but in long sessions the agent begins to forget earlier decisions, revisits modules it has already migrated, and makes inconsistent naming choices. Developers want the migration to remain consistent and reviewable, and they cannot keep one session open for the entire project. What is the best approach?
Correct Answer: AExplanationThis item tests managing context window limits during long tasks. Important state, including decisions and progress, should be stored outside the context window in a durable artifact that a new session can read. This keeps each session focused, preserves consistency, and gives reviewers an auditable record. Option B repeatedly consumes context with the same material and does not solve drift in decisions. Option C controls output length, not how much prior state the agent retains. Option D ignores the stated constraint that a single long session is not feasible and does not fix context accumulation.
-
10 Question 10 Single choice Prompt Engineering & Structured Output
A logistics company uses Claude to extract shipment data from free-text emails and load the results into a warehouse system. The loader rejects any response that is not valid JSON matching a fixed set of fields, and about 4 percent of responses currently fail because the model adds commentary or changes field names. The company wants the most reliable way to obtain a predictable structure without post-processing hacks, and it wants the output to be machine-checkable against the expected fields. Which approach best meets this?
Correct Answer: BExplanationThis item tests guiding Claude to produce structured, predictable outputs. Forcing a call to a tool with a JSON input schema makes the response conform to a declared structure, and the application reads the structured input from the tool_use block rather than parsing free text. Option A is still advisory and retains the failure mode. Option C depends on fragile text parsing that the company has said it wants to avoid. Option D improves imitation but does not enforce schema conformance. The forced tool call is the only option that makes structure enforceable at the interface.
-
11 Question 11 Single choice Prompt Engineering & Structured Output
A customer-support team uses Claude to route incoming tickets into six queues: billing, login, outage, feature_request, data_privacy, and other. Routing accuracy is poor because tickets about account lockouts after a billing change are sent to billing, and privacy requests written casually are sent to other. The team needs the prompt to produce only queue labels from the fixed list and to resolve these boundary cases consistently. Which prompt revision is most effective?
Correct Answer: DExplanationThis item tests refining prompt techniques to reduce ambiguity. Explicit definitions with inclusion and exclusion criteria, together with worked boundary examples, remove the ambiguity behind the misroutes described in the stem. Constraining the output to one label from the fixed list makes results predictable and easy to validate. Option A adds a persona without resolving category boundaries. Option B increases randomness and works against consistency. Option C accepts a label after free reasoning and does not constrain the output format, so the final answer may be unparseable or inconsistent.
-
12 Question 12 Single choice Tool Design & MCP Integration
A company built a tool named lookup_customer that returns the complete customer record, including full order history, all address versions, and internal notes. Records average 60 KB of JSON. An agent answering routine questions such as the status of the latest order frequently misses the relevant field, runs out of useful context within a few turns, and produces slow responses. The security team also requires that internal notes are not sent to the model unless a support agent has a specific need. What is the best change to the tool design?
Correct Answer: CExplanationThis item tests building tools Claude can use effectively. Well-designed tools accept focused parameters and return concise, relevant results, which reduces context pressure and improves accuracy. Excluding internal notes from the default response respects the security requirement by limiting exposure rather than relying on instructions. Option A does not address the input size. Option B still places sensitive data in context and relies on advisory instructions. Option D gives the model broad query access, which conflicts with the least-exposure requirement and invites errors.
-
13 Question 13 Multiple choice Tool Design & MCP Integration
A software company is building an internal MCP server that exposes its ticketing system to Claude Code. Engineers across several projects will connect to it, and the security team requires that no API token appears in version-controlled files and that the server's access is limited to what the workflows need. The team also wants Claude to choose the right tool reliably. Which three design choices best meet these requirements? (Choose three.)
Correct Answer: A, B, CExplanationThis item covers integrating external systems via MCP and ensuring smooth communication between Claude and connected tools. Option A keeps the token out of version control by referencing an environment variable from a project-scoped configuration. Option B applies least privilege to both the token and the exposed tools. Option C gives Claude the names, descriptions, and typed schemas it needs to select and call tools correctly. Option D commits a credential to the repository and grants broad shared access. Option E is a generic passthrough that obscures intent, weakens validation, and expands the attack surface.
These are 13 of the 156 questions in the full CCAR-F pack.
Get All 156 QuestionsGet all 156 questions & answers
Full access options for Anthropic CCAR-F
Self-study
PDF Version
- 156 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 156 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 156 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the CCAR-F Exam (Claude Certified Architect - Foundations) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.