Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Anthropic CCAR-F Practice Exam with Questions & Answers | Set: 2

Questions 11

After deploying automated code review, developers report that approximately 35% of flagged findings are false positives falling into consistent patterns: style suggestions contradicting team conventions, security warnings for patterns that are safe in your deployment context, and performance suggestions that would degrade your specific use case. You want to reduce false positives while maintaining the ability to catch genuine issues. Which approach best enables the model to generalize its judgment to novel code patterns it has not seen before?

Options:
A.

Implement post-processing that uses keyword matching to filter out findings containing terms such as “convention,” “context-dependent,” or “trade-off.”

B.

Include few-shot examples in your prompt showing annotated code snippets that distinguish acceptable patterns from genuine issues in each category.

C.

Create a comprehensive written specification of all patterns that should not be flagged, and then include the full documentation in the system prompt.

D.

Add instructions to your system prompt to “be conservative,” “only flag definite issues,” and “consider that some patterns may be intentional.”

Anthropic CCAR-F Premium Access
Questions 12

A customer sends: “This is frustrating. I’ve explained my issue twice and nothing is being resolved. I want to talk to a real person NOW.” The agent has not yet called any tools to investigate the customer’s account. What should the agent do?

Options:
A.

Briefly explain what the agent can help with and offer to resolve the issue quickly, escalating only if the customer repeats the request.

B.

First call get_customer and lookup_order to gather account context, and then escalate to a human agent.

C.

Immediately call escalate_to_human with the conversation history.

D.

Acknowledge the frustration and ask one targeted question to understand the specific issue before escalating.

Questions 13

Your code-review prompts include both implementation changes and the corresponding test file, but the review comments fail to identify untested code paths. The model correctly flags functions that have no tests at all, but it fails to recognize when conditional branches or error-handling paths within tested functions lack coverage. What is the most effective way to improve branch-level gap detection without overcomplicating the pipeline?

Options:
A.

Interleave the implementation and tests in the prompt, presenting each function immediately before its test cases.

B.

Add explicit instructions requiring Claude to enumerate every conditional branch and exception path, then verify that each path has a corresponding test assertion.

C.

Implement a two-pass pipeline in which one model call extracts all conditional branches and another cross-references them against test assertions.

D.

Include few-shot examples showing code with an uncovered branch and the corresponding review comment identifying the missing test case.

Questions 14

You are building developer productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.

You’ve configured your Claude agent with three MCP servers: one for git operations, one for Jira ticket management, and one for documentation search.

When a user asks the agent to “create a branch for JIRA-123 and add documentation links to the ticket,” how does the agent access tools across these servers?

Options:
A.

Tools from all configured MCP servers are discovered at connection time and available simultaneously to the agent.

B.

The agent queries each server sequentially to determine which handles each tool, routing calls based on tool name prefixes.

C.

The agent automatically selects the most relevant server based on the request and loads only that server’s tools.

D.

You must specify which MCP server to use for each turn, and the agent can only access one server’s tools at a time.

Questions 15

You are building developer productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.

Your code review assistant needs to analyze pull requests and provide feedback on three aspects: code style compliance, potential security issues, and documentation completeness. Each aspect requires reading files, running analysis tools, and generating a report section. The review process follows the same three-step workflow for every PR.

Which task decomposition pattern is most appropriate for this workflow?

Options:
A.

Single comprehensive prompt—include all three instructions in one prompt and let the model handle all three aspects simultaneously.

B.

Orchestrator-workers—have a central LLM analyze each PR to dynamically determine which checks are needed, then delegate to specialized worker LLMs for each identified subtask.

C.

Prompt chaining—break the review into sequential steps where each aspect (style, security, documentation) is analyzed separately, with outputs combined in a final synthesis step.

D.

Routing—classify each PR by type (feature, bugfix, refactor) first, then route to different review prompts optimized for that category.

Questions 16

You are building a multi-agent research system using the Claude Agent SDK. A coordinator agent delegates to specialized subagents: one searches the web, one analyzes documents, one synthesizes findings, and one generates reports. The system researches topics and produces comprehensive, cited reports.

Production monitoring shows that the research phase takes longer than expected. Analysis reveals that the coordinator invokes the web-search subagent, waits for its response, and then invokes the document-analysis subagent. These tasks are independent; neither requires the other’s output.

How should you modify the system to run these subagents concurrently?

Options:
A.

Switch both subagents to a Haiku-tier model instead of Sonnet to reduce their individual execution times.

B.

Structure the coordinator to emit both Agent tool calls—formerly Task tool calls—in a single response rather than across separate conversation turns.

C.

Add instructions explaining the performance benefits of parallel execution and requesting that the coordinator invoke both subagents simultaneously.

D.

Create an asynchronous orchestration layer that starts separate coordinator-subagent pairs in parallel and aggregates their results.

Questions 17

You are building developer productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.

An engineer asks your agent to identify untested code paths in a legacy payment processing module spanning 45 files. After reading the first 8 source files, the agent’s responses are becoming noticeably less accurate—it’s forgetting previously discussed code patterns and hasn’t yet located all test files or traced critical payment flows.

What’s the most effective approach to complete this investigation?

Options:
A.

Spawn subagents to investigate specific questions (e.g., “find all test files for payment processing,” “trace refund flow dependencies”) while the main agent coordinates findings and preserves high-level understanding.

B.

Clear context with /clear , then selectively re-read only the most critical files discovered so far, writing key findings to a scratchpad file that persists between context resets.

C.

Switch to using Grep to search for specific function names instead of reading full files, reducing the content loaded into context for remaining exploration.

D.

Document all current findings in a summary report, clear context completely, then use that report as the sole reference for continuing the investigation.

Questions 18

You are building a multi-agent research system using the Claude Agent SDK. A coordinator agent delegates to specialized subagents: one searches the web, one analyzes documents, one synthesizes findings, and one generates reports. The system researches topics and produces comprehensive, cited reports.

After the web-search and document-analysis subagents complete their tasks, the coordinator needs to spawn the synthesis subagent to synthesize the findings.

What is the correct approach for providing the synthesis subagent with the information it needs?

Options:
A.

Provide the subagent with tool definitions that allow it to request outputs from other subagents through callbacks.

B.

Include the complete findings from both subagents directly in the synthesis subagent’s prompt.

C.

Spawn the subagent with only a brief task description, relying on automatic context inheritance from the coordinator.

D.

Pass reference identifiers and configure the subagent with read access to a shared memory store where the other subagents deposited their results.

Questions 19

In production, you observe that simple fact-checking queries—for example, “What year was the Paris Climate Agreement signed?”—traverse all four subagents sequentially, consuming more than 40 seconds and significant tokens per query. Complex comparative research benefits from the full pipeline. Your query distribution is diverse and evolving as users discover new applications. What is the most effective approach to optimize for varying query complexity?

Options:
A.

Create a fast path for factual questions that bypasses subagents entirely, routing all other queries through the complete pipeline to ensure research thoroughness.

B.

Train a query-complexity classifier on labeled historical data to predict optimal subagent combinations, retraining it periodically as query patterns evolve.

C.

Have the coordinator analyze each query and dynamically decide which subagents to invoke based on its assessment of the query requirements.

D.

Implement pattern-based routing that categorizes queries by structure—single-fact, comparative, or analytical—and maps each category to a predefined subagent combination.

Questions 20

You are building a structured data extraction system using Claude. The system extracts information from unstructured documents, validates the output using JavaScript Object Notation (JSON) schemas, and maintains high accuracy. It must handle edge cases gracefully and integrate with downstream systems.

Your system has been running for 3 weeks and human reviewers have corrected 847 extractions. Analysis reveals a recurring pattern: when recipes use informal measurements like “a handful” or “a splash,” the model either invents specific amounts or leaves fields empty—accounting for 23% of all corrections.

How should you use this feedback to improve extraction accuracy?

Options:
A.

Fine-tune the model on the 847 corrected extractions.

B.

Add few-shot examples to your prompt demonstrating correct handling of informal measurements—extracting them verbatim rather than converting or omitting them.

C.

Implement a post-processing layer that uses pattern matching to detect informal measurement phrases in source text and automatically populate values when the extraction is empty.

D.

Update your JSON schema to add a “measurement_type” enum field (precise/informal).

Exam Code: CCAR-F
Certification Provider: Anthropic
Exam Name: Claude Certified Architect – Foundations
Last Update: Aug 26, 2026
Questions: 152