Question 1 Domain 1: Agentic Architecture & Orchestration · Task 1.1 FlagA developer's loop sends only the customer's latest message on each turn, and the agent keeps forgetting what was said earlier. Why?
A. The agent needs a larger model to remember earlier parts of a chat B. The API is stateless, so each request must include the full history C. The system prompt is too long, so it pushes earlier messages out D. The customer's messages are too short for the agent to remember
Show answerQuestion 2 Domain 1: Agentic Architecture & Orchestration · Task 1.1 FlagClaude's reply contains a tool_use block. Which of its fields does the loop use to run the tool and send back the matching result?
A. stop_reason to run the tool, and the text block to pair a result B. The system prompt to run the tool, and usage to pair the result C. The model ID to run the tool, and the timestamp to pair a result D. name and input to run the tool, and id to pair the tool_result
Show answerQuestion 3 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagA customer asks for an order's status and an update to their email address. The two requests are independent. How should the agent handle them efficiently?
A. Run both tool calls in the same turn, then reply once with both results B. Update the email first, since account changes always come before orders C. Finish the status lookup, end the chat, and ask them to raise the email D. Escalate the chat, since two requests at once need a human to handle
Show answerQuestion 4 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagEscalated cases go to a general queue, and billing disputes often reach technical staff who can't handle them. What should the handoff include?
A. A note asking whoever picks it up to forward it if needed B. The agent's confidence score for the escalation decision C. A category, such as billing or technical, that routes the case D. The customer's full name in capital letters at the very top
Show answerQuestion 5 Domain 1: Agentic Architecture & Orchestration · Task 1.2 FlagThe team proposes six specialist subagents for a support agent that mostly answers FAQs and processes simple refunds. What is the better starting design?
A. No tools at all, with every answer written into the system prompt B. One agent with well-designed tools, adding subagents only if needed C. Twelve subagents, so that every possible request has its own specialist D. Six subagents from day one, since multi-agent designs always do better
Show answerQuestion 6 Domain 1: Agentic Architecture & Orchestration · Task 1.5 FlagThe agent keeps miscalculating whether orders are still within the 30-day return window. How could a hook help?
A. A prompt line asks the agent to count the days more carefully each time B. A daily report lists every return that was handled with the wrong date C. A PostToolUse hook adds the computed return deadline to lookup_order D. A PreToolUse hook blocks lookup_order whenever a return is mentioned
Show answerQuestion 7 Domain 2: Tool Design & MCP Integration · Task 2.1 Flaglookup_order returns status codes like "ST_03" and "ST_07", and the agent often misreads them. What is the best fix?
A. Return readable statuses such as "shipped" or "awaiting payment" B. Ask the agent to guess what each code means from its context C. Return the codes as numbers only, so they take fewer tokens D. Add a table of every status code to the end of the system prompt
Show answerQuestion 8 Domain 2: Tool Design & MCP Integration · Task 2.2 Flagget_customer searches by email and finds no matching customer. The lookup itself worked. How should the tool report this?
A. As a permission error, so the agent escalates the case to a human B. As the closest matching customer, so the agent can keep on going C. As a transient error, so the agent retries the same lookup later D. As a successful result saying no customer matched that email
Show answerQuestion 9 Domain 2: Tool Design & MCP Integration · Task 2.3 FlagPolicy says only human staff may delete customer accounts. How should the support agent's tools reflect this?
A. Give it delete_account with a prompt not to use it B. Give it delete_account only during business hours C. Don't give the agent a delete_account tool at all D. Give it delete_account but log each call to review
Show answerQuestion 10 Domain 2: Tool Design & MCP Integration · Task 2.4 FlagAn MCP server for the support tools reports failures, such as "order not found in warehouse", as JSON-RPC protocol errors, and the agent never sees them. What should it do instead?
A. Stop the MCP server process whenever a tool call fails for any reason B. Return a normal result with the error text hidden in an unused field C. Keep using protocol errors, since they are the standard for any failure D. Return them in the tool result with isError true, so Claude can react
Show answerQuestion 11 Domain 5: Context Management & Reliability · Task 5.1 FlagMid-chat, a customer corrects their delivery address. Later in the conversation, the agent uses the old address. What should the design ensure?
A. The agent asks for the address again before every single action B. The case-facts block is updated whenever a fact changes in the chat C. The first address mentioned is always kept, since it came first D. The address is kept only in history, and the agent searches it
Show answerQuestion 12 Domain 5: Context Management & Reliability · Task 5.1 FlagA loyal customer has 200 past orders, and the agent loads all of them into context to handle a question about last week's delivery. What should it do?
A. Fetch only the recent or relevant orders needed for the question B. Load no orders at all and answer from the customer's description C. Load all 200 orders, since any of them might matter to the answer D. Load the 200 orders, but ask the agent to read them more quickly
Show answerQuestion 13 Domain 5: Context Management & Reliability · Task 5.2 FlagHalfway through processing a refund, the customer says, "Actually, put me through to a person." What should the agent do?
A. Ask the customer to confirm three times that they really want a person B. Ignore the request until the refund is complete and the case is closed C. Cancel the refund silently and then transfer the customer to a person D. Escalate now, with a summary that includes the refund's current status
Show answerQuestion 14 Domain 5: Context Management & Reliability · Task 5.2 FlagThe order system is down, and every lookup_order call fails after retries. A customer needs an urgent answer. What should the agent do?
A. End the chat quietly so that the customer can try again another time B. Keep retrying the lookup for as long as the customer stays in the chat C. Explain the outage and escalate or arrange a follow-up, since it is stuck D. Guess the order status from the order date and give that as the answer
Show answerQuestion 15 Domain 4: Prompt Engineering & Structured Output · Task 4.2 FlagReplies are accurate but often long and cold. The team wants short, warm answers. What is the most effective prompt change?
A. Ask the agent to apologise at the start of every single reply B. Add two or three example replies in the desired tone and length C. Add the instruction "be warm" in capital letters at the very end D. Limit max_tokens to 50 so that every reply has to be very short
Show answerQuestion 16 Domain 3: Claude Code Configuration & Workflows · Task 3.1 FlagCLAUDE.md still says "use Jest", but the project moved to Vitest months ago, and Claude keeps writing Jest tests. What should the team do?
A. Update CLAUDE.md, since stale instructions actively mislead Claude B. Delete CLAUDE.md completely, since it is clearly out of date by now C. Switch the project back to Jest so that it matches what CLAUDE.md says D. Correct Claude in each session whenever it writes a Jest-style test
Show answerQuestion 17 Domain 3: Claude Code Configuration & Workflows · Task 3.1 FlagCLAUDE.md is written as long narrative paragraphs, and Claude often misses rules buried inside them. How should it be rewritten?
A. As one even longer paragraph that tells the full story of the code B. As a list of rules in random order, so each gets equal attention C. As short, specific bullet points grouped under clear headings D. As a single sentence, so there is only one rule to remember
Show answerQuestion 18 Domain 3: Claude Code Configuration & Workflows · Task 3.2 FlagWhen does a custom slash command make more sense than typing the request in plain language each time?
A. When the same multi-step workflow is repeated often and must stay consistent B. When the request is so short that typing it takes only a few seconds C. When the team wants Claude to respond with different steps every time D. When the request is a one-off question that will never be asked again
Show answerQuestion 19 Domain 3: Claude Code Configuration & Workflows · Task 3.2 FlagA /compare-branches command needs two branch names, as in /compare-branches main feature-x. How can the command file refer to each one separately?
A. With a prompt asking Claude to guess the branches from recent work B. With positional placeholders such as $1 and $2 in the command text C. With a config file that the developer edits before each comparison D. With two separate command files, one for each of the branch names
Show answerQuestion 20 Domain 3: Claude Code Configuration & Workflows · Task 3.3 FlagAn engineer has personal conventions for every repository they work in, such as "explain regex patterns". According to current docs, where can personal rules live?
A. In each repository's .claude/rules/ folder, committed for everyone B. Nowhere, since rules files can only ever be placed inside a project C. In a paths glob that matches every file in every repository there is D. In ~/.claude/rules/, which applies across that engineer's projects
Show answerQuestion 21 Domain 3: Claude Code Configuration & Workflows · Task 3.4 FlagThe team must add an authorisation check to every API endpoint, about 80 handlers across the codebase. How should the engineer start?
A. Direct execution, editing handlers one by one as they are found B. Plan mode, to agree on one consistent approach before editing C. One request asking Claude to change all 80 handlers in one turn D. Leave it to each handler's owner to add a check in their own way
Show answerQuestion 22 Domain 3: Claude Code Configuration & Workflows · Task 3.5 FlagClaude's implementation passes its own tests, but the feature still doesn't do what the product owner wanted. What would most improve the next attempt?
A. Concrete acceptance examples of expected inputs and outputs B. A shorter description of the feature, so there is less to read C. A request that Claude write even more tests of the same kind D. A note saying the product owner is unhappy with the result
Show answerQuestion 23 Domain 3: Claude Code Configuration & Workflows · Task 3.5 FlagA button renders in the wrong place, and describing the layout in words hasn't helped Claude fix it. What should the engineer try?
A. Remove the button from the page so the layout problem goes away B. Describe the layout again using longer and more detailed sentences C. Share a screenshot of the bug and a mockup of the intended layout D. Ask Claude to try random CSS changes until the button looks right
Show answerQuestion 24 Domain 1: Agentic Architecture & Orchestration · Task 1.7 FlagAn engineer forked a session to try a risky refactor. The experiment failed, and they want to go back to where they were before the fork. What should they do?
A. Start a new session and redo all of the earlier work again B. Undo every change in the fork, one message at a time by hand C. Continue the failed fork and hope the refactor starts working D. Resume the original session, which the fork left unchanged
Show answerQuestion 25 Domain 1: Agentic Architecture & Orchestration · Task 1.5 FlagFor an internal audit, the team needs a record of every shell command Claude Code runs. What should you configure?
A. A PostToolUse hook on Bash that logs each command and its result B. A CLAUDE.md line asking Claude to write down each command it runs C. A PreToolUse hook that blocks every Bash command until it is logged D. A weekly reminder for engineers to export their terminal history
Show answerQuestion 26 Domain 1: Agentic Architecture & Orchestration · Task 1.3 FlagThe team wants Claude to delegate to its perf-analyzer subagent automatically whenever performance comes up, without being asked. What helps most?
A. A longer system prompt inside the subagent with more profiling detail B. A rule that engineers must type the subagent's name in every request C. A description saying when to use it, such as "use proactively for perf" D. A file name for the subagent written entirely in capital letters
Show answerQuestion 27 Domain 2: Tool Design & MCP Integration · Task 2.5 FlagGrep finds a deprecated function call, but the engineer needs a few lines around each match to judge whether it is safe to change. What should Claude use?
A. Bash to open each file in an interactive editor that the agent controls B. Write to copy each matching file before looking at the surrounding code C. Glob to list files, then Read every file from the first line to the last D. Grep with context lines around each match, before reading full files
Show answerQuestion 28 Domain 2: Tool Design & MCP Integration · Task 2.4 FlagA teammate is prompted to approve the project's MCP servers the first time they open the repository in Claude Code. Why does this happen, according to current docs?
A. The servers are broken and must be reinstalled by every new teammate B. Project-scoped servers from .mcp.json need approval before first use C. Every MCP server must be approved again each day for security reasons D. The prompt appears only when a server has been removed from the repo
Show answerQuestion 29 Domain 5: Context Management & Reliability · Task 5.4 FlagAn engineer is changing three packages in a monorepo, one after another, and the single long session is getting confused between them. What would help?
A. Use a separate, focused session or subagent for each package B. Work on all three packages at the same time in a single long turn C. Keep all three packages in one session and repeat the context more D. Paste all three packages' source code into the conversation at once
Show answerQuestion 30 Domain 5: Context Management & Reliability · Task 5.4 FlagSubagents report back with large blocks of copied source code, filling the main context. What should they return instead?
A. Screenshots of the code, since images take up less context B. Only a yes or no answer, with no references or other details C. Even more source code, so that the main agent has every detail D. Short findings with file:line references to the relevant code
Show answerQuestion 31 Domain 3: Claude Code Configuration & Workflows · Task 3.6 FlagA CI review occasionally runs away and uses far more turns and cost than expected. Which control fits a headless run?
A. Ask Claude in the prompt to try to finish in fewer turns if it can B. Let it run as long as it likes, since CI jobs are cheap anyway C. Cap the run with a --max-turns limit and alert when it is hit D. Run the review only once a month, so runaway costs are rarer
Show answerQuestion 32 Domain 3: Claude Code Configuration & Workflows · Task 3.6 FlagReview results change after Claude Code updates itself in CI, which makes it hard to tell whether prompt changes helped. What should the pipeline do?
A. Change the prompt every time the review results look different B. Pin the Claude Code version in CI and upgrade it on purpose C. Install the newest version on every run so it is always up to date D. Stop comparing results, since some variation will always happen
Show answerQuestion 33 Domain 3: Claude Code Configuration & Workflows · Task 3.6 FlagThe CI review uses --output-format json with --json-schema. Where should the posting script read the validated findings from, according to current docs?
A. The session_id field, which encodes the findings B. The CI job's log output, scanned line by line C. The plain-text result, using a regex to find JSON D. The structured_output field of the JSON result
Show answerQuestion 34 Domain 3: Claude Code Configuration & Workflows · Task 3.6 FlagClaude Code generates tests in CI and opens a PR with them. How should these PRs be handled?
A. Merge them automatically whenever all of the new tests pass B. Close them automatically, since generated tests aren't trusted C. Open them as drafts that need a human review before merging D. Merge them automatically, then review them at the end of month
Show answerQuestion 35 Domain 4: Prompt Engineering & Structured Output · Task 4.1 FlagThe team wants the reviewer to flag breaking changes, but "flag breaking changes" catches too much. How should the criteria define it?
A. Leave it as "flag breaking changes" and trust the reviewer's judgment B. List what counts, such as a removed public function or changed signature C. Ask the reviewer to flag only the breaking changes it feels sure about D. Flag every changed line in any public file as a possible breaking change
Show answerQuestion 36 Domain 4: Prompt Engineering & Structured Output · Task 4.1 FlagThe reviewer comments on every dependency bump, including small patch releases. The team only cares about major-version upgrades. What should the criteria say?
A. Flag dependency changes only for major-version upgrades B. Flag every dependency change, since any update has risk C. Never flag dependency changes, since tools handle them D. Flag dependency changes only when the reviewer is unsure
Show answerQuestion 37 Domain 4: Prompt Engineering & Structured Output · Task 4.2 FlagThe reviewer posts one comment per line for a single repeated issue, burying the PR in near-identical comments. Which example would help most?
A. An example comment that repeats the same issue on every single line B. An example of a perfect PR that needed no comments from the reviewer C. An example comment that groups every instance of an issue together D. An example comment that is longer and more detailed than the others
Show answerQuestion 38 Domain 4: Prompt Engineering & Structured Output · Task 4.4 FlagThe findings schema requires a fix_suggestion field, but some findings come back without it and fail validation. What should the pipeline do?
A. Post them anyway, leaving the fix suggestion section blank in PRs B. Delete those findings, since they didn't follow the schema exactly C. Remove fix_suggestion from the schema so validation always passes D. Retry those findings with the specific validation error included
Show answerQuestion 39 Domain 4: Prompt Engineering & Structured Output · Task 4.5 FlagSecurity wants a full audit of all 40 company repositories once a month, with results due within a week. Which approach fits?
A. The Message Batches API, since the job is large and not time-critical B. Synchronous requests, one repository at a time, as fast as possible C. A single request containing every file from all forty repositories D. Streaming requests, so that the results show up as soon as possible
Show answerQuestion 40 Domain 4: Prompt Engineering & Structured Output · Task 4.6 FlagLarge PRs get uniformly shallow reviews. How could a multi-pass design focus effort where it matters?
A. Every file gets exactly the same short pass, regardless of the risk B. A triage pass ranks files by risk, then deep passes go to the riskiest C. The review is skipped for any PR that changes more than twenty files D. Only the first five files in the diff get reviewed, in the given order
Show answerQuestion 41 Domain 4: Prompt Engineering & Structured Output · Task 4.6 FlagPer-file review passes often report the same issue several times across files. What should be added after them?
A. An aggregation pass that merges duplicate findings into one B. A rule that each file pass may only report a single finding C. Nothing; developers can spot the duplicates when they read D. A second set of per-file passes, run to confirm each finding
Show answerQuestion 42 Domain 4: Prompt Engineering & Structured Output · Task 4.3 FlagSome findings name files that aren't part of the PR. How can the schema prevent this?
A. Accept any file and filter out the wrong ones after posting B. Remove the file field, so findings refer to the PR as a whole C. Allow any string, and ask the model to name the right files D. Build the file field as an enum of the PR's changed files
Show answerQuestion 43 Domain 1: Agentic Architecture & Orchestration · Task 1.6 FlagMany PRs only change documentation, yet every PR goes through the full code review pipeline. How should the pipeline be decomposed?
A. Review docs-only PRs twice, since documentation matters a lot B. Classify each PR first, and send docs-only PRs to a lighter check C. Run the full code review on every PR, whatever it happens to change D. Skip review for every PR whose title mentions the word "docs"
Show answerQuestion 44 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagA manager suggests letting the AI reviewer approve PRs on its own when it finds no issues. What is the better design?
A. Let the AI approve PRs, but only for developers it has seen before B. Let the AI approve PRs, and review them later if problems appear C. Keep human approval required in branch protection, with AI as input D. Let the AI approve PRs whenever it finds nothing to comment on
Show answerQuestion 45 Domain 4: Prompt Engineering & Structured Output · Task 4.2 FlagThe reviewer reliably catches simple bugs but keeps missing race conditions in async request handlers, a class of bug the team cares about. What should you add?
A. Examples of that race-condition pattern, showing why each one is a bug B. A note asking the reviewer to look harder at every async function it sees C. A longer general description of what concurrency means in programming D. A rule that every async handler must be flagged as risky in all reviews
Show answerQuestion 46 Domain 4: Prompt Engineering & Structured Output · Task 4.3 FlagDates come out in many formats, such as "3/4/26", "March 4" and "2026-03-04". How should the schema guide this?
A. Define dates as numbers counting the days since 1900 B. Define each date field as an ISO 8601 string, YYYY-MM-DD C. Define dates as free text so any format can be written D. Leave date formats to the downstream systems to clean
Show answerQuestion 47 Domain 4: Prompt Engineering & Structured Output · Task 4.4 FlagA vendor tax ID fails its checksum validation. What is a sensible handling policy?
A. Retry forever until the extracted ID passes the checksum validation B. Accept the ID, since checksums are only a rough guide to correctness C. Replace the ID with a valid-looking one so the record can be posted D. Retry once with the checksum error, then route to review if it fails
Show answerQuestion 48 Domain 5: Context Management & Reliability · Task 5.5 FlagExtraction has run well for months. How can the team notice early if accuracy starts to slip?
A. Assume accuracy stays stable, since the prompt has not changed B. Wait for finance to report problems with the posted records C. Track sampled accuracy per field over time, and alert on drops D. Check accuracy once a year when the external audit happens
Show answerQuestion 49 Domain 5: Context Management & Reliability · Task 5.5 FlagCustoms declarations make up only 1% of documents, so a 2% random sample of all documents rarely includes any. How should sampling handle them?
A. Assume customs declarations are as accurate as the other types B. Sample customs declarations at a higher rate as their own stratum C. Keep the uniform 2% sample, since it is fair to every document D. Stop processing customs declarations until there are more of them
Show answerQuestion 50 Domain 5: Context Management & Reliability · Task 5.6 FlagReviewers want to see exactly where each extracted value sits on the original page. What should each field store?
A. The page number and the location of the text it came from B. The value and the time it was extracted, but no location C. The value and the model version that produced the output D. The value only, since reviewers can search the PDF by hand
Show answerQuestion 51 Domain 2: Tool Design & MCP Integration · Task 2.1 FlagThe extraction tool is named process with the description "Processes the document". What is the better interface?
A. The same name, with "very important tool" added to its description B. A shorter name such as p, so that the tool definition uses fewer tokens C. The same name, with the full schema documented in the system prompt D. A specific name such as extract_invoice_fields, with a clear description
Show answerQuestion 52 Domain 2: Tool Design & MCP Integration · Task 2.1 Flaglookup_vendor returns a 60-field vendor record, but extraction only needs the vendor ID, legal name and tax ID. What should change?
A. Return all 60 fields, since the model can ignore the ones it skips B. Return the vendor ID only, so the model looks up the rest itself C. Return just the fields extraction needs, keeping the result lean D. Return the record as a compressed file to save space in context
Show answerQuestion 53 Domain 2: Tool Design & MCP Integration · Task 2.2 FlagAn uploaded scan is 120 MB, which exceeds the OCR service's size limit. How should the tool report this?
A. A transient error, so the pipeline retries the same large file later B. A non-retryable validation error suggesting the file be split or reduced C. A success result containing only the first page that could be read D. An empty result, so the document appears to contain no text at all
Show answerQuestion 54 Domain 2: Tool Design & MCP Integration · Task 2.2 FlagA receipt arrives as a .heic image, which the OCR service doesn't support. What should the tool return?
A. A transient error, since the service may support HEIC tomorrow B. Invented receipt values based on what most receipts look like C. A success result with blank fields, so the pipeline keeps moving D. A validation error naming the unsupported format, for conversion
Show answerQuestion 55 Domain 2: Tool Design & MCP Integration · Task 2.3 FlagThe extraction step defines 40 tools, one per field, such as extract_vendor and extract_total, and calls are slow and error-prone. What is the better design?
A. One extraction tool whose schema contains all of the fields B. Keep the 40 tools and ask Claude to call them in a set order C. Add 20 more tools so that every edge case has its own tool D. Keep the 40 tools but shorten each description to one word
Show answerQuestion 56 Domain 1: Agentic Architecture & Orchestration · Task 1.1 FlagTo extract an invoice, the agent needs both lookup_vendor and lookup_po, which don't depend on each other. How can the loop handle this efficiently?
A. Run both lookups twice to make sure the results are consistent B. Skip lookup_po, since one lookup per document is usually enough C. Let Claude request both in one turn, and return both results together D. Force the calls into separate turns, so only one tool runs at a time
Show answerQuestion 57 Domain 1: Agentic Architecture & Orchestration · Task 1.2 FlagEach of 1,000 invoices needs one independent extraction call, with no tools or follow-ups. A teammate proposes a coordinator with subagents. What is the simpler design?
A. Plain parallel API calls (or a batch), since no orchestration is needed B. A single request that holds all 1,000 invoices at the same time C. A coordinator that processes the invoices one by one in its context D. A coordinator with 1,000 subagents, one for each separate invoice
Show answerQuestion 58 Domain 1: Agentic Architecture & Orchestration · Task 1.3 FlagA receipts extraction subagent performs poorly on crumpled, low-quality photos. What should its delegation prompt include?
A. The coordinator's full history of every receipt processed today B. An instruction to skip any receipt that looks hard to read C. A few examples of difficult receipts with their correct extractions D. A note saying that some receipts are crumpled and hard to read
Show answerQuestion 59 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagDocuments the fraud model flags must stop and go to the fraud team, never continuing to posting. How should this be enforced?
A. The extraction prompt asks the model to be careful with flagged files B. The pipeline halts flagged documents in code and routes them to fraud C. The posting step logs a warning but continues to post the documents D. The fraud team reviews all posted documents at the end of each week
Show answerQuestion 60 Domain 1: Agentic Architecture & Orchestration · Task 1.6 FlagExtraction and normalisation, such as converting currencies and standardising vendor names, are done in one prompt, and errors are hard to trace. How could the task be decomposed?
A. Normalise first, then extract, so values are clean from the start B. Combine even more steps into the single prompt to reduce latency C. Skip normalisation, since raw values are good enough for finance D. Extract the raw values first, then normalise them in a separate step
Show answer