Claude Certified Architect Foundations Practice Exam Questions and Answers – Part 5/8

Practice for the Claude Certified Architect Foundations exam with 15 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: Scenario: Customer Support Resolution Agent You are building a customer support resolution agent using the Claude Agent . Follow @CertPunch and visit certpunch.com for more certification practice exams and study content.

Prefer hands-on? Take this round as an interactive practice test — answer every question, get instant feedback, and see your score: Start the Claude Certified Architect Foundations practice test →

What you will practice

  • Scenario: Customer Support Resolution Agent You are building a customer support resolution agent using the Cl…
  • Scenario: Structured Data Extraction You are building a structured data extraction system using Claude. The s…
  • Scenario: Code Generation with Claude Code You are using Claude Code to accelerate software development. Your…
  • Scenario: Claude Code for Continuous Integration You are integrating Claude Code into your CI/CD pipeline. Th…
  • Scenario: Customer Support Resolution Agent You are building a customer support resolution agent using the Cl…
  • Scenario: Code Generation with Claude Code You are using Claude Code to accelerate software development. Your…

Answers and explanations

Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.

Q1. Scenario: Customer Support Resolution Agent 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 bac…

Answer: C. Run an agentic loop that inspects stop_reason, executes requested tools, appends tool results, and repeats until end_turn.

Implementing the core agentic loop lets Claude inspect the stop reason, execute requested tools, and append results until the turn naturally ends. Templatized responses fail because they bypass the model's reasoning capabilities over newly acquired tool context.

Q2. Scenario: Structured Data Extraction You are building a structured data extraction system using Claude. The system extracts information from unstructured documents, validates output using JSON schemas, and maintains high accuracy. It must…

Answer: A. Retry with the source document, rejected extraction, and exact validator messages, instructing Claude to produce a corrected record only.

Providing the source document, the rejected extraction, and exact validator messages supports targeted self-correction. Asking the model to fix errors without the original text forces it to guess the correct values, leading to plausible but unsupported hallucinations.

Q3. Scenario: Code Generation with Claude Code 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 workf…

Answer: B. Have subagents report successful empty searches separately from access failures, including attempted paths, queries, partial results, and suggested next steps.

The correct answer ensures subagents explicitly differentiate between a successful search with no matches and a failed search due to access errors. A practical exam cue is to select the option that maximizes error visibility and context recovery, avoiding silent failures where missing data mimics clean results.

Q4. Scenario: Claude Code for Continuous Integration You are integrating Claude Code into your CI/CD pipeline. The system runs automated code reviews, generates test cases, and provides feedback on pull requests. You need to design prompts tha…

Answer: C. Pass the relevant current test files into the review context and ask Claude to target only uncovered behaviors.

Providing existing test files gives Claude the necessary context to identify actual coverage gaps instead of suggesting redundant tests. Adding a prompt rule without context fails because Claude cannot know existing coverage without seeing the tests.

Q5. Scenario: Customer Support Resolution Agent 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 bac…

Answer: C. Return error details that include failure type, attempted order lookup, partial customer data, cached summaries, and suggested fallback actions.

Returning detailed error context enables the coordinator to distinguish isolated failures from total outages, allowing safe usage of cached data. Converting timeouts to empty results is a strong distractor because it masks actual errors and risks processing incomplete backend states.

Q6. Scenario: Code Generation with Claude Code 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 workf…

Answer: C. Commit project-level CLAUDE.md guidance describing valuable test criteria, fixture conventions, and reusable helpers for CI-invoked Claude Code.

Committing project-level guidance ensures Claude Code consistently loads team preferences from ephemeral CI runners. Local configurations are a strong distractor because ephemeral environments lack access to maintainer laptops, making prompt-only adjustments ineffective for persistent context.

Q7. Scenario: Customer Support Resolution Agent 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 bac…

Answer: D. Rewrite the MCP tool descriptions to detail support-specific capabilities, accepted identifiers, returned fields, and when to use them instead of generic search.

Rewriting MCP tool descriptions gives Claude the precise context needed to prefer specialized tools over generic file searches. Disabling generic file search is a strong distractor because it removes useful agent flexibility instead of addressing the underlying tool selection signal.

Q8. Scenario: Code Generation with Claude Code 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 workf…

Answer: C. Use plan mode to investigate dependencies and choose the migration path, then switch to direct execution for the agreed edits.

The correct answer uses plan mode to map dependencies safely before switching to direct execution for mechanical edits. When tackling workflow questions, remember that staying in plan mode for mechanical execution wastes time, while direct execution risks costly rework during discovery.

Q9. Scenario: Customer Support Resolution Agent 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 bac…

Answer: B. Route all subagent requests and results through the coordinator, which records context, errors, and final resolution inputs.

Routing communication through the coordinator preserves specialization while giving one component responsibility for observability, error handling, and final aggregation. This directly addresses the missing retry rationale and bypassed escalation notes because all handoffs become visible to the coordinator.

Q10. Scenario: Customer Support Resolution Agent 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 bac…

Answer: B. Have the coordinator assign each subagent a distinct concern and shared verified facts, then combine findings into one customer response.

Having the coordinator assign distinct concerns and shared facts keeps subagents focused on their specialization without redundant tool calls. Allowing direct messaging bypasses centralized observability, which often leads to missed issues and overlapping summaries during complex investigations.

Q11. Scenario: Structured Data Extraction You are building a structured data extraction system using Claude. The system extracts information from unstructured documents, validates output using JSON schemas, and maintains high accuracy. It must…

Answer: D. Assign a stable custom_id derived from each document record, persist it with request metadata, and reconcile results using that identifier.

Message Batches support request and response correlation through custom_id values. Persisting a stable identifier with the submitted request lets the ingestion job map results correctly, whereas relying on output ordering fails when responses are processed after retries or partial failures.

Q12. Scenario: Customer Support Resolution Agent 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 bac…

Answer: B. Drive the loop from stop_reason, execute requested tools when it is tool_use, and return only when it is end_turn.

The agentic loop should be driven by stop_reason, executing tools when it equals tool_use and returning when end_turn occurs. Stopping the loop based on natural language text is fragile because Claude often outputs text alongside tool calls before actually finishing.

Q13. Scenario: Claude Code for Continuous Integration You are integrating Claude Code into your CI/CD pipeline. The system runs automated code reviews, generates test cases, and provides feedback on pull requests. You need to design prompts tha…

Answer: A. Move the accessibility guidance into a .claude/rules/ file with YAML frontmatter paths matching React component globs.

Path-specific rule files allow Claude Code to load guidance only when file paths match the declared glob patterns. Using generic root instructions or manual commands fails because it relies on the model correctly guessing file contexts rather than applying deterministic system rules.

Q14. Scenario: Customer Support Resolution Agent 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 bac…

Answer: A. Route every subagent handoff and result through the coordinator, which aggregates state, applies escalation rules, and delegates follow-up work.

A coordinator-controlled hub-and-spoke pattern preserves observability, consistent error handling, and controlled information flow across specialized subagents. Letting subagents communicate directly bypasses central escalation rules and creates blind spots in the execution trace.

Q15. Scenario: Customer Support Resolution Agent 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 bac…

Answer: D. Populate escalate_to_human with a structured handoff including customer ID, verified facts, root cause, amounts, attempted actions, and recommended next steps.

Structured escalation handoffs are essential when the human reviewer lacks access to the original conversation or tool outputs. The agent should send a compact, explicit payload including identifiers, verified facts, and recommended next steps. Relying on transcript links fails when reviewers lack system access.

More Claude Certified Architect Foundations drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.

Scroll to Top