Black Friday Special: Limited Time 80% Discount Offer! Use coupon code below to save on all exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: certs80

CCAR-F Exam Dumps - Anthropic Claude Certified Architect Questions and Answers

Question # 44

During testing, when a customer says, “I need a refund for my recent purchase,” the agent immediately invokes process_refund but populates the required order_id parameter with a plausible-looking fabricated value instead of first calling lookup_order. The refund fails because the invented order identifier does not exist. Which change directly addresses the root cause of the fabricated order_id?

Options:

A.

Update the process_refund tool description to state explicitly that order_id must come from a successful lookup_order result and must never be assumed, inferred, or invented.

B.

Change tool_choice from auto to any so Claude must call a tool on every turn.

C.

Add server-side validation that checks whether order_id exists before attempting the refund and returns an error when it does not.

D.

Preprocess customer messages to extract any mentioned order identifiers and inject them into the conversation before sending the request to Claude.

Buy Now
Question # 45

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 tool's JSON schema has 12 fields with detailed descriptions. Each document is sent in its own request with a 200-token system prompt, and documents average 800 tokens, which led to a pre-launch estimate of about 1,000 input tokens per request. After the first week, usage.input_tokens averages about 3,900 per request.

What is the most likely explanation?

Options:

A.

Ticket text tokenizes less efficiently than estimated because of special characters and non-English content.

B.

Tokens generated for the tool call are being reported as input tokens.

C.

Prompt caching is not enabled, so the system prompt is counted at full weight each time.

D.

The tool definition is sent with every request and counts toward input tokens.

Buy Now
Question # 46

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 codebase exploration tool stores session IDs to allow engineers to continue investigations across work sessions. An engineer spent an hour yesterday analyzing a legacy authentication module, building context about its architecture and dependencies. They want to continue today. The session ID is valid, but version control shows 3 of the 12 files the agent previously read were modified overnight by a teammate’s merge.

What approach best balances efficiency and accuracy?

Options:

A.

Start a fresh session to ensure the agent works with current codebase state without stale assumptions

B.

Resume the session and inform the agent which specific files changed for targeted re-analysis

C.

Resume the session and immediately have the agent re-read all 12 previously analyzed files

D.

Resume the session without informing the agent about the changed files

Buy Now
Question # 47

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.

Compliance requires that refunds exceeding $500 must automatically escalate to a human agent—this rule cannot be left to model discretion. Despite clear system prompt instructions, production logs show the agent occasionally processes high-value refunds directly (3% failure rate).

How should you achieve guaranteed compliance?

Options:

A.

Add few-shot examples to the prompt showing correct escalation behavior at various refund amounts ($400, $500, $600).

B.

Strengthen the system prompt with emphatic language: “CRITICAL POLICY: Refunds over $500 MUST trigger human escalation. NEVER process these directly.”

C.

Modify the refund tool to return an error with message “Amount exceeds policy limit—please escalate” when the threshold is exceeded.

D.

Implement a hook to intercept tool calls, when the refund process amount exceeds $500, block it and invoke human escalation.

Buy Now
Question # 48

A customer sends: “This is frustrating. I’ve explained my issue twice and nothing is being resolved. I want to talk to a real person NOW.” The agent has not yet called any tools to investigate the customer’s account. What should the agent do?

Options:

A.

Briefly explain what the agent can help with and offer to resolve the issue quickly, escalating only if the customer repeats the request.

B.

First call get_customer and lookup_order to gather account context, and then escalate to a human agent.

C.

Immediately call escalate_to_human with the conversation history.

D.

Acknowledge the frustration and ask one targeted question to understand the specific issue before escalating.

Buy Now
Question # 49

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 exposes three tools: extract_fields, whose schema-validated JSON output is written to your database, plus lookup_vendor and flag_for_review, which support operator questions and edge cases. Every submitted document must produce an extract_fields record.

In testing, when an operator submits a document with a request like "extract this invoice and check whether the vendor already exists," Claude sometimes calls only lookup_vendor and never calls extract_fields, so no record is written.

Which approach guarantees an extract_fields call for every submitted document while still allowing Claude to handle the rest of the operator's request?

Options:

A.

Set tool_choice to "auto" and reorder the tool definitions so extract_fields appears first in the tools array, since Claude prioritizes earlier-listed tools.

B.

Set tool_choice to {"type": "tool", "name": "extract_fields"} on the first request after submission, then return tool_choice to "auto" on subsequent turns so Claude can address the rest of the operator's request.

C.

Set tool_choice to {"type": "tool", "name": "extract_fields"} for every API call in the pipeline, ensuring Claude always extracts fields before addressing the rest of the operator's request.

D.

Set tool_choice to "any" so Claude must use a tool, combined with system prompt instructions prioritizing extract_fields.

Buy Now
Exam Code: CCAR-F
Exam Name: Claude Certified Architect – Foundations
Last Update: Nov 25, 2026
Questions: 156
CCAR-F pdf

CCAR-F PDF

$20  $99.99
CCAR-F Engine

CCAR-F Testing Engine

$22  $109.99
CCAR-F PDF + Engine

CCAR-F PDF + Testing Engine

$30  $149.99