Question 1 Domain 1: Agentic Architecture & Orchestration · Task 1.1 FlagThe agent replies "Could you share your order number?" and the response ends with stop_reason: "end_turn". What should the system do next?
A. Treat the case as resolved, since the agent ended its turn normally B. Show the question, wait for the reply, and add it as a new user turn C. Send the same request again so the agent can try a different answer D. Call lookup_order straight away with a guessed order number for them
Show answerQuestion 2 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagA customer raises three issues. The agent resolves two, but lookup_order keeps failing for the third. How should the agent reply?
A. Mention only the two resolved issues and leave the third one out B. Report all three as resolved, then fix the third one later in secret C. Confirm the two resolved issues and explain the next step for the third D. Hold the whole reply until all three of the issues can be resolved together
Show answerQuestion 3 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagAfter the agent escalates a case, the customer asks, "So what happens now?" What should the agent's handoff message to the customer include?
A. That a specialist will take over, what they will see, and the expected timing B. An apology only, since the agent is no longer handling the customer's case C. A promise that the specialist will approve whatever the customer asked for D. The full internal handoff summary, including the agent's notes on the case
Show answerQuestion 4 Domain 1: Agentic Architecture & Orchestration · Task 1.5 FlagA network retry sometimes makes the agent call process_refund twice for the same order, paying the customer twice. How can you prevent duplicate refunds reliably?
A. A prompt instruction telling the agent never to refund the same order twice B. A monthly reconciliation that finds and reverses any duplicated refunds C. A PostToolUse hook that emails finance after every refund that is issued D. A PreToolUse hook that denies a refund if one already exists for the order
Show answerQuestion 5 Domain 1: Agentic Architecture & Orchestration · Task 1.5 FlagA PreToolUse hook for process_refund never fires. The tool comes from the support MCP server, and the hook's matcher is "process_refund". What is the most likely cause?
A. Hooks only run on built-in tools and can never apply to MCP tools B. PreToolUse hooks only fire after the tool has already finished running C. MCP tools have prefixed names, such as mcp__support__process_refund D. The matcher has to be written in capital letters to match any tool
Show answerQuestion 6 Domain 2: Tool Design & MCP Integration · Task 2.1 FlagThe agent calls escalate_to_human for simple questions it could answer. The tool's description is "Escalates to a human." What should the description add?
A. A warning that escalations are expensive and should be avoided if possible B. Nothing; the agent should decide for itself when escalation is needed C. The names of the human agents who will receive each escalated case D. When to use it, such as policy gaps or explicit requests, and when not to
Show answerQuestion 7 Domain 2: Tool Design & MCP Integration · Task 2.2 FlagThe payments API rate-limits process_refund and says to retry after 20 seconds. What should the tool's error response include?
A. isError true and a permission category, so the agent escalates it B. isError true, a transient category, retryable true and the 20 s delay C. isError true and the message "failed", with no other detail at all D. A success result, and the refund is retried quietly in the background
Show answerQuestion 8 Domain 2: Tool Design & MCP Integration · Task 2.3 FlagA new FAQ bot for the help page should answer questions about orders but never change anything. Which tools should it get?
A. Read-only tools such as get_customer and lookup_order only B. process_refund only, since refunds are what customers ask about C. All four tools, with a prompt saying it must not issue refunds D. No tools, so it answers every order question from memory alone
Show answerQuestion 9 Domain 5: Context Management & Reliability · Task 5.1 FlagA customer pastes a 3,000-word email thread into the chat. Only a few facts in it matter: an order number, a promised refund amount and a deadline. What should the agent do?
A. Keep the entire thread in every request, so no detail can be missed B. Pull those facts into the case-facts block and refer to them from there C. Summarise the thread in one sentence and keep only that summary D. Ignore the thread and ask the customer to retype only the key details again
Show answerQuestion 10 Domain 5: Context Management & Reliability · Task 5.2 FlagA customer gives an order number that belongs to a different customer's account. What should the agent do?
A. Share the order's status, since the customer already knows the number B. Move the order into the current customer's account so it can be handled C. Not reveal any details, and ask the customer to check the order number D. Read out the other account's name so the customer can confirm whose it is
Show answerQuestion 11 Domain 5: Context Management & Reliability · Task 5.2 FlagPolicy lists the cases that must go to a human. Which of these should the agent escalate?
A. A customer saying they will take legal action over a charge B. A customer asking how long standard delivery normally takes C. A customer asking to update the delivery address on an order D. A customer who writes in capital letters about a late parcel
Show answerQuestion 12 Domain 4: Prompt Engineering & Structured Output · Task 4.1 FlagThe system prompt says "escalate when you are unsure". Escalations are inconsistent: some trivial cases go up, and some policy exceptions don't. What should replace it?
A. A stronger version: "escalate only when you are very unsure" B. A rule to escalate one case in every ten to keep the queue busy C. A confidence threshold that the agent reports for each decision D. A list of explicit escalation conditions, with examples of each
Show answerQuestion 13 Domain 4: Prompt Engineering & Structured Output · Task 4.2 FlagThe agent handles borderline refund requests inconsistently, such as items damaged after delivery or late returns with a good reason. What would help most?
A. A note asking the agent to be fair and consistent with every single customer B. Two to four examples of borderline cases, showing the decision and why C. Examples of easy cases only, so the agent learns the normal pattern D. A longer policy section that lists every product the company sells
Show answerQuestion 14 Domain 4: Prompt Engineering & Structured Output · Task 4.3 FlagEscalation summaries often miss key details, such as the actions already taken. How can you make sure every summary includes them?
A. Ask the agent in its prompt to write thorough escalation summaries B. Let the human agents ask the customer again for anything that is missing C. Make escalate_to_human take a schema with required fields for each part D. Limit each summary to one short sentence so it is quick to read
Show answerQuestion 15 Domain 4: Prompt Engineering & Structured Output · Task 4.4 FlagThe agent sometimes proposes a refund larger than the order total. How should the system handle this?
A. Cap every refund at $10 so that large mistakes can't happen at all B. Process the refund as proposed, since the agent saw the whole order C. Ask the customer to confirm whether the larger amount looks right D. Validate the amount against the order and retry with the specific error
Show answerQuestion 16 Domain 3: Claude Code Configuration & Workflows · Task 3.1 FlagThe team wants project instructions shared through git but would rather not add another file to the repository root. Where else can the project CLAUDE.md live?
A. In .claude/CLAUDE.md inside the repository, committed like the rest B. In ~/.claude/CLAUDE.md, which every teammate loads automatically C. In a .gitignore-d file, so the root stays clean for every engineer D. In the README.md file, which Claude Code reads instead of CLAUDE.md
Show answerQuestion 17 Domain 3: Claude Code Configuration & Workflows · Task 3.1 FlagThe team wants lint to run before every commit Claude makes, with no exceptions. A CLAUDE.md instruction is sometimes skipped. What is the better mechanism?
A. A skill named lint that Claude is asked to run before each commit B. A user-level CLAUDE.md copy of the rule in every engineer's home C. A longer CLAUDE.md instruction, repeated in several different places D. A hook that runs lint automatically, since hooks are deterministic
Show answerQuestion 18 Domain 3: Claude Code Configuration & Workflows · Task 3.2 FlagTwenty project skills are installed. How does Claude Code decide which one to use for a request without loading all of them in full?
A. It picks a skill at random and checks whether the result looks right B. It loads every SKILL.md file in full at the start of each new session C. It reads each skill's description, and loads the full file only when used D. It asks the engineer to choose a skill from a list before every request
Show answerQuestion 19 Domain 3: Claude Code Configuration & Workflows · Task 3.2 FlagAfter running a context: fork skill, an engineer asks about a file the skill read along the way, and Claude doesn't know about it. Why?
A. The skill ran in a separate context, and only its final result came back B. The engineer needs to run /memory to reload the skill's intermediate steps C. Claude Code limits each session to remembering one skill run at a time D. Forked skills delete every file they read once they have finished running
Show answerQuestion 20 Domain 3: Claude Code Configuration & Workflows · Task 3.3 FlagDockerfiles live in many service folders, such as services/auth/Dockerfile. Which paths glob applies a container rule to all of them?
A. "*.docker", which matches files with a .docker extension B. "**/Dockerfile", which matches a Dockerfile in any folder C. "services/*", which matches every file in the services folder D. "Dockerfile", which matches only the one at the repo root
Show answerQuestion 21 Domain 3: Claude Code Configuration & Workflows · Task 3.3 FlagOne rule applies to api/**/* and another to **/*.test.ts. Claude edits api/users/users.test.ts. Which rules load?
A. Only the test rule, because the more specific glob always wins B. Only the api rule, because the folder match always comes first C. Neither rule, because a file matching two globs is ambiguous D. Both rules, because the file matches both of the path globs
Show answerQuestion 22 Domain 3: Claude Code Configuration & Workflows · Task 3.4 FlagA bug corrupts some orders, but nobody knows which of four services is responsible. How should the engineer approach it with Claude?
A. Investigate in plan mode first, tracing the flow before changing anything B. Ask Claude to rewrite all four services so the bug cannot happen anymore C. Start editing the most likely service directly and see if the bug goes away D. Add retries to every service call so that corrupted orders are reprocessed
Show answerQuestion 23 Domain 3: Claude Code Configuration & Workflows · Task 3.4 FlagAn engineer asks Claude to write a migration that changes how customer balances are stored in production. Which approach is most appropriate?
A. No Claude involvement, since AI shouldn't touch financial systems B. Plan mode first, agreeing the approach and rollback before any code C. Direct execution, since migrations are usually short scripts to write D. Direct execution, running the migration on production straight away
Show answerQuestion 24 Domain 3: Claude Code Configuration & Workflows · Task 3.5 FlagClaude's new API controller doesn't match the structure of the team's existing controllers. What is the most effective instruction?
A. Accept the controller and restructure it later during code review B. Ask Claude to write a controller that "fits in" with the existing code C. Point Claude to users_controller.ts as the pattern to follow exactly D. Describe the structure from memory in a long paragraph of prose
Show answerQuestion 25 Domain 3: Claude Code Configuration & Workflows · Task 3.5 FlagAn engineer asks Claude to build an entire reporting module in one request, and the result is hard to review and full of small problems. What approach works better?
A. Build it in small steps, reviewing and testing each one before moving on B. Ask for the whole module three times and merge the best parts of each C. Ask for the whole module again, but with more emphasis on quality D. Ask for the whole module and fix all the problems in one final pass
Show answerQuestion 26 Domain 1: Agentic Architecture & Orchestration · Task 1.7 FlagAn engineer wants to hand an investigation to a teammate who uses a different machine. What is the most practical way to pass on the context?
A. Ask the teammate to repeat the whole investigation from the beginning B. Send the teammate a screenshot of the last few messages in the session C. Ask the teammate to run claude --resume with the engineer's session name D. Write the key findings and next steps to a file or PR the teammate reads
Show answerQuestion 27 Domain 1: Agentic Architecture & Orchestration · Task 1.5 FlagClaude Code must never edit .env files, which contain local secrets. What should you configure?
A. A rule in .claude/rules/ that loads whenever a .env file is opened B. A PreToolUse hook on Edit and Write that blocks any .env path C. A PostToolUse hook that restores .env files after they are edited D. A CLAUDE.md line asking Claude never to touch .env files at all
Show answerQuestion 28 Domain 5: Context Management & Reliability · Task 5.4 FlagA refactor touches 140 files over several days. How can Claude keep track of which files are done and which remain?
A. Keep the list in the engineer's head and tell Claude when it asks B. Ask Claude to re-check all 140 files at the start of every session C. Keep a checklist in a scratchpad file and update it after each batch D. Rely on the conversation history to remember which files were already done
Show answerQuestion 29 Domain 4: Prompt Engineering & Structured Output · Task 4.2 FlagCLAUDE.md describes the preferred error-handling style in a paragraph, but generated code still varies. What change would most improve consistency?
A. Add a short code example of the preferred error-handling pattern B. Add the word IMPORTANT in capital letters before the paragraph C. Move the paragraph into a separate file that nothing imports D. Rewrite the paragraph so that it is two or three times as long as now
Show answerQuestion 30 Domain 4: Prompt Engineering & Structured Output · Task 4.6 FlagClaude generated a complex SQL migration in one session. What is the best way to have it checked before anyone runs it?
A. Run the migration on production and check the results afterwards B. Have a separate session review the migration without the first one's context C. Ask the same session whether it is confident the migration is correct D. Ask the same session to read its migration again more slowly this time
Show answerQuestion 31 Domain 1: Agentic Architecture & Orchestration · Task 1.2 FlagThe coordinator's context fills up because it reads every raw finding and writes the whole report itself. What is a better division of work?
A. Skip synthesis and publish the raw findings as the final report B. Keep everything in the coordinator but write a shorter final report C. Ask each search subagent to write its own section of the report D. Delegate synthesis to a subagent that receives the structured findings
Show answerQuestion 32 Domain 1: Agentic Architecture & Orchestration · Task 1.2 FlagAn analyst asks a simple factual question: "When did the EU AI Act enter into force?" The system runs its full six-subagent pipeline. What should the coordinator do instead?
A. Refuse simple questions, since the system is built for reports B. Run the full pipeline every time, so all answers are equally thorough C. Match the effort to the question, such as one search subagent here D. Answer from the model's memory, since the question is so simple
Show answerQuestion 33 Domain 1: Agentic Architecture & Orchestration · Task 1.3 FlagSearch subagents return findings that are accurate but miss the purpose of the request. Each Task prompt contains only a narrow search query. What should be added?
A. A longer list of keywords for each subagent to search much more widely B. The analyst's overall question, so each subagent knows what matters C. The coordinator's entire conversation history for full context D. An instruction to return as many findings as each search can find
Show answerQuestion 34 Domain 1: Agentic Architecture & Orchestration · Task 1.3 FlagAnalysts only want sources published since 2024, but subagents keep citing older studies. Where should this constraint be stated?
A. In the coordinator's own prompt, which the subagents can read B. Nowhere; the synthesis subagent will remove any older sources later C. Only in the final report, as a note about the date range used D. In each search subagent's Task prompt, as an explicit date limit
Show answerQuestion 35 Domain 1: Agentic Architecture & Orchestration · Task 1.6 FlagEarly searches show that the analyst's premise is wrong: the policy they asked about was withdrawn in 2023. How should the research plan respond?
A. Adapt the plan to investigate the withdrawal and tell the analyst B. Continue the original plan as if the policy were still in force today C. Delete the early findings so the original plan can still work D. Stop the research and return an empty report to the analyst
Show answerQuestion 36 Domain 1: Agentic Architecture & Orchestration · Task 1.4 FlagA report has a section marked "insufficient evidence". Policy says such reports need an analyst's sign-off before publishing. How should this be enforced?
A. The coordinator publishes it and emails the analyst a copy as well B. The gap section is removed so the report no longer needs a sign-off C. The publish step blocks reports with gaps until sign-off is recorded D. The report generator is asked to remind the analysts about the sign-off
Show answerQuestion 37 Domain 2: Tool Design & MCP Integration · Task 2.1 FlagSearch results come back with title, URL and snippet but no publication date, so reports can't say how current each source is. What should change?
A. Assume every source was published in the current year B. Leave dates out of reports, since readers rarely check them C. Ask subagents to estimate each date from the page's style D. Add a publication date field to the search tool's output
Show answerQuestion 38 Domain 2: Tool Design & MCP Integration · Task 2.2 FlagThe search API returns a validation error, "date_from must be before date_to", for a subagent's query. What should the subagent do?
A. Retry the identical request with backoff a few more times B. Correct the query parameters and send the fixed request C. Escalate to an analyst, since the search API is broken D. Report to the coordinator that the topic has no sources
Show answerQuestion 39 Domain 2: Tool Design & MCP Integration · Task 2.3 FlagThe coordinator sometimes answers directly and sometimes delegates to subagents through the Task tool. Which tool_choice should its requests use?
A. "auto", so it can either delegate or answer in text as needed B. A forced Task call, so a subagent is spawned for every request C. "none", so it never delegates and always answers by itself D. "any", so it must delegate to a subagent on every single turn
Show answerQuestion 40 Domain 2: Tool Design & MCP Integration · Task 2.3 FlagA verification subagent checks claims against their cited sources. Which tools should it have?
A. The report generator's tools, so it can rewrite claims directly B. Every tool in the system, so it never lacks something it needs C. A fetch tool for opening the cited URLs, but no general web search D. Full web search, so it can find better sources for every claim
Show answerQuestion 41 Domain 5: Context Management & Reliability · Task 5.3 FlagA subagent couldn't access a source but returned a "success" result whose findings say "I was unable to access the page." The coordinator treated this as a finding. What design fixes this?
A. A coordinator that scans every finding for the word "unable" B. A request that subagents write all their failures in capital letters C. A rule that subagents must never report failures to anyone D. A structured status field that marks success or failure explicitly
Show answerQuestion 42 Domain 5: Context Management & Reliability · Task 5.6 FlagOnly one small, older study supports a claim in the report. How should the report present it?
A. State the claim with its source and note that the evidence is limited B. State the claim as an established fact without mentioning its source C. Remove the claim, since every claim needs at least five studies D. Strengthen the wording so the claim sounds more convincing to readers
Show answerQuestion 43 Domain 4: Prompt Engineering & Structured Output · Task 4.3 FlagSynthesis needs to know when sources disagree, but the findings schema has no place to record it. What should be added?
A. Nothing; synthesis can detect any conflict by reading the text B. An optional field listing sources that contradict each finding C. A required field that every finding must fill with a conflict D. A free-text notes field where conflicts may or may not appear
Show answerQuestion 44 Domain 4: Prompt Engineering & Structured Output · Task 4.5 FlagEach week the system classifies 20,000 new paper abstracts by topic for a Monday digest. Which approach fits?
A. A single request containing all 20,000 abstracts at once B. Streaming requests, so each classification arrives quickly C. The Message Batches API, since the job is large and not urgent D. Synchronous requests, sent one at a time as fast as is possible
Show answerQuestion 45 Domain 4: Prompt Engineering & Structured Output · Task 4.6 FlagSynthesising 30 long sources in one pass produces vague, generic reports. How should the work be structured?
A. Extract key points from each source first, then synthesise across them B. Use only the three longest sources, since they hold the most detail C. Run the same single-pass synthesis twice and keep the longer result D. Send all 30 sources in one request with a longer output limit set
Show answerQuestion 46 Domain 2: Tool Design & MCP Integration · Task 2.4 FlagAn internal MCP server exposes a tool called exec with the description "Runs things." The agent misuses it for tasks other tools handle. What should the server's author change?
A. Leave it, since the agent will learn the right usage over time B. Ask every engineer to tell the agent when it may use the exec tool C. Keep the name but add "use with caution" to the tool description D. Give it a specific name and describe exactly what it runs and when
Show answerQuestion 47 Domain 2: Tool Design & MCP Integration · Task 2.4 FlagAn MCP server is started with --db-url and a connection string that differs per engineer. How should .mcp.json pass it without committing anyone's value?
A. Commit one shared connection string that works for the whole team B. Use ${DB_URL} in the server's args, set in each engineer's shell C. Put each engineer's connection string in the project CLAUDE.md D. Leave args empty and ask Claude to find the database URL itself
Show answerQuestion 48 Domain 2: Tool Design & MCP Integration · Task 2.5 FlagEdit keeps failing to find old_string, even though the text looks right. The file uses tabs, and the tool call used spaces. What should the agent do?
A. Give up on Edit and tell the engineer to make the change by hand B. Convert the whole file to spaces with Bash before editing it C. Read the file and copy the exact text, including its whitespace D. Retry the same Edit call, since it may succeed the second time
Show answerQuestion 49 Domain 2: Tool Design & MCP Integration · Task 2.5 FlagBefore reading code, the agent wants a list of the files that import the payments module. Which approach is most efficient?
A. Ask the engineer to list the importing files from their own memory B. Glob for files named payments, since importers share the same name C. Read every file in the repository to see which ones import payments D. Grep for the import statement and list only the matching file names
Show answerQuestion 50 Domain 3: Claude Code Configuration & Workflows · Task 3.4 FlagAn engineer asks the tool to add one new endpoint that exactly follows an existing, well-documented pattern. Which approach fits?
A. Direct execution, following the existing pattern step by step B. Plan mode, writing a full design document before making any changes C. An Explore subagent that maps the entire codebase beforehand D. A team meeting to agree on the endpoint before Claude starts
Show answerQuestion 51 Domain 3: Claude Code Configuration & Workflows · Task 3.1 FlagYour Agent SDK tool ignores the conventions in the repository's CLAUDE.md, although Claude Code follows them. What is the most likely reason?
A. The conventions must also be written into every source file as comments B. The SDK only loads project settings such as CLAUDE.md when configured to C. CLAUDE.md only works when the engineer types out the conventions themselves D. The Agent SDK can't read Markdown files, so CLAUDE.md is never loaded
Show answerQuestion 52 Domain 1: Agentic Architecture & Orchestration · Task 1.6 FlagAn engineer asks the tool to "modernise the legacy billing module". How should the task be broken down?
A. Delete the module first, then write a new one from a blank page B. Start implementing straight away and explore only if something breaks C. Explore, then plan, then implement in steps, then test after each one D. Rewrite the whole module in one pass and run the tests at the end
Show answerQuestion 53 Domain 1: Agentic Architecture & Orchestration · Task 1.7 FlagAn engineer finishes work in one repository and asks the tool about a completely different repository. What should the tool do with the session?
A. Fork the session so that both repos share it B. Start a fresh session for the new repository C. Resume a session from a third repository instead D. Continue in the same session to reuse context
Show answerQuestion 54 Domain 1: Agentic Architecture & Orchestration · Task 1.3 FlagThe engineer wants five independent modules analysed as quickly as possible. How should the coordinator spawn the analysis subagents?
A. Issue five Task calls in a single response so they run in parallel B. Spawn each subagent only after the previous one has fully finished C. Spawn one subagent and have it analyse all five modules in sequence D. Analyse all five modules in the coordinator's own context instead
Show answerQuestion 55 Domain 5: Context Management & Reliability · Task 5.4 FlagEvery new task starts with the agent rediscovering the same high-level structure of a huge repository. What would save the most time and context?
A. Let the agent rediscover the structure from scratch for each and every task B. Ask engineers to explain the repository layout at the start of tasks C. Generate a repository map of key modules once, and reuse it as context D. Paste the full contents of every file into the system prompt instead
Show answerQuestion 56 Domain 5: Context Management & Reliability · Task 5.4 FlagA subagent is asked to analyse the auth module, and it spends most of its context re-exploring the repository's layout. What should the coordinator give it?
A. Nothing extra, since exploring the layout helps it learn the repo B. The full source of every module, so it can find auth on its own C. A shorter context limit, so it is forced to explore more quickly D. The repository map and the paths of the auth module's key files
Show answerQuestion 57 Domain 5: Context Management & Reliability · Task 5.1 FlagIn a long Agent SDK session, file contents read hours ago are still in context though no longer needed, crowding out recent work. What helps most?
A. Clear or summarise stale tool results, keeping the key findings B. Re-read all those files again so the content is fresh in context C. Keep every old result, since any of them might be needed later D. Switch to a smaller model so that the context fills more slowly
Show answerQuestion 58 Domain 4: Prompt Engineering & Structured Output · Task 4.1 FlagThe tool flags "messy code", and engineers disagree with most of what it flags. How should the detection criteria be rewritten?
A. Let each engineer decide what counts as messy for their own files B. Flag every file, so that nothing messy can ever be missed again C. Define measurable rules, such as functions over 80 lines or deep nesting D. Keep "messy code" but ask the tool to be more selective about it
Show answerQuestion 59 Domain 4: Prompt Engineering & Structured Output · Task 4.5 FlagThe team wants docstrings generated for 5,000 undocumented functions, with results reviewed next week. Which approach fits?
A. Put all 5,000 functions into one prompt and ask for every docstring B. Submit them through the Message Batches API at a lower cost C. Generate them interactively, one function at a time, all day D. Use streaming, so each docstring appears on screen immediately
Show answerQuestion 60 Domain 4: Prompt Engineering & Structured Output · Task 4.3 FlagA dependency-risk report sometimes rates packages "high risk" with no reason given. How can the output schema prevent unsupported ratings?
A. Ask the model to give reasons only for packages it finds risky B. Allow risk_level to be any free text the model wants to write C. Remove risk_level and keep only the list of package names D. Require an evidence field alongside each risk_level enum value
Show answer