Claude Certified Architect Foundations Practice Exam Questions and Answers – Part 22/24

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: During a trial of a custom /project-release-notes command, a team gives the diff analysis, issue triage, and final synth. 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

  • During a trial of a custom /project-release-notes command, a team gives the diff analysis, issue triage, and…
  • A team needs to add a larger feature that caches refund eligibility decisions before invoking backend tools…
  • A documentation platform team has a custom MCP tool invoked by a shared /docs command to update architecture…
  • A payments platform's developer productivity team is adding a /find-callers command that should locate every…
  • A CI job runs a nightly support-triage check and needs Claude Code to process a prompt, write the result to s…
  • During a pilot using the Claude Agent SDK, a policy-research subagent sometimes reports only "search unavaila…

Answers and explanations

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

Q1. During a trial of a custom /project-release-notes command, a team gives the diff analysis, issue triage, and final synthesis agents the same full tool list: Read, Grep, Glob, Bash, WebSearch, WebFetch, and issue-tracker MCP tools. Even whe…

Answer: A. Restrict each agent to role-specific tools and route extra lookups through the coordinator.

Restricting each subagent to role-specific tools directly enforces boundaries, preventing the synthesis agent from executing exploratory web searches. If additional lookups are genuinely required, the coordinator can delegate that work to a designated research agent with the appropriate tool access.

Q2. A team needs to add a larger feature that caches refund eligibility decisions before invoking backend tools. The engineers are unfamiliar with the policy edge cases, cache invalidation risks, and failure modes around stale eligibility data…

Answer: C. Ask Claude Code to use AskUserQuestion to gather requirements about implementation constraints, edge cases, and failure modes before planning code changes.

Using an interview pattern to gather requirements leverages Claude to surface hidden design considerations before any code is written. This is critical for complex features involving cache invalidation, ensuring the model understands failure modes and escalation rules prior to planning.

Q3. A documentation platform team has a custom MCP tool invoked by a shared /docs command to update architecture documentation after refactors. When the target documentation branch is protected, the tool currently returns the plain text string…

Answer: A. Return MCP error results with isError set and structured content that distinguishes protected-branch failures from temporary service failures.

Returning structured MCP error results with the isError flag provides the model with actionable context about the failure type. A protected branch requires a workflow change, so the model stops retrying, whereas a temporary timeout can still trigger a safe retry attempt.

Q4. A payments platform's developer productivity team is adding a /find-callers command that should locate every reference to a renamed helper function, limit the search to TypeScript source files, and return enough context for a developer to…

Answer: C. Use Grep with the helper name as pattern, scope with glob: "**/*.ts", and set output_mode: "content" for matched lines.

The Grep tool is designed specifically to search file contents and locate call sites within a codebase. By scoping the search with a TypeScript glob pattern and setting output mode to content, the command returns the exact matching lines and file paths needed for navigation.

Q5. A CI job runs a nightly support-triage check and needs Claude Code to process a prompt, write the result to standard output, and exit without waiting for a developer. The current job launches Claude Code and intermittently hangs in the run…

Answer: C. Invoke Claude Code with claude -p "…" or claude –print "…" in the job.

The print flag configures Claude Code to run in a non-interactive mode explicitly designed for CI pipelines and automated scripts. This ensures the process executes the prompt, writes the output, and terminates cleanly without waiting for interactive human input.

Q6. During a pilot using the Claude Agent SDK, a policy-research subagent sometimes reports only "search unavailable" to the coordinator. The coordinator cannot tell whether the subagent should retry, reformulate the request, narrow the scope…

Answer: A. Return structured subagent results with error codes, attempted queries, and any available source metadata.

Returning structured results with error codes and attempted queries preserves the context the coordinator needs to choose an appropriate recovery path. A generic failure message collapses actionable scenarios into a single vague state, removing the provenance required for downstream reasoning.

Q7. 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 c…

Answer: D. Configure a PostToolUse hook matching Bash that returns updatedToolOutput with the Bash result shape.

A PostToolUse hook runs after execution but before the model processes the result, allowing you to intercept and normalize the Bash output. You must return the updatedToolOutput object matching the expected structured Bash result shape so the replacement integrates seamlessly into the context.

Q8. You are building a multi-agent research system using the Claude Agent SDK. A coordinator agent delegates to specialized subagents: one searches the web, one analyzes documents, one synthesizes findings, and one generates reports. The syste…

Answer: A. Maintain a structured research state file with the discovered taxonomy and source mappings, then load it into later synthesis prompts.

Maintaining a structured research state file preserves critical early findings explicitly, preventing context degradation over long agent runs. Relying on prompt caching or sending the full transcript does not guarantee the model will recall specific details buried deep in the history.

Q9. You are building a structured data extraction system using Claude. The system extracts information from unstructured documents, validates the output using JSON schemas, and maintains high accuracy. It must handle edge cases gracefully and…

Answer: A. Run section-level extraction passes, then run a reconciliation pass that validates schema, deduplicates entities, and checks cross-section consistency.

A fixed sequential pipeline using section-level extraction reduces attention dilution before a global reconciliation pass resolves duplicates and cross-section relationships. Single-pass extraction on massive documents often misses global context, while dynamic agent loops introduce unpredictable latency and cost.

Q10. 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 Conte…

Answer: A. Create a representative evaluation set, refine the templated prompt against clear criteria, and rerun it before submitting the full batch.

Building a representative evaluation set and refining the prompt against clear criteria establishes a necessary evaluation loop before scaling batch operations. Relying on automated prompt improvers or processing bad rows blindly wastes asynchronous budget and hides systematic logic failures.

Q11. 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 Conte…

Answer: D. Run a separate verification pass that returns schema-constrained findings with confidence, severity, evidence, and routing fields.

A separate verification pass preserves recall during the initial finding stage while adding structured confidence and severity fields for routing. Relying on free-form prose or non-existent API confidence scores prevents reliable, machine-readable downstream automation.

Q12. You are building a multi-agent research system using the Claude Agent SDK. A coordinator agent delegates to specialized subagents: one searches the web, one analyzes documents, one synthesizes findings, and one generates reports. The syste…

Answer: D. Return the funding source as unknown and include an evidence-gap note when no citable source passage supports it.

Returning an unknown value with an evidence-gap note safely handles missing evidence without triggering hallucinations from endless retries. Retries cannot generate missing citations, and document metadata fields are not valid citable sources for grounded claims.

Q13. You are building a multi-agent research system using the Claude Agent SDK. A coordinator agent delegates to specialized subagents: one searches the web, one analyzes documents, one synthesizes findings, and one generates reports. The syste…

Answer: A. Set tool_choice to {"type": "tool", "name": "extract_metadata"} for the first document-analysis request.

Setting tool_choice to a specific tool type explicitly forces the model to call the named tool immediately. Any other tool_choice setting leaves the selection up to the model's discretion, failing the strict sequential workflow requirement.

Q14. 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 Conte…

Answer: A. Append the assistant tool_use response, then send a user message containing the matching tool_result block.

The model needs the raw tool output mapped directly back via a user message containing the matching tool_result block. Passing plain text summaries or logging the result externally breaks the tool use loop, leaving the model blind to the actual data.

Q15. 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 c…

Answer: C. Maintain a structured project facts file with key decisions, constraints, and open questions, and have Claude Code update and reference it during the session.

Maintaining a structured project facts file preserves critical architectural constraints outside the degrading context window of a long transcript. Prompt caching optimizes cost and latency but does not prevent the model from forgetting earlier instructions as the conversation grows.

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