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: Claude Code for Continuous Integration You are integrating Claude Code into your CI/CD pipeline. The system ru. 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: 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: 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: Customer Support Resolution Agent You are building a customer support resolution agent using the Cl…
- Scenario: Customer Support Resolution Agent You are building a customer support resolution agent using the Cl…
Answers and explanations
Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.
Q1. 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: B. Create a focused rule file with YAML frontmatter paths for both migration globs, containing only the migration review checklist.
Using a focused rule file with YAML frontmatter path globs ensures instructions load only for matching files. Path-scoped rules prevent irrelevant warnings in TypeScript reviews while keeping automated guidance active for SQL migrations.
Q2. 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. Add a tool-call gate that rejects process_refund until get_customer and lookup_order return matching, refund-eligible records.
A programmatic tool-call gate deterministically enforces the required validation sequence before refunds execute. Relying solely on system prompt instructions is risky for business-critical safety, whereas a gate guarantees eligibility checks without blocking valid cases.
Q3. 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. Store the command markdown under .claude/commands/ in the repository, then commit it with the CI workflow changes.
Storing custom commands inside the project's dot-Claude directory ensures they are version-controlled and available from a fresh checkout. Keeping them in a user's home directory prevents standard CI runners and new contributors from accessing the workflow.
Q4. 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. Before launching each new investigation wave, create a structured findings brief and include it in every subagent's initial prompt.
Providing a structured findings brief in each subagent prompt explicitly passes accumulated context across isolated boundaries. Relying on subagents to rediscover earlier constraints wastes effort and risks inconsistent conclusions, so explicit context passing is essential.
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. Revise each tool description to state accepted identifiers, example customer phrases, edge cases, and boundaries versus similar tools.
Clear tool descriptions provide the necessary context for the model to select the right tools during ambiguous conversations. Hard-coded decision trees or keyword routers are brittle, whereas detailed descriptions help the model distinguish overlapping features naturally.
Q6. 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. Use fork_session from the verified case baseline, explore each resolution path independently, then compare branch summaries before deciding.
Forking a verified session preserves the shared factual baseline while exploring divergent reasoning paths in isolated contexts. Exploring multiple paths in a single conversation causes assumptions to bleed between branches, leading to flawed comparisons.
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: C. Return distinct structured categories for transient, validation, business, and permission failures, with retryability flags and customer-safe recovery guidance.
Returning distinct structured categories for each failure type gives the model actionable context to choose the right recovery path. Collapsing all errors into a single result prevents the agent from distinguishing transient timeouts from hard policy denials.
Q8. 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: B. Keep tool-based structured output, then add semantic validation against diff metadata, severity rules, and finding consistency before publishing comments.
Semantic validation against pull request diff metadata ensures that model outputs meet actual review policies before publishing. Structured JSON schemas only enforce formatting compliance, so logic checks are still needed to catch invalid line numbers or logical contradictions.
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. Have the coordinator compare the draft resolution with the original request, assign targeted follow-up subagent work, then rerun synthesis.
An explicit coordinator review step compares draft resolutions against original requests to identify incomplete answers. This allows targeted follow-up queries to subagents, ensuring completeness without unnecessarily escalating complex cases to humans.
Q10. 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. Separate findings by category and severity, tighten criteria for noisy checks, and prioritize high-precision issues in reviewer queues.
Separating findings by category and severity directly fixes reviewer fatigue by preventing noisy alerts from burying high-precision flags. Tightening criteria for ambiguous categories ensures reviewers maintain trust and focus on critical confirmed mismatches.
Q11. 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. Require confidence per critical record field, then calibrate routing thresholds using a labeled set of previously reviewed changes.
Field-level confidence scores expose hidden uncertainty in high-risk areas like rollback and security. Calibrating routing thresholds against labeled review data prevents a high overall score from masking critical blind spots, whereas a single aggregate score lacks the needed precision.
Q12. 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. Create a .claude/rules/ migration file with paths matching all migration patterns so guidance loads only for those files.
Path-scoped rule files are ideal for enforcing conventions by file pattern rather than directory hierarchy. This setup keeps migration guidance automatic for matching files across the monorepo while preventing irrelevant context from loading during unrelated edits.
Q13. 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. Use a prompt chain that reviews each order or charge independently, then runs a final account-level consistency pass.
A prompt chain matches this predictable workflow by isolating each local item before running a final account-level synthesis. Separating per-item review from broader reconciliation reduces attention dilution and catches interactions across issues before responding.
Q14. 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 small package-level CLAUDE.md files that reference the relevant standards documents with @import, keeping shared root guidance minimal.
Using small package-level files with @import keeps package guidance close to the code while avoiding copied instruction drift. This allows maintainers to load only relevant content, reducing context bloat and ensuring standards remain canonical and updatable.
Q15. 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: B. Configure tool_choice to force extract_pr_metadata on the first request, then run review findings in a follow-up turn.
Forcing a specific tool choice is the safest mechanism when a structured extraction must happen before later steps. It guarantees the first response calls the metadata tool, allowing the pipeline to use those results in a follow-up request for generating findings.
More Claude Certified Architect Foundations drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.