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 3 out of 5 pages
Viewing questions 21-30 out of questions
Questions # 21:

In production, final reports frequently contain claims without proper source attribution. Investigation shows that the web-search and document-analysis agents correctly attach citations to their outputs, but the synthesis agent loses track of which sources support which conclusions when combining findings. What is the most effective architectural change?

Options:

A.

Add a verification step in which the report generator uses semantic-similarity matching against the original sources to reconstruct claim provenance.


B.

Have the coordinator insert source-identifier prefixes into prose before every handoff and parse those prefixes during report generation.


C.

Require every subagent to return structured claim-to-source mappings that the synthesis agent must preserve and merge when combining findings.


D.

Retain complete transcripts of every subagent interaction and add a citation-resolution agent that analyzes those logs before report generation.


Expert Solution
Questions # 22:

You are integrating Claude Code into your Continuous Integration/Continuous Deployment (CI/CD) pipeline. The system runs automated code reviews, generates test cases, and provides feedback on pull requests. You need to design prompts that provide actionable feedback and minimize false positives.

Your pipeline includes a release-notes generation step that classifies and summarizes approximately 200 commits at the end of each weekly release cycle. Each commit is currently sent as a separate Messages API request using a Sonnet-tier Claude model. The release notes are not needed until the following morning, providing approximately 12 hours of acceptable latency.

Your team must reduce the per-token API cost while retaining the same model, prompts, and output quality.

Which approach satisfies all these constraints?

Options:

A.

Issue the 200 Messages API requests concurrently because parallel execution reduces the per-token price.


B.

Submit the 200 requests through the Message Batches API with unique custom_id values and retrieve the results after the batch finishes.


C.

Concatenate all 200 commit messages into one Messages API request because reducing the number of requests always reduces token costs.


D.

Replace the Sonnet-tier model with a Haiku-tier model to obtain a lower per-token price.


Expert Solution
Questions # 23:

You are integrating Claude Code into your Continuous Integration/Continuous Deployment (CI/CD) pipeline. The system runs automated code reviews, generates test cases, and provides feedback on pull requests. You need to design prompts that provide actionable feedback and minimize false positives.

In addition to your CI pipeline, your organization has enabled Claude’s managed Code Review through the Claude GitHub App on this repository, and reviews run automatically on every pull request. Reviews average 18 findings per pull request. Developer feedback reveals three categories of unwanted noise: (1) style and formatting issues already enforced by your linter in CI, (2) findings on automatically generated template code under src/gen/, and (3) rendering-helper patterns that are intentional project conventions but get flagged because they resemble common anti-patterns. Only approximately four findings per pull request are genuine logic bugs.

What is the most effective way to reduce this noise while preserving the detection of genuine issues?

Options:

A.

Create a REVIEW.md file at the repository root containing skip rules for CI-enforced checks and generated files, together with a verification requirement that rendering-related findings cite a specific line demonstrating incorrect behavior.


B.

Add custom review instructions to a GitHub Actions workflow file, using the action’s prompt parameter to suppress duplicate lint findings, ignore generated template code, and apply stricter evidence requirements to rendering-related issues.


C.

Add detailed explanations to the project’s CLAUDE.md describing which patterns are intentional, that linting is handled separately by CI, and that the src/gen/ directory contains automatically generated template code.


Expert Solution
Questions # 24:

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 the agent to find all callers of a function before removing it. The function is defined in a core library but is also exposed through wrapper modules that rename the function for domain-specific use (e.g., calculateTax in the library becomes computeOrderTax in the orders module).

What exploration strategy will most reliably identify all callers?

Options:

A.

Use Grep to find all files that import from the library or wrapper modules, then read each file to check whether it uses the function.


B.

Use Grep to search for the function’s original name across the codebase.


C.

Read the library and wrapper modules to identify all exposed names for the function, then Grep for each name across the codebase.


D.

Search for the function name in project documentation to understand intended usage patterns and navigate to documented integration points.


Expert Solution
Questions # 25:

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 who recently joined the team asks the agent to explain the authentication and authorization architecture before making security improvements. The codebase contains more than 800 files across multiple services.

What exploration strategy will most effectively build understanding while respecting context limits?

Options:

A.

Launch parallel subagents to explore every service simultaneously, and then synthesize their findings into an architectural overview.


B.

Read all files containing auth , login , permission , or token in their filenames or contents.


C.

Read all CLAUDE.md and README files first, and then ask the engineer to identify the 10–15 most important authentication files.


D.

Use Grep to locate authentication entry points, read those files, and then follow imports and function calls incrementally to map the authentication flow.


Expert Solution
Questions # 26:

Users report that final reports sometimes lack depth on specific subtopics. Investigation shows that the document-analysis agent frequently identifies evidence gaps—for example, noting that “the retrieved sources discuss API authentication but lack details about token-refresh patterns.” Under the current strict pipeline, this insight is not actionable because searching has already finished. What is the most effective architectural change?

Options:

A.

Add a research-planning agent before the initial search phase to decompose every topic into detailed subquestions.


B.

Have the synthesis agent assign confidence scores to each report section and flag insufficiently supported sections for manual review.


C.

Require the analysis agent to return specific evidence gaps to the coordinator, which launches targeted searches and invokes analysis again until the defined coverage criteria are satisfied.


D.

Have the coordinator look for general gap indicators in the analysis output and run additional searches without repeating the analysis stage.


Expert Solution
Questions # 27:

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.

A developer asks the agent to investigate why a specific API endpoint intermittently returns 500 errors. The codebase has 200+ files and the developer doesn’t know which components are involved. The agent must trace the error through routing, middleware, business logic, and database layers.

What task decomposition approach would be most effective?

Options:

A.

Have the agent first create a comprehensive plan mapping all code paths through the endpoint before beginning any file exploration or code reading.


B.

Define a fixed sequence of investigation steps upfront—grep for error patterns, then read error handlers, then check database queries, then examine middleware—executing each step regardless of intermediate findings.


C.

Run parallel worker agents that simultaneously investigate all four layers, then synthesize their findings to identify where the error originates.


D.

Have the agent dynamically generate investigation subtasks based on what it discovers at each step, adapting its exploration plan as new information about the error path emerges.


Expert Solution
Questions # 28:

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 invoice extraction uses tool use with strict JSON schemas. JSON syntax errors never occur, but 12% of extractions fail semantic validation—for example, line-item amounts do not sum to the extracted total, or vendor IDs do not match valid formats. These failures currently route to manual review.

What is the most effective approach to reduce manual-review volume while maintaining accuracy?

Options:

A.

Implement post-processing logic that automatically corrects common errors, such as recalculating totals from line items when sums do not match.


B.

When validation fails, make a follow-up request containing the document, extraction, and validation errors so the model can correct the result.


C.

Retry the extraction up to three times when validation fails, accepting the first result that passes validation.


D.

Add stricter schema constraints with detailed field descriptions to prevent the model from initially generating invalid values.


Expert Solution
Questions # 29:

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.

A customer contacts the agent about a warranty claim on a power drill. Resolving this requires multiple sequential tool calls: get_customer to look up their account, lookup_order to find the purchase details, and then either process_refund or escalate_to_human depending on warranty eligibility. You’re implementing the agentic loop that orchestrates these steps using the Claude API.

What is the primary mechanism your application uses to determine whether to continue the loop or stop?

Options:

A.

You check whether Claude’s response contains a text content block—if text is present, the agent has produced its final answer and the loop should exit.


B.

You manually set the tool_choice parameter to " none " after the final expected tool call to force Claude to stop requesting tools.


C.

You check the stop_reason field in each API response—the loop continues while it equals " tool_use " and exits when it changes to " end_turn " or another terminal value.


D.

You track the number of tool calls made and exit the loop once a preconfigured maximum is reached.


Expert Solution
Questions # 30:

Your automated code review is missing genuine bugs in pull requests. Investigation reveals that the review prompt includes this instruction: “Only flag critical issues that would definitely cause production failures. Ignore minor concerns and anything you are uncertain about.” Developers confirm that some missed findings are genuine logic errors that the model investigated but chose not to report. The team requires the review output to remain structured, with every finding tagged with metadata, and actionable. Which prompt change both removes the cause of the suppressed findings and preserves structured, tagged output for downstream filtering?

Options:

A.

Enable extended thinking and instruct the model to reason step by step about every code change before producing its review.


B.

Instruct the model to report all findings with confidence and severity tags, deferring filtering to a downstream step.


C.

Remove all severity-related instructions and allow the model to use its default judgment about which findings to report.


D.

Add a second review pass that rereads the diff using the same prompt and looks for anything the first pass may have missed.


Expert Solution
Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions