Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

CCAR-F Claude Certified Architect – Foundations Questions and Answers

Questions 4

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 implements automatic retries when validation fails. On each retry, the specific validation error is appended to the prompt. This retry-with-error-feedback approach resolves most failures within 2–3 attempts.

For which failure pattern would additional retries be LEAST effective?

Options:

A.

The model extracts keywords as a nested object organized by category when the schema requires a flat array of strings.

B.

The model extracts “et al.” for co-authors when the full list exists only in an external document not in the input.

C.

The model extracts citation counts as locale-formatted strings (“1,234”) when the schema requires integers.

D.

The model extracts dates as ISO 8601 datetime strings (“2023-03-15T00:00:00Z”) when the schema requires only the date portion (YYYY-MM-DD).

Buy Now
Questions 5

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 operating with 100% human review for 3 months. Analysis shows that extractions with model confidence ≥90% have 97% accuracy overall. To reduce reviewer workload, you plan to automate high-confidence extractions.

Before deploying, what validation step is most critical?

Options:

A.

Analyze accuracy by document type and field to verify high-confidence extractions perform consistently across all segments, not just in aggregate.

B.

Compare accuracy at different confidence thresholds (85%, 90%, 95%) to find the optimal cutoff that maximizes automation while minimizing errors.

C.

Verify that 97% accuracy meets requirements for all downstream systems that consume the extracted data.

D.

Run a two-week pilot routing 25% of high-confidence extractions directly to downstream systems and monitor error reports.

Buy Now
Questions 6

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.

Production logs show that when the agent handles complex billing disputes requiring 6+ tool calls, it sometimes exhausts its max_turns limit after gathering data but before completing resolution or escalating. The team’s goal is to guarantee that every customer interaction ends with either a completed resolution or a human handoff, regardless of how the agent loop terminates.

Which approach achieves this guarantee?

Options:

A.

Implement a pre-tool-use hook that counts tool invocations and terminates the loop with an automatic escalation once the agent reaches 80% of its max_turns limit.

B.

Split the workflow into two sequential agent invocations—a first agent gathers information via get_customer and lookup_order, then a second agent receives that data and handles process_refund or escalate_to_human, each with separate turn budgets.

C.

Add orchestration-layer code that checks the agent’s outcome after each loop termination—if the loop ended without a completed resolution or escalation, programmatically call escalate_to_human with the accumulated conversation context and tool results.

D.

Add system prompt instructions telling the agent to call escalate_to_human with a summary of its findings whenever it determines it cannot complete resolution within its remaining actions.

Buy Now
Questions 7

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 extracts event metadata (date, location, organizer, attendee_count) from news articles using a JSON schema with all nullable fields. During evaluation, you observe the model frequently generates plausible but incorrect values for fields not mentioned in the article—for example, outputting “500” for attendee_count when the source contains no attendance information.

What’s the most effective way to reduce these false extractions?

Options:

A.

Upgrade to a more capable model tier with improved instruction-following to reduce hallucination tendencies.

B.

Make all schema fields required (non-nullable) with strict validation rules to ensure the model only outputs verifiable data.

C.

Add prompt instructions to return null for any field where information is not directly stated in the source.

D.

Add a post-processing step using a second LLM call to verify each extracted value exists in the source document.

Buy Now
Questions 8

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.

Buy Now
Questions 9

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.

Buy Now
Questions 10

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.

Your agent is handling a billing dispute. After calling get_customer and lookup_order , it identifies that the dispute involves a promotional pricing error requiring manager approval—beyond the agent’s authorization level.

How should the workflow handle this mid-process escalation?

Options:

A.

Call escalate_to_human , passing only the customer’s original message.

B.

Compile a structured handoff with customer details, order info, and the identified issue before calling escalate_to_human .

C.

Attempt the refund with process_refund anyway, escalating only if the system rejects the transaction.

D.

Persist the complete conversation and tool response history to a database, then call escalate_to_human with a reference ID.

Buy Now
Questions 11

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).

Buy Now
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 contracts that frequently include amendments. When a contract contains both original terms and later amendments (e.g., original clause specifies “30-day payment terms” while Amendment 1 changes this to “45 days”), the model inconsistently extracts one value or the other with no indication of which applies.

What’s the most effective approach to improve extraction accuracy for documents with amendments?

Options:

A.

Preprocess documents with a classifier that identifies and removes superseded sections before the main extraction step.

B.

Redesign the schema so amended fields capture multiple values, each with source location and effective date.

C.

Add prompt instructions to always extract the most recent amendment value and ignore superseded original terms.

D.

Implement post-extraction validation using pattern matching to detect amendments and flag those extractions for manual review.

Buy Now
Questions 13

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.

The system routes documents with extraction confidence below 85% to human review. A quarterly audit reveals that 12% of high-confidence extractions (≥85%) also contain errors—cases where the model finds plausible-but-incorrect values. Error sources vary: comparison tables showing competitor specs, appendices referencing different product variants, and ambiguous phrasing the model misinterprets. You need a sustainable strategy to catch these high-confidence errors and measure whether improvements reduce the error rate over time.

What approach is most effective?

Options:

A.

Add a verification pass that re-extracts from each high-confidence document, flagging cases where the two extraction attempts produce different results.

B.

Implement heuristic rules that flag documents containing comparison tables or appendices for review regardless of confidence score.

C.

Lower the confidence threshold from 85% to 70%, routing a larger volume of extractions to human review.

D.

Implement stratified random sampling reviewing a fixed percentage of high-confidence extractions weekly, enabling error rate measurement and novel pattern detection.

Buy Now
Questions 14

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 restaurant menus and must output structured JSON with fields for item names, descriptions, prices, and dietary tags. Some menus use inconsistent formatting—prices as “$12” vs “12.00”, dietary info as icons vs text.

What’s the most reliable approach?

Options:

A.

Use separate extraction calls for each field to ensure consistent handling of each type.

B.

Define a strict output schema and include format normalization rules in your prompt.

C.

Request multiple extraction attempts per document and select the most common format.

D.

Extract data as-is and normalize formats in post-processing code after Claude returns.

Buy Now
Questions 15

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.

You’ve asked Claude Code to build a PDF report generation feature. The initial implementation queries the database correctly, but the output has formatting issues: table columns are too narrow causing content truncation, dates display without proper formatting, and page break handling is incorrect. You’ve noticed these issues interact—changing column widths affects how dates render, and page breaks depend on content height.

What’s the most effective approach for iterating toward a working solution?

Options:

A.

Start fresh with a detailed prompt specifying all formatting requirements upfront.

B.

Provide all three issues in a single detailed message with exact specifications for each, allowing Claude to address them together in one update.

C.

Address the column width issue first with specific measurements, verify it works, then fix date formatting within the corrected columns, then adjust page breaks—testing after each change.

D.

Show Claude an example of a correctly formatted report and ask it to match that output, rather than listing the specific technical issues.

Buy Now
Questions 16

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.

Testing reveals that when source documents are missing certain specifications, the model fabricates plausible-sounding values to satisfy your schema’s required fields. For example, a document mentioning only dimensions receives a fabricated “weight: 2.3 kg” in the extraction output.

What schema design change most effectively addresses this hallucination behavior?

Options:

A.

Add explicit instructions to the prompt stating “only extract information explicitly stated in the document; use placeholder text for missing values.”

B.

Change fields that may not exist in source documents from required to optional, allowing the model to omit them.

C.

Add a “confidence” field alongside each specification where the model self-reports its certainty, then filter out low-confidence extractions.

D.

Implement semantic validation that verifies each extracted value appears in or can be inferred from the source document text.

Buy Now
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.

The system needs to extract candidate information (name, contact details, skills, work experience, education) from uploaded resumes. The extracted data must strictly conform to a predefined JSON schema, as missing required fields or incorrect data types will cause downstream validation failures.

What is the most reliable approach to ensure Claude’s output consistently matches the schema?

Options:

A.

Parse Claude’s text response with regex patterns to extract JSON objects, using retry logic for malformed responses.

B.

Include detailed JSON formatting instructions and a template example in the system prompt, asking Claude to output only valid JSON.

C.

Make two separate API calls—first extracting information as text, then asking Claude to format that text as JSON.

D.

Define a tool with an input schema matching your required JSON structure and extract the data from Claude’s tool_use response.

Buy Now
Questions 18

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.

Your process_refund tool returns two types of errors: technical errors (“503 Service Unavailable”, “Connection timeout”) that are transient (~5% of calls), and business errors (“Order exceeds 30-day return window”, “Item already refunded”) that are permanent (~12% of calls). Monitoring shows the agent wastes 3–4 turns retrying business errors that can never succeed. Currently, both error types return only a plain text message to Claude.

What’s the most effective way to reduce wasted retries while improving customer-facing response quality?

Options:

A.

Implement automatic retry logic at the tool layer for technical errors only, passing business errors to Claude without retries.

B.

Add few-shot examples showing how to distinguish retriable from non-retriable errors by parsing error message text.

C.

Add a check_refund_eligibility tool that must be called before process_refund to prevent business rule violations.

D.

Return structured error responses with "retriable": false for business errors and a customer-friendly explanation for Claude to use.

Buy Now
Exam Code: CCAR-F
Exam Name: Claude Certified Architect – Foundations
Last Update: Jul 17, 2026
Questions: 60

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99