Anthropic CCAR-F - Claude Certified Architect - Foundations Exam
Page: 1 / 28
Total 137 questions
Question #1 (Topic: Exam A)
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?
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?
A. 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.
B. 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.
C. Single comprehensive prompt – include all instructions in one prompt and let the model handle all three aspects simultaneously.
D. Routing – classify each PR by type (feature, bugfix, refactor) first, then route to different review prompts optimized for that category.
Answer: B
Question #2 (Topic: Exam A)
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 extraction system processes two document types: standard monthly reports (archived after processing) and urgent exception reports (must trigger business alerts within 30 minutes of receipt). Both use the same JSON schema. You want to minimize API costs while meeting latency requirements.
How should you architect the processing pipeline?
Your extraction system processes two document types: standard monthly reports (archived after processing) and urgent exception reports (must trigger business alerts within 30 minutes of receipt). Both use the same JSON schema. You want to minimize API costs while meeting latency requirements.
How should you architect the processing pipeline?
A. Submit all documents to the real-time Messages API to ensure consistent processing latency across document types.
B. Submit all documents to the Batch API with custom _ids for tracking. When results arrive, immediately process urgent documents and trigger delayed alerts for exceptions.
C. Route standard reports to the Batch API for 50% cost savings, and route urgent exception reports to the real-time Messages API.
D. Queue all documents and submit hourly batches, flagging urgent documents for expedited handling when batch results return.
Answer: C
Question #3 (Topic: Exam A)
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.
In production, you observe that simple fact-checking queries (e.g., “What year was the Paris Climate Agreement signed?”) traverse all four subagents sequentially, consuming 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’s the most effective approach to optimize for varying query complexity?
In production, you observe that simple fact-checking queries (e.g., “What year was the Paris Climate Agreement signed?”) traverse all four subagents sequentially, consuming 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’s the most effective approach to optimize for varying query complexity?
A. Have the coordinator analyze each query and dynamically decide which subagents to invoke based on its assessment of query requirements.
B. Implement pattern-based routing that categorizes queries by structure (single-fact vs. comparative vs. analytical) and maps each category to a predefined subagent combination.
C. Create a fast-path for factual questions that bypasses subagents entirely, routing all other queries through the complete pipeline to ensure research thoroughness.
D. Train a query complexity classifier on labeled historical data to predict optimal subagent combinations, retraining periodically as query patterns evolve.
Answer: A
Question #4 (Topic: Exam A)
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 the research phase takes longer than expected. Analysis reveals the coordinator invokes the web search subagent, waits for its response, then invokes the document analysis subagent and waits again. These tasks are independent – neither requires the other’s output.
How should you modify the system to run these subagents concurrently?
Production monitoring shows the research phase takes longer than expected. Analysis reveals the coordinator invokes the web search subagent, waits for its response, then invokes the document analysis subagent and waits again. These tasks are independent – neither requires the other’s output.
How should you modify the system to run these subagents concurrently?
A. Add detailed instructions to the coordinator’s system prompt explaining the performance benefits of parallel execution and requesting it invoke both subagents at the same time.
B. Switch both subagents to use a Haiku-tier model instead of Sonnet to reduce their individual execution time.
C. Structure the coordinator to emit both Task tool calls (for web search and document analysis) in a single response message rather than across separate conversation turns.
D. Create an async orchestration layer outside the agent that spawns parallel threads, each running a separate coordinator-subagent pair, then aggregates results.
Answer: C
Question #5 (Topic: Exam A)
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.
A user is expanding the research system beyond its single web search agent by adding specialized data sources. They add a financial API agent that returns structured JSON with revenue, margins, and growth rates; a news monitoring agent that returns prose summaries of recent developments; and a patent analysis agent that returns structured lists of technology areas. The synthesis agent combines these into executive briefings. Currently, it converts everything to bullet points, causing financial comparisons to lose tabular clarity and news summaries to lose narrative flow.
What change would most improve briefing quality?
A user is expanding the research system beyond its single web search agent by adding specialized data sources. They add a financial API agent that returns structured JSON with revenue, margins, and growth rates; a news monitoring agent that returns prose summaries of recent developments; and a patent analysis agent that returns structured lists of technology areas. The synthesis agent combines these into executive briefings. Currently, it converts everything to bullet points, causing financial comparisons to lose tabular clarity and news summaries to lose narrative flow.
What change would most improve briefing quality?
A. Update the synthesis agent to render each content type appropriately – financial data as tables, news as prose
B. Add a format conversion layer between subagents and synthesis that transforms all outputs to a common intermediate representation
C. Standardize all subagent outputs to JSON with fields for ‘claim’, ‘evidence’, ‘source’, and ‘confidence’
D. Standardize all subagent outputs to prose summaries with inline citations
Answer: A