Quizzes Context, memory and multi-agent systems 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.
Back to the module Flashcards
Checking answers needs JavaScript. You can still read every question and option below.
Keyboard: arrow keys move between options. Space or Enter selects the focused option.
One question at a time
Objective Apply the four context moves (write, select, compress, isolate) to a long-running agent problem and say which move fixes it.Question 1 of 23 A 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.
Check answer
Question 2 of 23 A 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.
Check answer
Question 11 of 23 A 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.
Check answer
Objective Order a prompt so a stable prefix can be cached, and name an edit that invalidates the cache.Question 3 of 23 You 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.
Check answer
Question 4 of 23 On 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.
Check answer
Objective Choose a memory type (working, episodic, semantic or procedural) for a given fact and specify its write, recall, forget and privacy rules.Question 5 of 23 An 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.
Check answer
Question 6 of 23 A 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.
Check answer
Question 7 of 23 A user asks for their data to be deleted. Which design lets you honour that request for a memory feature? Choose one answer.
Check answer
Objective Diagnose a degrading agent as overflow, distraction, drift or tool-output bloat, and give a remedy and a measurement for each.Question 8 of 23 A 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.
Check answer
Question 9 of 23 After 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.
Check answer
Question 10 of 23 A 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.
Check answer
Objective Choose 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.Question 12 of 23 A 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.
Check answer
Question 13 of 23 Which task is the strongest case for a multi-agent design, given its higher token cost? Choose one answer.
Check answer
Question 15 of 23 In 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.
Check answer
Objective Estimate the end-to-end success of an n-step chain from its per-step success rate, and name the design changes that raise it.Question 14 of 23 A 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.
Check answer
Question 16 of 23 Design 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.
Check answer
Objective Grade an agent run on its final state and its trajectory instead of on the agent's own claim of success.Question 17 of 23 A refund agent ends with the message "Refund issued." Which check best shows the task succeeded? Choose one answer.
Check answer
Question 18 of 23 Two 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.
Check answer
Objective Compare pass@k with pass^k and compute both for a task that succeeds with probability p on independent runs.Question 19 of 23 A task passes 90% of the time per run, and runs are independent. With k = 3, which pair of values is correct? Choose one answer.
Check answer
Question 20 of 23 Which 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.
Check answer
Question 21 of 23 The 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.
Check answer
Objective Plan an agent release gate: a task set, graders, run budgets, tracing, a kill switch and approval for irreversible actions.Question 22 of 23 A team must decide whether to release a booking agent. Which release gate is best defined? Choose one answer.
Check answer
Question 23 of 23 In 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.
Check answer