Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Anthropic Claude Certified Architect CCAR-F Questions and answers with CertsForce

Viewing page 2 out of 5 pages
Viewing questions 11-20 out of questions
Questions # 11:

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, and Glob—and integrates with Model Context Protocol (MCP) servers.

An engineer asks the agent to find every file in a monorepo that imports the @company/auth package to understand how authentication is used across services.

Which built-in tool is most appropriate for this task?

Options:

A.

Read, beginning with package.json files to trace dependency declarations.


B.

Glob, to find files containing auth in their filename or path.


C.

Grep, to search file contents for the import-statement pattern.


D.

Bash, to execute find . -type d -name " *auth* " and explore matching directories.


Expert Solution
Questions # 12:

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 pipeline processes invoices and extracts line items, subtotals, tax amounts, and grand totals. During evaluation, you discover that in 18% of extractions, the sum of extracted line item amounts doesn’t match the extracted grand total—sometimes due to OCR errors in the source document, sometimes due to extraction mistakes by the model. Downstream accounting systems reject records with mismatched totals.

What’s the most effective approach to improve extraction reliability?

Options:

A.

Add few-shot examples demonstrating invoices where extracted line items sum correctly to the stated total, encouraging the model to produce mathematically consistent extractions.


B.

Extract line items and totals independently, then use a separate validation model to reconcile discrepancies by determining which extracted values are most likely correct.


C.

Implement post-processing that automatically adjusts line item amounts proportionally when their sum doesn’t match the stated total.


D.

Add a “calculated_total” field where the model sums extracted line items alongside a “stated_total” field. Flag records for human review when values differ.


Expert Solution
Questions # 13:

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.


Expert Solution
Questions # 14:

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 follow-up queries such as “summarize what we learned about market trends” consistently take more than 40 seconds. Investigation reveals that the coordinator spawns the synthesis subagent for each summarization request, passing more than 80,000 tokens of accumulated findings. The coordinator already has these findings in its context from orchestrating the research.

What is the most effective way to improve response time for these follow-up summaries?

Options:

A.

Spawn the synthesis subagent with reduced context and have it request specific findings from the coordinator on demand.


B.

Have the coordinator handle straightforward summarization requests directly using its existing context, reserving subagent spawning for complex analysis.


C.

Pre-generate and cache summaries at multiple granularities whenever new findings accumulate.


D.

Enable prompt caching on the synthesis subagent to reduce the overhead of repeatedly transferring the same research findings.


Expert Solution
Questions # 15:

You are building a customer support resolution agent using the Claude Agent SDK. The agent handles high-ambiguity requests like returns, billing disputes, and account issues. It has access to your backend systems through custom Model Context Protocol (MCP) tools ( get_customer , lookup_order , process_refund , escalate_to_human ). Your target is 80%+ first-contact resolution while knowing when to escalate.

When the agent calls lookup_order and receives order details showing the item was purchased 45 days ago, how does the agentic loop determine whether to call process_refund or escalate_to_human next?

Options:

A.

The order details are added to the conversation and the model reasons about which action to take.


B.

The orchestration layer automatically routes to the next tool based on the order’s status field.


C.

The agent follows a pre-configured decision tree mapping order attributes to specific tool calls.


D.

The agent executes the remaining steps in a tool sequence planned at the start of the request.


Expert Solution
Questions # 16:

You are using Claude Code to accelerate software development. Your team uses it for code generation, refactoring, debugging, and documentation. You need to integrate it into your development workflow with custom slash commands, CLAUDE.md configurations, and understand when to use plan mode vs direct execution.

Your team is configuring MCP servers in Claude Code. You want to add a shared venue lookup server that all team members should have access to, and you personally want to add an experimental music playlist server that only you are testing.

Which configuration approach correctly applies MCP server scopes?

Options:

A.

Add both servers to your local ~/.claude.json .


B.

Add the venue server to .mcp.json and the playlist server to ~/.claude.json .


C.

Add the venue server to ~/.claude.json and the playlist server to .mcp.json .


D.

Add both servers to the project-level .mcp.json file.


Expert Solution
Questions # 17:

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 must extract event details from calendar invitations and output JSON that strictly conforms to a schema with fields for title, date, time, location, and attendees. Downstream systems reject any malformed or non-conformant JSON.

What approach provides the most reliable schema compliance?

Options:

A.

Pre-fill Claude’s response with an opening brace to force JSON output, then complete and parse the response.


B.

Append instructions like “Output only valid JSON matching the schema exactly” and implement retry logic to re-prompt when JSON parsing fails.


C.

Define a tool with your target schema as input parameters and have Claude call it with the extracted data.


D.

Include detailed JSON formatting instructions and the target schema in your prompt, then parse Claude’s text response as JSON.


Expert Solution
Questions # 18:

The automated review consistently flags patterns your team uses intentionally—force-unwrapping optionals in test files, using large coordinator classes that follow your established architecture, and importing internally maintained modules marked as deprecated in the public SDK. Developers are dismissing approximately 30% of all findings as project-specific false positives. Which approach prevents the model from generating these findings in the first place by supplying the project’s conventions as persistent context during every review?

Options:

A.

Build post-processing keyword filters that suppress findings containing terms such as “force unwrap,” “large class,” or “deprecated import” before results reach developers.


B.

Configure the review to analyze only the changed lines in the diff without surrounding file context, reducing the amount of code the model evaluates during each review.


C.

Have developers add inline suppression comments at flagged lines and preprocess diffs to exclude suppressed lines before sending code to the model.


D.

Document the team’s accepted patterns and intentional conventions in the project’s CLAUDE.md file so the model receives this context during every review.


Expert Solution
Questions # 19:

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

Your extraction system parses e-commerce product descriptions to extract specifications such as dimensions, weight, and materials into JSON. Despite having a well-defined schema, the model inconsistently extracts the materials field—sometimes returning “cotton blend,” other times “Cotton/Polyester mix,” and occasionally omitting the field when material information is clearly present in the source.

What is the most effective way to improve extraction consistency?

Options:

A.

Set the temperature to 0 to eliminate randomness and ensure deterministic outputs.


B.

Switch to a more capable model tier because inconsistent extraction indicates insufficient model capability.


C.

Make the materials field required instead of optional in the schema to force the model to always extract a value.


D.

Add few-shot examples showing two or three complete input-output pairs with standardized material-description formats.


Expert Solution
Questions # 20:

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 agent has analyzed a complex service module—reading 23 source files, tracing request flows, and identifying error handling patterns. A developer wants to compare two testing strategies before committing to one: end-to-end tests with mocked external services vs. snapshot tests capturing expected outputs. They need to independently develop both approaches to evaluate trade-offs.

How should you manage the sessions?

Options:

A.

Resume the analysis session with fork_session enabled, creating a separate branch for each testing strategy.


B.

Start two fresh sessions, having each re-read the relevant source files before beginning.


C.

Continue in the original session, developing end-to-end tests first, then snapshot tests sequentially.


D.

Export the analysis session’s key findings to a file, then create two new sessions that reference this file.


Expert Solution
Viewing page 2 out of 5 pages
Viewing questions 11-20 out of questions