Claude Certified Architect - Foundations v1.0

Page:    1 / 6   
Exam contains 85 questions

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?

  • A. Modify the refund tool to return an error with message “Amount exceeds policy limit – please escalate” when threshold is exceeded.
  • B. Add few-shot examples to the prompt showing correct escalation behavior at various refund amounts ($400, $500, $600).
  • C. Implement a hook to intercept tool calls; when the refund process amount exceeds $500, block it and invoke human escalation.
  • D. Strengthen the system prompt with emphatic language: “CRITICAL POLICY: Refunds over $500 MUST trigger human escalation. NEVER process these directly.”


Answer : C

Production logs reveal inconsistent error handling: when lookup_order fails, the agent sometimes retries 5+ times (wasteful when the order ID doesn’t exist), sometimes escalates immediately (premature for temporary network issues), and sometimes asks users for clarification (inappropriate when the issue is a backend permission error). Investigation shows your MCP tool returns uniform error responses: {"isError": true, "content": [{"type": "text", "text": "Operation failed"}]}. The agent cannot distinguish between error types. What’s the most effective improvement?

  • A. Create an analyze_error MCP tool the agent calls after any failure to determine the error category and recommended action.
  • B. Add few-shot examples to the system prompt demonstrating how to interpret error message patterns and select appropriate responses for each.
  • C. Enhance error responses with structured metadata: include errorCategory (transient/validation/permission), isRetryable boolean, and a description of what caused the failure.
  • D. Implement retry logic with exponential backoff in your MCP server for all errors, returning to the agent only after retries are exhausted.


Answer : C

When implementing your lookup_order MCP tool, the backend sometimes returns errors (e.g., “Order not found” or temporary database failures). What is the correct pattern for communicating these errors back to the agent?

  • A. Throw an exception from the tool handler so the agent framework can catch and log it
  • B. Return the error message in the tool result content with the isError flag set to true
  • C. Log the error server-side and return an empty result to avoid confusing the model
  • D. Return a success response with a “status” field indicating the error type


Answer : B

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?

  • A. Implement automatic retry logic at the tool level 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. Return structured error responses with retriable: false for business errors and a customer-friendly explanation for Claude to use.
  • D. Add a check_refund_eligibility tool that must be called before process_refund to prevent business rule violations.


Answer : C

Your get_portfolio_value tool returns the total value of a user’s investment portfolio. You’re deciding between returning a structured JSON object with explicit fields versus returning the information as a formatted text string. What is the primary advantage of using structured output with defined fields?

  • A. JSON schemas automatically validate that the underlying API returned correct data before the agent processes it.
  • B. Structured JSON consumes significantly fewer tokens than natural language, substantially reducing API costs.
  • C. Structured JSON is processed deterministically by the model, significantly improving accuracy when extracting values.
  • D. The agent can reliably extract specific values without parsing free-form text, reducing errors in subsequent operations.


Answer : D

The coordinator agent has AgentDefinitions configured for all four specialized subagents, each with appropriate descriptions, prompts, and tool restrictions. During testing, you notice the coordinator correctly reasons about when to delegate – it generates messages like “I’ll ask the web search agent to find sources on this topic” – but no subagent execution ever occurs. The coordinator then proceeds as if the delegation happened and continues with incomplete information. Logs show no errors. What is the most likely cause?

  • A. The coordinator’s max_tokens setting is too low, causing the Task tool invocation to be truncated before the subagent type parameter can be specified.
  • B. The coordinator’s allowedTools configuration doesn’t include “Task”, so while it can reason about delegation, it cannot invoke the tool required to spawn subagents.
  • C. The AgentDefinitions are configured correctly, but the coordinator’s system prompt doesn’t explicitly list the available subagent types, preventing the model from knowing they can be invoked.
  • D. Subagent context isolation means task descriptions from the coordinator don’t automatically reach subagents; you need to configure explicit context forwarding in ClaudeAgentOptions.


Answer : B

Your conversational assistant frequently generates multiple clarifying questions when users make ambiguous requests. When a user asks “Can you help me with the report?”, the assistant responds: “I’d be happy to help! Could you tell me: 1) Which report? 2) What kind of help – drafting, reviewing, or formatting? 3) What’s your deadline?”
User analytics show a 40% conversation abandonment rate after these multi-question responses. What’s the most effective way to reduce friction while appropriately handling ambiguity?

  • A. Limit the assistant to one clarifying question per turn, using conversation history to accumulate answers over multiple exchanges rather than requesting everything upfront.
  • B. Add a preprocessing step using a smaller model to classify request ambiguity on a 1-5 scale, routing high-ambiguity requests to a clarification dialog and low-ambiguity requests directly to the assistant.
  • C. Modify the system prompt to instruct the assistant to make reasonable assumptions from available context, state those assumptions explicitly, and offer to adjust if the interpretation is wrong.
  • D. Create a lookup table of common request patterns with predefined default interpretations, having the assistant respond with those defaults without stating the assumptions made.


Answer : C

After 30+ turns, your conversational assistant shows noticeably slower responses and occasionally produces less coherent outputs. Investigation reveals: (1) average conversations reach 50,000 tokens by turn 35, (2) production logs show 94% of user messages only reference the previous 3-5 exchanges, (3) the 6% of queries referencing earlier context typically ask about information the user could easily re-state. Your goal is to improve response speed and quality while maintaining good user experience. What’s the most effective approach?

  • A. Enable prompt caching and continue sending the complete conversation history, using cached prefixes to reduce per-request costs while preserving all context.
  • B. Build a retrieval system that stores all conversation turns and uses semantic search to pull in relevant historical context only when the current query appears to reference past information.
  • C. Implement a summarization layer that progressively compresses older conversation turns into a running summary while keeping the most recent 5-6 turns verbatim, maintaining full historical context in condensed form.
  • D. Implement a sliding window keeping only the system prompt and last 8-10 turns. When users reference earlier context, acknowledge the limitation and ask them to re-state the relevant information.


Answer : C

Production monitoring shows that follow-up queries like “summarize what we learned about market trends” consistently take 40+ seconds. Investigation reveals the coordinator spawns the synthesis subagent for each summarization request, passing 80K+ tokens of accumulated findings. The coordinator already has these findings in its context from orchestrating the research. What’s the most effective way to improve response time for these follow-up summaries?

  • A. Enable prompt caching on the synthesis subagent to reduce the overhead of repeatedly transferring the same research findings.
  • 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. Spawn the synthesis subagent with reduced context and have it request specific findings from the coordinator on-demand.


Answer : B

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?

  • A. Extract and persist structured issue data (order IDs, amounts, statuses) into a separate context layer.
  • B. Summarize earlier turns into a narrative description, preserving full message history only for the active issue.
  • C. Rely on MCP tools to re-fetch relevant information on demand when the customer references earlier issues.
  • D. Implement sliding window context that retains the most recent 30 turns.


Answer : A

During a billing dispute resolution, your agent successfully retrieves customer info via get_customer and order details via lookup_order, but when attempting to call process_refund, the tool returns a timeout error. The agent has enough information to explain the charges and verify refund eligibility, but cannot actually process the refund due to the backend failure. What approach best balances first-contact resolution with appropriate error handling?

  • A. Explain the billing confirm refund eligibility, acknowledge the system issue preventing immediate processing, and offer escalation or retry later
  • B. Confirm the refund will be processed and close the conversation, since the system has all necessary information to complete it automatically
  • C. Implement automatic retries with exponential backoff for process_refund, keeping the conversation open until the refund is successfully processed
  • D. Escalate immediately to a human agent since the refund action cannot be completed


Answer : A

Your agent has called lookup_order multiple times while investigating a customer’s return requests. Each response includes 40+ fields (items, shipping details, payment info, status history). Tool outputs now represent the majority of the conversation’s context. The customer mentions two more orders they want to discuss. What’s the most effective approach before making additional lookups?

  • A. Move all tool responses to a vector database with semantic indexing, retrieving relevant portions as the conversation continues
  • B. Proceed with additional lookups without modifying the existing tool output context
  • C. Have the model generate a natural language summary of each order’s key details, replacing structured responses with prose descriptions
  • D. Extract only the return-relevant fields (items, purchase date, return window, status) from each existing order response, removing verbose details


Answer : D

A customer writes: “I’ve been going back and forth on this return for days. I just want to speak to someone who can actually help me.” The agent has confirmed via lookup_order that the return is straightforward – within policy and eligible for immediate processing. What should the agent do?

  • A. Process the refund via process_refund to resolve the underlying issue, then inform them it’s complete
  • B. Acknowledge frustration, inform them this is resolvable now, and offer to complete it or escalate
  • C. Call escalate_to_human immediately to honor the customer’s request
  • D. Ask what specifically hasn’t worked in previous attempts before deciding whether to escalate or resolve automatically


Answer : B

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 their account. What should the agent do?

  • A. Immediately call escalate_to_human with the conversation history.
  • B. Briefly explain what the agent can help with and offer to resolve the issue quickly, escalating only if the customer repeats their request.
  • C. First call get_customer and lookup_order to gather account context, then escalate to a human agent.
  • D. Acknowledge the frustration and ask one targeted question to understand the specific issue before escalating.


Answer : A

A customer returns 4 hours after the initial session about the same billing dispute. The previous 32-turn session contains lookup_order results showing “Status: PENDING, Expected resolution: 24-48 hours.” In testing, you observe that when resuming sessions with stale tool results, the agent often references the outdated data in responses (e.g., “I see your refund is still being processed”) even after subsequent fresh tool calls return different information. What approach most reliably handles returning customers?

  • A. Start a new session, inject a structured summary of the previous interaction (issue type, actions taken, resolution status), then make fresh tool calls before engaging.
  • B. Resume with full history but filter out previous tool_result messages before resuming, keeping only the human/assistant turns so the agent must re-fetch needed data.
  • C. Resume with full history and configure the agent to automatically re-call all previously-used tools at session start to ensure data freshness.
  • D. Resume with full history and add a system prompt instruction telling the agent to always prefer the most recent tool results when multiple calls to the same tool exist in context.


Answer : A

Page:    1 / 6   
Exam contains 85 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy | Amazon Exams | Cisco Exams | CompTIA Exams | Databricks Exams | Fortinet Exams | Google Exams | Microsoft Exams | VMware Exams