Module quiz

Context, memory and multi-agent systems quiz

23 questions across 3 lessons. Choose an answer, check it, and read why each option is right or wrong.

Checking answers needs JavaScript. You can still read every question and option below.

0 of 23 answered

Keyboard: arrow keys move between options. Space or Enter selects the focused option.

Context engineering and memory11 questions

ObjectiveApply the four context moves (write, select, compress, isolate) to a long-running agent problem and say which move fixes it.

  1. Question 1 of 23A coding agent saves its plan to a notes file the moment it writes it, so trimming the chat history can never erase it. Which move is that, and what is its main risk?

    Choose one answer.

  2. Question 2 of 23A lead agent hands a research sub-task to a sub-agent and gets back a 3,000-word log of every search it ran. Its window fills up again. What went wrong?

    Choose one answer.

  3. Question 11 of 23A long-running agent hands its work to a fresh agent that starts with an empty window. What should the hand-off contain?

    Choose one answer.

ObjectiveOrder a prompt so a stable prefix can be cached, and name an edit that invalidates the cache.

  1. Question 3 of 23You want the highest prompt-cache hit rate on a provider that caches a repeated prefix. Which layout of one request should you use?

    Choose one answer.

  2. Question 4 of 23On a provider that builds the cache prefix in the order tools, system, messages, a team adds one new tool and the hit rate drops to near zero. Why?

    Choose one answer.

ObjectiveChoose a memory type (working, episodic, semantic or procedural) for a given fact and specify its write, recall, forget and privacy rules.

  1. Question 5 of 23An assistant must remember across sessions that a user is vegetarian, a stable fact that applies to every future chat. Which memory type and storage fit best?

    Choose one answer.

  2. Question 6 of 23A support assistant recalls memories by similarity alone. For a question about shipping, it surfaces the user's address from two years ago, now out of date. What should change?

    Choose one answer.

  3. Question 7 of 23A user asks for their data to be deleted. Which design lets you honour that request for a memory feature?

    Choose one answer.

ObjectiveDiagnose a degrading agent as overflow, distraction, drift or tool-output bloat, and give a remedy and a measurement for each.

  1. Question 8 of 23A booking agent told "never double-book a room" starts double-booking after its history was summarised twice. Which failure is this, and what measures it?

    Choose one answer.

  2. Question 9 of 23After a new web-search tool launches, p95 cost per step triples. Traces show each call returns the full HTML of a page. What is the best fix?

    Choose one answer.

  3. Question 10 of 23A research agent's runs fail with context-length errors after about 25 steps, and traces show raw page text from earlier steps piling up in the window. Which fix and measurement fit?

    Choose one answer.

Multi-agent systems: when to use them and what they cost5 questions

ObjectiveChoose between a workflow, a single agent and a multi-agent design for a task, justifying the choice with its cost, latency and error trade-offs.

  1. Question 12 of 23A system reads one customer email, extracts fields into a fixed JSON ticket, and sends it to one of five known queues. Which structure fits best?

    Choose one answer.

  2. Question 13 of 23Which task is the strongest case for a multi-agent design, given its higher token cost?

    Choose one answer.

  3. Question 15 of 23In a support system, a billing agent and an account agent each notice the same failed payment, and each issues a refund. Which change to the multi-agent design addresses the cause?

    Choose one answer.

ObjectiveEstimate the end-to-end success of an n-step chain from its per-step success rate, and name the design changes that raise it.

  1. Question 14 of 23A team plans an 8-step autonomous chain where each step succeeds with probability 0.9, independently. The product needs 80% end-to-end success. What should they conclude?

    Choose one answer.

  2. Question 16 of 23Design X runs 20 autonomous steps, each succeeding with probability 0.98 independently. Design Y runs 5 steps, each succeeding with probability 0.95. Which has the higher end-to-end success?

    Choose one answer.

Agent evaluation: state, trajectory, pass^k and release gates7 questions

ObjectiveGrade an agent run on its final state and its trajectory instead of on the agent's own claim of success.

  1. Question 17 of 23A refund agent ends with the message "Refund issued." Which check best shows the task succeeded?

    Choose one answer.

  2. Question 18 of 23Two runs of the same task both end in the correct database state. Run A used 6 tool calls. Run B used 41, with three failed calls retried. What does state-only grading miss?

    Choose one answer.

ObjectiveCompare pass@k with pass^k and compute both for a task that succeeds with probability p on independent runs.

  1. Question 19 of 23A task passes 90% of the time per run, and runs are independent. With k = 3, which pair of values is correct?

    Choose one answer.

  2. Question 20 of 23Which metric choice fits both products: an agent that issues one refund per customer request, and a tool that drafts five patches of which CI keeps one that passes?

    Choose one answer.

  3. Question 21 of 23The same agent, with a per-run success rate between 0 and 1 on a task, is re-evaluated with k raised from 5 to 10. What happens to the two metrics on that task?

    Choose one answer.

ObjectivePlan an agent release gate: a task set, graders, run budgets, tracing, a kill switch and approval for irreversible actions.

  1. Question 22 of 23A team must decide whether to release a booking agent. Which release gate is best defined?

    Choose one answer.

  2. Question 23 of 23In staging, a booking agent is about to run a step that sends a real refund to a customer. Which control most directly prevents a wrong irreversible action?

    Choose one answer.