Domain 1 · 27% of exam · 16 of 60 items
Agentic Architecture & Orchestration practice questions
91 questions drawn from this domain’s 7 task statements, untimed and in order. Every option carries its own explanation, so a question you get right for the wrong reason still tells you something.
Worked exampleOne question, solved step by stepShow
Multi-Agent Research System · Task 1.3
Your research coordinator receives the brief "EU market only, data from 2024 onwards" and spawns a synthesis subagent with the prompt "Write the report from the attached findings." The report mixes US figures with 2021 data, although every finding carries region and year fields. What change would most effectively fix this?
- A.Add the EU-only, 2024-onwards rule to the synthesis subagent's definition, so every report it writes is limited to that scope.
- B.Include the brief's scope constraints explicitly in the prompt the coordinator writes for the synthesis subagent.
- C.Have the synthesis subagent ask the coordinator to clarify whenever a finding seems to fall outside the expected scope.
- D.Move the synthesis subagent to a larger model, so it reasons more carefully about which findings belong in the report.
Working it through
- 1. What is being asked. A change to the system that makes the report respect the user's scope. Not a filter for this one report, and not a better report in general.
- 2. The constraint that decides it. The only thing the synthesis subagent received was "Write the report from the attached findings." A subagent starts with the prompt its coordinator writes and nothing else. It never sees the brief the coordinator was given.
- 3. Predict before reading the options. The scope lives in the coordinator's context, so the coordinator has to pass it on. Look for the option that puts the constraints into the subagent's prompt.
- 4. Rule out the near-misses.
- A — Fixes this brief by hard-coding it. The next brief, say UK data from 2022, gets the wrong scope, because a reusable agent's definition is the wrong place for one request's constraints.
- C — The subagent can't recognise an out-of-scope finding without knowing the scope, which is exactly what it lacks.
- D — A stronger model still can't infer a constraint it was never given. The problem is the missing input, not reasoning ability.
- 5. Answer: B. When a subagent ignores something the coordinator knows, first check whether the coordinator ever told it.
Domain 1 drill
Question 1 of 91
Scenario · Customer Support Resolution Agent
Your support agent runs every conversation through a fixed sequence: get_customer, lookup_order, then process_refund or escalate_to_human. Returns resolve on first contact 84% of the time, but billing disputes only 41%. Transcripts show it fetching an order for a customer asking why their card was charged twice, then escalating. What change would most effectively raise first-contact resolution?
Getting value out of these
Read every explanation, including on the questions you answered correctly. The exam is a judgement test: the distractors are all things a working engineer has actually tried, and the reason each one fails is the material. A right answer picked for the wrong reason will not survive a differently worded question.
When you get one wrong, the useful question is not what the right answer was but whether you reached for a workaround over a mechanism — a bigger context window instead of less context, an instruction in the prompt instead of a constraint in the orchestration layer. That pattern repeats across the whole exam, and noticing it is worth more than memorising any single item.
These are untimed on purpose. Pace is a separate skill and belongs in the timed mock exam, where 60 items in 120 minutes gives you roughly two minutes each on questions that take real reading.
Where these questions come from
Each task statement’s lesson explains the material the questions test.
All 91 questions in this set
The scenarios and decisions this drill covers. Answers and explanations appear only when you work through the questions above.
Show the question list
- Your support agent runs every conversation through a fixed sequence: get_customer, lookup_order, then process_refund or escalate_to_human. Returns resolve on first contact 84% of the time, but billing disputes only 41%. Transcripts show it fetching an order for a customer asking why their card was charged twice, then escalating. What change would most effectively raise first-contact resolution?
- Your codebase-exploration agent sometimes hands back a module summary that stops mid-sentence. The logs for those runs show stop_reason "max_tokens", and in two of them the last block is a Read call cut off before its arguments were complete. Your loop runs tools on tool_use and treats every other stop_reason as completion. What change would most effectively address this?
- To keep requests small, your research coordinator now keeps only the latest tool_result in its message history and deletes earlier ones before each call. Since the change, it re-runs searches on subtopics it already covered, and its reports sometimes contradict figures an earlier search returned. What change would most effectively address this?
- Each night a job audits your monorepo's dependencies: Grep the import statements, Read the lockfile, run the audit tool through Bash, then write a report. The steps and their order never change, and runs must be repeatable for compliance review. A teammate proposes rebuilding it as an agent that chooses its own tools each turn. Which approach should you take?
- After a refactor of its executor, your support agent fails with an API 400 on the request that follows any tool call. In older runs that did succeed, Claude had also stopped requesting get_customer and lookup_order together. The executor appends each response's text, then one user message per tool result. Which two changes should you make? (Select two.)
- Your support agent's loop treats a response as final when response.content[0].type is "text". When Claude opens with "Let me check that order for you" and then a lookup_order call, the customer receives only that sentence, and about 6% of order questions end there unanswered. What change would most effectively fix the loop?
- Your research coordinator's loop stops after ten iterations. Single-market questions finish in four, but questions spanning several markets reach the cap mid-research and the partial report is published as complete. Raising the cap to 25 doubled spend on runs stuck retrying one source. What should you change?
- Your developer assistant's loop runs tools on tool_use and stops on end_turn. Sometimes Claude ends a turn by asking which of two test frameworks the developer prefers, and the run stops there. A teammate calls this a bug and proposes setting tool_choice to any so that the agent keeps working until the task is done. What should you do?
- Your agent's first request asks Claude for a plan, and it returns a list of six tool calls. Your loop then runs all six in order without sending any results back to Claude, and only asks for a summary at the end. When the third call returns an error, calls four to six run anyway against bad inputs. What change would most effectively fix this?
- Your coordinator's loop logs each tool result to a file but never adds it to the messages, and it ends the run whenever a response contains any text. Coordinators now repeat searches they have already run and stop as soon as they write a progress note. Which two changes should you make to the loop? (Select two.)
- Product wants customers to see short progress messages, such as "Checking your order now", while your support agent works. When Claude writes such a sentence alongside a tool call, your loop currently drops the text. A teammate proposes ending the turn on any response with text, so the customer sees it. Which approach should you take?
- Claude occasionally requests a tool by a name that no longer exists after a refactor, such as get_order instead of lookup_order. Your executor raises an exception on unknown tools, which ends the loop, and the customer receives a generic error page. What change would most effectively handle this?
- To be sure the support agent always uses its tools, a developer set tool_choice to {"type": "any"} on every request. Since then conversations never reach end_turn: after resolving the issue, the agent keeps calling lookup_order until the loop's safety limit stops it, and customers get no final reply. The model supports forced tool use. What should you change?
- Your support coordinator delegates to a billing subagent and an escalation subagent. To save a round trip, the billing subagent now calls the escalation subagent directly when it decides a dispute needs a human. An audit finds escalations the coordinator never recorded, and customers who received two conflicting replies. What change would most effectively address this?
- For each research question your coordinator sends the same brief to three web search subagents to run in parallel. Logs show about 60% of the sources they return are identical, token cost per report has tripled, and coverage is no wider than with a single subagent. What's the most effective first step to fix this?
- Your coordinator investigates a failing test, finds the cause in src/billing/rounding.py and the exact error output, then delegates the fix to a subagent with the prompt "Fix the failing rounding test." The subagent spends most of its budget re-running the suite and searching the repository before it finds the same file. What change would most effectively address this?
- Reviewers of your research system's reports keep finding claims that no cited source supports, and sections where the evidence is a single blog post. The coordinator currently runs search, analysis and synthesis once each, in order, and publishes whatever synthesis returns. Which approach should you take?
- You ask your coordinator to assess what breaks if the team upgrades its logging library to a new major version. It delegates one task: "find all calls to logger.warn". The report is accurate about those calls, but the upgrade later breaks configuration files, a plugin and several test fixtures the report never mentioned. What's the most effective first step to prevent this?
- Your research coordinator sends every question through web search, document analysis, synthesis and report generation. A question such as "What revenue did our own Q3 board pack report?" takes six minutes and costs as much as a market study, although the answer sits in one internal document. What change would most effectively address this?
- Your support coordinator delegates to billing, returns and shipping subagents. Each subagent handles its own tool failures differently: billing retries silently, returns gives up, shipping replies "done" regardless. When a customer complains, nobody can tell which subagent failed or why. What change would most effectively address this?
- Your coordinator invokes a code-search subagent to map the payment module, then later invokes it again with "Now continue where you left off and map the refund paths." The second run re-maps the whole module from scratch, contradicts some of its first answers, and takes as long as the first. What change would most effectively fix this?
- Your coordinator invokes six research subagents, and each returns its full working transcript, about 10,000 tokens apiece. The coordinator's context is now mostly raw transcripts, its aggregated report misses findings buried deep in them, and it sometimes contradicts a subagent's conclusion. What change would most effectively address this?
- A customer asks for a refund on a damaged item. Your coordinator invokes the returns subagent, which says the item is outside the return window, and the billing subagent, which says the customer qualifies for a damage refund under warranty. The coordinator pastes both conclusions into its reply. What change would most effectively address this?
- You added a refinement loop: after synthesis, the coordinator checks for gaps and re-delegates. Reports improved, but some runs now loop eight times because every pass finds another "gap", and cost has tripled. Reviewers say the extra passes rarely change the conclusions. What change would most effectively address this?
- Asked to compare three cloud providers on price, compliance and support, your coordinator spawned 12 subagents, each covering one narrow slice such as "provider B, support hours". Runs take twice as long, slices overlap, and the synthesis reads as fragments that never compare the providers directly. What change would most effectively improve this?
- Your test-writer subagent needs to check function signatures about thirty times per task, and each check goes through the coordinator to the code-search subagent and back. A developer proposes letting the test writer call the code-search subagent directly to cut latency by a fifth. What should you recommend?
- A customer asks to return one order and dispute a charge on another. Traces show your coordinator calling the Task tool for the returns specialist, waiting for its result, then calling it for the billing specialist in the next turn. The two investigations are independent, and replies to multi-concern requests now take twice as long. What change would most effectively address this?
- Your coordinator collects the web search and document analysis results, then invokes the synthesis subagent with a brief it writes itself, such as "Sources broadly agree that adoption rose sharply." Reports read well but rarely quote a figure, and reviewers can't trace claims to sources. What change would most effectively address this?
- Your analysis subagent scans a legacy codebase for deprecated API calls and returns its findings as paragraphs of prose to a report subagent. The report is readable, but a third of its entries name the wrong file or line, and two findings from different modules are merged into one. What change would most effectively address this?
- Your coordinator delegates test writing with a prompt that lists steps: open the changed file, write three tests per function, run pytest, report the results. The subagent obeys exactly, producing tests for trivial getters while the bug-prone error handling in the change goes untested. Which approach should you take?
- Your coordinator has spent forty minutes gathering and analysing sources on a market question. Leadership now wants two versions of the report: one arguing for a conservative strategy and one for an aggressive strategy, each built from the same evidence without either argument shaping the other. Which approach should you take?
- Your coordinator should delegate test writing and code search to subagents, but traces show it describing what a subagent "would do" and then doing the work itself, filling its own context. Its allowedTools list is Read, Grep, Glob and Bash, and three subagents are defined with clear descriptions. What change would most effectively fix this?
- Your refund subagent's AgentDefinition omits a tools list, so it inherits every tool the coordinator can reach, including close_account. Last week it closed an account while "tidying up" after a refund. The coordinator itself needs close_account for a separate, verified workflow. What change would most effectively prevent this?
- Your coordinator routes questions about PDFs in the internal library to the web search subagent about a third of the time, instead of to document analysis. Both AgentDefinitions describe their subagent as "Research assistant for gathering information." Questions rarely mention the word PDF. What change would most effectively improve routing?
- Each of your research subagents is defined with the coordinator's full system prompt plus one line naming its role. The synthesis subagent now launches its own web searches and writes in the coordinator's planning voice, and the citation checker rewrites prose instead of checking sources. What change would most effectively address this?
- A compliance reviewer worries that your returns subagent can see full card numbers that customers sometimes type into chat, because "subagents share the coordinator's memory". The coordinator currently passes each subagent the customer's last three messages verbatim. What should you tell the reviewer, and what should you change?
- Your coordinator asks a review subagent to "check the files at these paths for unsafe SQL", passing six file paths. The subagent's AgentDefinition restricts it to Grep and Glob, and its findings are vague, flagging every file that contains the word SELECT. What change would most effectively improve the reviews?
- Your coordinator passes the full 200-page annual report to each of five analysis subagents, although each one covers a single chapter, such as risk or segment results. Runs are slow, and the risk subagent sometimes reports figures from the segment chapter as if they were its own. What change would most effectively improve this?
- Your coordinator now gives subagents goals and quality criteria instead of step-by-step procedures, and their results improved. But a refactoring subagent asked to "make the payment module easier to test" also rewrote the shared logging library that four other teams use. What change would most effectively address this?
- Your gate blocks process_refund until get_customer has been called in the conversation. A fraud review finds refunds that passed it anyway: the agent called get_customer with a name the customer gave, got "no matching customer", then refunded against an order number the customer typed. What change would most effectively close this gap?
- A customer asks to return an order, fix a delivery address and contest a fee. Your agent completes the return and the address change, but the fee needs a human, so it escalates. Human agents can't see the transcript, and they report re-checking the return and address before getting to the fee. What change would most effectively address this?
- Legal requires that no report is published until a licence check confirms every quoted source may be reproduced. Your report-generation subagent's prompt says to run the licence check before calling publish_report, and an audit finds 3% of reports were published without one. What change would most effectively meet the requirement?
- Your code-exploration agent often reads whole files before searching, which wastes tokens when a quick Grep would have found the relevant lines. A teammate proposes a hook that blocks Read until Grep has run in the session. Sometimes the agent already has an exact file path from an error message. Which approach should you take?
- A developer asks your assistant three things in one message: why CI builds got slower this week, why yesterday's deploy failed, and to update the README's setup steps. The assistant works through them in order, re-reading the same CI configuration for each, and its reply covers the slow builds in depth but barely mentions the other two. Which approach should you take?
- Policy requires a passcode check before any change to a customer's delivery address. The prompt states the rule with examples, yet in about 0.4% of conversations update_address runs before verify_passcode succeeds, usually when customers say they are in a hurry. The model supports forced tool use. What change would most effectively enforce the policy?
- When two credible sources disagree on a key figure, your research coordinator escalates to an analyst. The analyst receives "Conflict found in market sizing, please review" and spends half an hour reconstructing which sources, figures and dates were involved. What change would most effectively improve these escalations?
- Identity verification before refunds is enforced only by the system prompt, and measured compliance is 99.6%. Your platform handles about 250,000 refund conversations a month. A manager argues that 99.6% is excellent and a programmatic gate is unnecessary engineering. What should you recommend?
- Your coding agent escalates to a human reviewer when it cannot fix a failing build after several attempts. Reviewers say the escalations read "Build still failing, please help", and they spend twenty minutes re-running what the agent already tried. Which two additions to the handoff would most help the reviewer act straight away? (Select two.)
- Your coding agent should add a changelog entry with each change it commits, and it forgets about one time in twenty. A teammate proposes a hook that blocks any commit without a changelog entry, but developers often ask the agent for quick work-in-progress commits on feature branches. Which approach should you take?
- Your support agent must not issue refunds above the customer's plan limit, but process_refund belongs to the payments team, who won't change it this quarter. The limit is in the system prompt, and an audit found two over-limit refunds last month. What change would most effectively enforce the limit?
- Production deploys require a human approval. Your coding agent's PreToolUse hook on deploy_production asks the agent to confirm it has approval, and lets the call through when the agent replies yes. Last month one deploy went out with no approval on record. What change would most effectively enforce the requirement?
- Your refund gate blocks process_refund until get_customer returns a verified ID. Customers who have lost access to their email and phone can never pass verification, so the agent loops asking for details and the conversation ends unresolved. A manager proposes letting the agent skip the gate when it judges a customer is genuine. What should you do?
- get_customer returns the customer's full card number among its fields, and the payments team owns that MCP server and won't change it this quarter. Security requires that your support agent never processes full card numbers. A prompt rule against repeating them is already in place, but transcripts show the agent quoting them back. What change would most effectively meet the requirement?
- Your web search tool returns dates like "3 days ago" and "Mar 4", while a news MCP tool returns Unix timestamps. The synthesis subagent's timelines put events in the wrong order and attribute figures to the wrong year, even though each source's facts are reported correctly. What change would most effectively address this?
- Your codebase agent can run shell commands, and twice this month it ran a database migration against the production database while investigating a bug. The team wants this to be impossible, but still wants the agent able to propose migrations when a fix needs one. Which approach should you take?
- Customer feedback says your support agent apologises too often, sometimes three times in one reply. Policy is to apologise once, where the company was at fault. A teammate proposes a hook to enforce the policy, since "hooks are deterministic." Which approach should you take?
- Your coding agent occasionally writes API keys it found in a .env file directly into source files it edits. Security requires that a secret is never written into a tracked file, and asks for the agent to reference an environment variable instead. A git pre-commit check already exists. What change would most effectively meet the requirement?
- A PreToolUse hook blocks process_refund above $500, as policy requires, by returning a bare deny. Since it went live, the agent tells customers "Sorry, your refund failed" and ends the conversation, and complaints about large refunds have doubled. Policy says those refunds need human approval, not refusal. What change would most effectively fix this?
- Your release agent reads results from two CI tools: one reports status as 0 or 1, the other as "passed" or "failed". Twice this month the agent treated a 0 from the first tool as a failure and blocked a good release. Neither tool's owner will change its output format. What change would most effectively fix this?
- Your PreToolUse hook blocks process_refund calls above the customer's limit. Last sprint the payments team added issue_refund_v2 for partial refunds, and the agent now uses it for most refunds. An audit finds several partial refunds far above policy, none blocked. What change would most effectively restore enforcement?
- Your refund hook blocks amounts above a fixed $500. Policy now sets the limit by customer tier, at $200, $500 and $1,500, and finance changes the figures about once a month. Agents follow a prompt table of tier limits instead, and two refunds last month exceeded their tier's limit. What change would most effectively enforce the policy?
- Security sets two new rules for your coding agent: it must never modify files under migrations/applied/, and secret values that appear in Bash output, such as printed environment variables, must never reach the model's context. Both rules are currently in CLAUDE.md, and both have been broken this month. Which two changes should you make? (Select two.)
- A teammate added a PreToolUse hook that blocks any Bash command containing "rm", to stop destructive deletions. It also blocks git rm --cached and npm run format:rm-trailing, so developers now disable the hook to get their work done. What change would most effectively restore protection?
- Your security team requires an audit record, with the path and a diff, of every file your coding agent changes. The agent's prompt tells it to call log_change after each edit, but an audit found about one edit in ten unrecorded. What change would most effectively meet the requirement?
- Your refund hook calls the company policy service to check each refund's limit. During a 40-minute policy-service outage, the hook could not reach the service and let every refund through, including several far above policy. What change would most effectively prevent a repeat?
- Your research system answers "Why did churn among our enterprise customers rise last quarter?" with a fixed pipeline: search, analyse, synthesise. Midway through, analysis found that most of the churned accounts shared one integration partner, but the pipeline had no step to follow that lead, and the report never mentions it. Which approach should you take?
- Your review agent already analyses each file of a pull request in its own pass, and the per-file findings are precise. But a PR that renamed a field in an API response passed review cleanly, then broke three callers in other files that were each reviewed in isolation. What change would most effectively catch this kind of defect?
- Before a draft reply goes to a customer, your support agent reviews it in one prompt for tone, refund-policy compliance and factual accuracy. QA finds tone is checked well, but replies promising refunds outside policy still get through about one time in ten. The same three checks apply to every reply. Which approach should you take?
- You're asked to convert a 300-file service from callbacks to async/await. Nobody knows the dependency graph, and converting a module before the modules it calls tends to break things. A teammate proposes converting files in alphabetical order, twenty per day, until done. What's the most effective first step?
- Your support team wants two new automations. One produces a weekly QA report on 50 sampled tickets, checking the same six things every week. The other investigates sudden spikes in refund requests, where the cause is unknown until someone digs in. How should you structure each?
- Your release-notes agent runs a fixed chain: list merged PRs, classify each, group by area, write notes. When step two misclassifies a PR, later steps build on it, and the published notes are wrong in ways nobody notices until customers ask. The chain itself suits the task. What change would most effectively improve reliability?
- Your weekly competitor summary runs as a fixed five-step chain: gather announcements, extract product changes, extract pricing changes, compare with last week, and write the summary. It is reliable and cheap. A teammate wants to switch to dynamic decomposition "for flexibility". What should you recommend?
- A test fails about one run in twenty. Your agent was given a fixed plan: check the test, then its fixture, then the CI configuration. All three looked fine, so it reported "no cause found". A developer later traced the failure to global state another test leaves behind. What change would most effectively improve investigations like this?
- Product wants a table comparing 12 named vendors on the same eight criteria, refreshed every quarter. Your team built an open-ended research agent for it, and each run explores differently: some vendors get deep coverage, others miss criteria, and quarters are hard to compare. What change would most effectively improve this?
- Your research system analyses each of 25 sources in its own pass, and each pass is accurate. But the final report repeats one statistic three times under different source names, and states two contradictory growth figures in different sections without noting the conflict. What change would most effectively address this?
- You must move 200 service configuration files from YAML to a new JSON schema. The field mapping is fully documented, every file follows the same structure, and a validator checks the output. A colleague suggests an adaptive agent that explores the configs and plans as it goes. Which approach should you take?
- An enterprise customer has 14 open tickets, and your agent is asked to find what is going wrong. Its adaptive plan keeps generating new subtasks from each finding, and after two hours it has opened 40 lines of enquiry, several unrelated to the tickets, without concluding anything. What change would most effectively improve the investigation?
- Asked "Why did our APAC customer satisfaction fall last quarter?", your research agent writes an eight-subtopic plan up front and works through it in order, although the first findings point to a billing outage in two countries. Which two changes would most improve investigations like this? (Select two.)
- You run two long investigations in the same repository over several days: one into a memory leak, one into flaky tests. Each morning you reopen your work with claude --continue, and twice this week you found yourself in the flaky-test session while meaning to pick up the leak. Which approach should you take?
- A customer's refund conversation stalled yesterday after the agent had called get_customer and lookup_order. Overnight a human agent processed the refund and updated the account. When the customer returns, your system resumes yesterday's session, and the agent offers to issue the refund that was already paid. What change would most effectively prevent this?
- Your coordinator's session holds analysis of forty sources for a market report due tomorrow. Overnight, two of those sources published corrections to figures the draft relies on; the other thirty-eight are unchanged. You want to finish the report with the corrected figures at the lowest cost. Which approach should you take?
- On Friday your agent spent an hour mapping a payment service's modules and data flows. Over the weekend the only change to the repository was a README typo fix. A teammate suggests starting Monday with a fresh session and a structured summary, because "resuming risks stale context." Which approach should you take?
- A research investigation into supply-chain risk runs across a week, and you return to it each morning. To keep the original analysis safe, a colleague suggests running fork_session on the investigation every morning and working in the new branch for that day. The sources have not changed. Which approach should you take?
- Yesterday your agent spent two hours analysing a service's modules in a named session. Overnight a teammate merged a refactor that rewrote most of those modules and moved several files. You want to continue the investigation this morning. Which approach should you take?
- After mapping a payment library's test suite in one session, you want to compare two strategies, contract tests at the API boundary and property-based tests on the core calculations. Each will involve a lot of exploration, and they must start from the same mapping without seeing each other. Which approach should you take?
- You resume a five-day-old research session to finish a pricing report. Nobody has flagged any changes, but its context includes competitor prices fetched on day one, and the draft states them as current. Prices in this market change weekly. What change would most effectively prevent stale figures in the report?
- You return to a two-day investigation after the branch was rebased onto a main that rewrote most of the modules the session analysed. The old session's early conclusions about two untouched modules still hold, and its context is full of exploration output. Which two actions should you take? (Select two.)
- A customer verified their identity in chat and agreed a replacement with your agent, then continued by email the next day. The email session started from nothing and asked them to verify and explain again. Replaying yesterday's full transcript would carry stale order statuses. What change would most effectively address this?
- You forked a session to compare two refactoring approaches, and both branches edit files in the same working directory. The first branch now reports test failures caused by the second branch's edits, and neither comparison can be trusted. What should you change?
- An analyst forked a research session to try a different source-weighting scheme, and now wants a single report combining the best findings from both branches. They expect to "merge the forks" back into one session. What should you advise?
- You are starting a new session to continue a three-day investigation whose early tool results are now stale. You can include about two pages in the new session's initial context. What should those two pages contain?