Summer Sale Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple75

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

Exam CCAR-F Premium Access

View all detail and faqs for the CCAR-F exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
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 schema includes a skills: string[] field. Production monitoring reveals three consistency issues: (1) compound phrases like “Python and SQL” are sometimes kept as one entry, sometimes split; (2) implied but unstated skills occasionally appear in extractions; (3) similar documents produce wildly different array lengths (5-10 vs 40+ entries). Your prompt currently says “Extract all skills mentioned.”

What’s the most effective improvement?

Options:

A.

Enrich the schema to {skill: string, confidence: float, source_quote: string}[] to capture extraction metadata.

B.

Add few-shot examples demonstrating compound phrase handling, explicit mention criteria, and appropriate entry granularity.

C.

Add constraints: “Extract 10-20 skills maximum, one skill per entry, only explicitly named skills.”

D.

Add post-extraction normalization that maps skills to a canonical taxonomy and deduplicates similar entries.

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.

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.

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 used the agent yesterday to analyze a legacy authentication module, identifying two distinct refactoring approaches: extracting a microservice versus refactoring in-place. Today, they want to explore both approaches in depth—having the agent propose specific code changes for each—before deciding which to implement.

What’s the most effective way to structure this exploration?

Options:

A.

Use fork_session to create two branches from yesterday’s analysis, exploring one approach in each fork.

B.

Resume yesterday’s session and explore both approaches sequentially within the same conversation thread.

C.

Resume yesterday’s session to explore the first approach, then start a new session for the second, manually recreating the original context.

D.

Start two fresh sessions, manually providing a summary of yesterday’s analysis findings to establish context.

Questions # 14:

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 frequently migrates React components to Vue. You’ve written a step-by-step workflow for Claude Code to follow during each migration, and you want every developer on the team to invoke it by typing /migrate-component . The workflow should stay in sync as the team iterates on it.

Where should you place the skill file?

Options:

A.

In ~/.claude/skills/migrate-component/SKILL.md on each developer’s machine.

B.

As a detailed instruction block in the project’s root CLAUDE.md file.

C.

In the project’s .claude/settings.json using a skillOverrides entry to register and define the workflow.

D.

In .claude/skills/migrate-component/SKILL.md at the project root, committed to version control.

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.

1.5An engineer asks the agent to understand how the caching layer works before adding a new cache invalidation trigger. After initial Grep searches, the agent has identified that caching logic spans 15 files including decorators, middleware, and service classes (~6,000 lines total).

What’s the most effective next step for building understanding while managing context constraints?

Options:

A.

Use Grep to search for “invalidate” and “expire” patterns across all files, then Read only those specific line ranges with minimal surrounding context.

B.

Use the Read tool to sequentially load all 15 files, building complete understanding across the full caching implementation.

C.

Use Glob to find files matching common caching patterns ( cache*.py , caching/ ), prioritize the largest files by reading them first, then check smaller files for gaps.

D.

Analyze imports and class hierarchies to identify the base cache class. Read that file to understand the interface, then trace specific invalidation implementations.

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.

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

Questions # 17:

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.

After expanding the agent’s MCP tools with delivery-specific capabilities (check_delivery_status, contact_driver, issue_credit, apply_promo_code, update_delivery_address, reschedule_delivery), the total tool count has grown from 4 to 10. Your evaluation suite shows tool selection accuracy has dropped from 88% to 71%. Log analysis reveals the majority of errors involve the agent selecting between semantically overlapping tools—calling issue_credit when process_refund was correct, and calling check_delivery_status when lookup_order already returns the needed data.

Which approach structurally eliminates the semantic overlap identified in the logs as the error source?

Options:

A.

Split the tools across two sub-agents—a “financial resolution” agent with process_refund, issue_credit, and apply_promo_code, and a “delivery operations” agent with the remaining delivery tools—with a coordinator routing between them.

B.

Consolidate semantically overlapping tools—merge issue_credit and process_refund into a single resolve_compensation tool with an action parameter, and fold check_delivery_status into lookup_order with an optional include_tracking flag.

C.

Enable the tool search tool with defer_loading on the six new tools, keeping the original four always loaded, so the agent dynamically discovers specialized tools only when needed.

D.

Add few-shot examples to the system prompt demonstrating correct selection for each ambiguous tool pair, such as showing when issue_credit applies versus when process_refund is appropriate.

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.

A customer raises three separate issues during one session: a refund inquiry (turns 1–15), a subscription question (turns 16–30), and a payment method update (turns 31–45). At turn 48, the customer asks “What happened with my refund?” The conversation is approaching context limits.

What strategy best maintains the agent’s ability to address all issues throughout the session?

Options:

A.

Summarize earlier turns into a narrative description, preserving full message history only for the active issue.

B.

Implement sliding window context that retains the most recent 30 turns.

C.

Rely on MCP tools to re-fetch relevant information on demand when the customer references earlier issues.

D.

Extract and persist structured issue data (order IDs, amounts, statuses) into a separate context layer.

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions