Practice questions
105 scenario questions across all five domains, mixed by default so you have to recognise which domain a question belongs to — half the difficulty on the real exam. Every answer explains why the wrong options are wrong, which is where the reasoning actually lives.
0 / 0correct
0current streak
0best streak
Browse all 105 questions
Each question has its own page with the answer and a full explanation.
Agentic Architecture & Orchestration 27
- A team is writing the control flow for an agentic loop that calls Claude with a set of tools. Which loop…
- In a Claude agentic loop, which signal should the loop treat as meaning the model has finished its work?
- A support agent built with the Agent SDK calls lookup_order with the same order ID three or four times in a…
- A research system produces a report on "the economic effects of an aging population." Every subagent returns…
- A coordinator sends every query through web search, document analysis, synthesis, and report generation…
- Reviewers find that about a third of research reports have thinly supported sections, even though the…
- A team proposes letting the web search subagent send its results directly to the synthesis subagent instead…
- A coordinator needs results from three independent search subagents, each covering a different subtopic. Logs…
- A synthesis subagent is invoked with the prompt "Write a cited summary of what the search and document…
- Final reports from a research system contain accurate claims, but citations often point to the wrong document…
- A developer configures AgentDefinitions for search and synthesis subagents and writes a coordinator prompt…
- A coordinator instructs its document analysis subagent: "Open the first PDF, read pages 1–5, extract three…
- A support agent's system prompt requires calling get_customer to verify identity before process_refund. After…
- When the support agent escalates, it calls escalate_to_human with the note "Customer needs help with refund…
- A customer writes: "My order arrived damaged, I was billed twice for it, and I need to update my shipping…
- A support agent's system prompt contains the four rules below. Which two should be enforced programmatically…
- Where should enforcement of a rule like "never transfer more than $10,000 without a second approval"…
- A support agent pulls order data from an MCP tool that returns Unix timestamps and numeric status codes, and…
- Policy requires human approval for refunds over $500. A team adds a hook that rejects process_refund calls…
- An agent team is deciding where to use Agent SDK hooks instead of prompt instructions. Which two requirements…
- A CI step reviews pull requests by sending all changed files to Claude in one prompt. On a 25-file PR, the…
- An engineer asks an agent to "add comprehensive tests to this legacy codebase," which has 300 modules, almost…
- Which two tasks are better suited to dynamic adaptive decomposition than to a fixed prompt chain? Select two.
- A developer spends a day investigating a memory leak with Claude Code and wants to continue that same…
- After an agent has analyzed a payments service, the team wants to compare two refactoring approaches…
- Two days into an investigation session, a large refactor is merged that moves and rewrites most of the files…
- A developer resumes a named session in which the agent had analyzed an authentication module. Overnight, they…
Claude Code Configuration & Workflows 22
- A monorepo has one root CLAUDE.md that three package teams keep editing to add build steps that apply only…
- A 1,200-line root CLAUDE.md mixes testing, API, deployment, and frontend standards. Package maintainers say…
- A new engineer reports that Claude Code ignores the team's API naming conventions in their sessions. The tech…
- For the same developer on the same branch, Claude follows the repository's logging convention in some…
- Your project CLAUDE.md holds the team's naming conventions plus a 15-step release procedure that is used…
- A team's /analyze-deps skill reads dozens of files and prints a detailed report on each one. Developers run…
- A team's /scaffold-tests skill should only create test files and must never run shell commands. Developers…
- A senior engineer wants the team's shared /review skill to apply her own extra security checklist when she…
- The root CLAUDE.md contains 250 lines of Terraform conventions. Most sessions are spent on application code…
- Each of a platform's 14 services keeps its SQL migrations in its own db/migrations/ directory, for example…
- Storybook story files (*.stories.tsx) sit next to their components in about 60 directories. The team pasted…
- A production error's stack trace points to a missing null check on line 88 of invoice_formatter.py. The fix…
- During a multi-phase task (find every use of a deprecated config flag, design a replacement, then implement…
- You used plan mode to investigate migrating from one ORM to another across 48 files. The plan lists the…
- You asked Claude to convert legacy log lines into structured JSON events. Your prose description is detailed…
- A Claude-written migration script mostly works, but it writes the string "null" when a source column is null…
- A developer with no caching experience asks Claude to put a cache in front of a slow pricing service. They're…
- Review of a Claude-generated payment module finds three problems: retries re-send requests that already…
- Your CI job invokes Claude Code to review pull requests. The job sometimes hangs until it times out, and when…
- Your CI review runs on every push to a pull request. Developers complain that each push reposts the same…
- In your pipeline, the Claude Code session that implements a fix is then asked to review its own changes…
- A CI job uses Claude Code to generate unit tests for changed modules. Reviewers report that about half of the…
Prompt Engineering & Structured Output 20
- A CI review bot is told to "check that code comments are accurate." Developers dismiss most of its comment…
- A review bot's security findings are almost always accepted, but its "performance" findings are dismissed…
- A review prompt defines severity as "critical: severe problems; major: significant problems; minor: small…
- A review prompt contains a detailed paragraph specifying that every finding must include location, issue…
- A test-generation reviewer is inconsistent about whether an untested error branch counts as a coverage gap…
- An extractor pulls sample size from research papers. It is accurate when the paper has a methodology section…
- A pipeline prompts Claude to "reply only with a JSON object," but roughly 5% of responses include a leading…
- A ticket classifier uses a closed enum of five categories. New kinds of tickets, such as accessibility…
- An intake pipeline has three extraction tools (invoice, receipt, contract) and doesn't know in advance which…
- A pipeline must run extract_metadata on each document before any enrichment tool, because enrichment depends…
- An invoice extraction pipeline retries failed validations by sending the document, the failed extraction, and…
- A vendor-onboarding extractor retries up to five times when tax_id is missing. These retries almost never…
- An invoice extractor uses tool use with a strict schema, and every response passes schema validation…
- Developers dismiss about 40% of an automated reviewer's findings. The team tracks the dismissal rate but…
- Documents arrive throughout the day and must be processed within 30 hours of arrival. The pipeline uses the…
- A batch of 5,000 contract extractions completes with 120 failures. Most of the failed contracts were long…
- A team wants to move workloads to the Message Batches API for its 50% cost savings. Which workloads are good…
- A Claude session generates a database migration, then in the same session is asked to "carefully review the…
- A team moved its large pull request reviews to one pass per file, and review depth is now consistent. Then a…
- A review pipeline posts every finding directly to pull requests. The team wants to send uncertain findings to…
Tool Design & MCP Integration 18
- In a research system, the analysis subagent has two tools: analyze_content, described as "Analyzes the…
- A support agent has a tool whose entire description is "Queries the v2 inventory microservice via internal…
- A developer productivity agent has a web_search tool and an MCP code_search tool. Both have clear, distinct…
- A support agent's lookup_order tool wraps its database call in a catch-all that returns an empty list on any…
- An MCP tool calling an external catalog API sometimes gets "item not found" and sometimes gets a timeout…
- A process_refund tool rejects refunds above a $500 policy limit. The agent currently retries the call three…
- In a research system, a document-fetch subagent sometimes gets HTTP 503 responses from a publisher's site…
- Every subagent in a multi-agent research system was given the same 18 tools. Tool selection errors are…
- A document analysis subagent has a generic fetch_url tool. It sometimes loads search result pages and blog…
- An extraction pipeline must call extract_metadata before any enrichment tools, because they need its output…
- A classification step offers the model three tools and must always produce one of them as a structured tool…
- A team's .mcp.json, committed to the repository, configures a GitHub MCP server with an engineer's personal…
- A team is standardizing Claude Code MCP setup. They need Jira for everyone, and one engineer wants to try an…
- An agent is connected to an internal MCP server whose search_code tool indexes all 40 service repositories…
- A support agent connected to an internal knowledge-base MCP server spends many tool calls at the start of…
- Asked to explain how a checkout request is processed in an unfamiliar 600-file service, an agent starts by…
- An agent needs to change one timeout value in a YAML file that has three identical service blocks, each…
- Before deprecating formatCurrency, an agent Greps for that name and finds 6 callers. A teammate points out…
Context Management & Reliability 18
- A returns agent calls lookup_order several times per session. Each call appends the tool's full 40+ field…
- In long support sessions where customers raise several issues, older turns are progressively summarized. Late…
- A coordinator concatenates twelve subagent reports into one synthesis prompt, in the order they arrive…
- A customer's first message is: "I want to talk to a real person about my bill." The agent currently looks up…
- A customer asks the agent to apply the loyalty-program discount retroactively to an order placed two weeks…
- A lookup_customer call by name returns three matching accounts. The agent picks the account with the most…
- A compliance-research subagent queries a regulatory filings database. When the database times out, the…
- You are defining how a web-search subagent handles failures so the coordinator can make good recovery…
- A research coordinator continues with partial results when two of seven sources remain unavailable after…
- Two hours into a Claude Code session spent reading files in a large codebase, Claude now describes "the…
- An agent must assess the impact of changing refund logic in a large monorepo. Running every search and file…
- A multi-agent exploration of a monorepo crashes about 70% of the way through. Restarting it repeats every…
- An invoice-extraction pipeline shows 97% field accuracy overall, and the team plans to remove human review…
- An extraction model outputs a confidence score for each field, and fields below 0.8 go to human review. An…
- A team has automated acceptance of high-confidence extractions. With a small review team, they want to keep…
- Reviewers cannot trace most statistics in a research system's final reports back to a source. Subagents…
- A document-analysis subagent finds two credible studies reporting different adoption rates, 34% and 52%…
- A synthesis agent reports a "major contradiction" between a survey finding 22% adoption and another finding…