Quizzes Harness engineering Module quiz
Harness engineering quiz 74 questions across 7 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 Define an agent harness, say what Agent = Model + Harness means, and place it relative to prompt engineering and context engineering.Question 1 of 74 A teammate says, "The harness is just our system prompt." What is the best correction? Choose one answer.
Check answer
Question 2 of 74 Which description orders prompt engineering, context engineering and harness engineering correctly? Choose one answer.
Check answer
Objective Name the six harness component families and the failure each one prevents.Question 3 of 74 Which of these belong to the enforcement family of a harness? Select all that apply. Choose all that apply.
Check answer
Question 4 of 74 An agent that works through 40 tasks over several days keeps forgetting which tasks it has finished each time it restarts. Which family do you change first? Choose one answer.
Check answer
Objective Classify an agent failure as context, constraint, verification or planning, and name the layer you would change.Question 5 of 74 A coding agent edits its own failing tests until they pass, then reports success. Which failure is this, and what is the right fix? Choose one answer.
Check answer
Question 6 of 74 A support agent quotes a refund policy that was replaced last quarter. The only copy of the policy it could read was out of date. Which layer produced the failure? Choose one answer.
Check answer
Objective Use the p-to-the-n arithmetic to explain why long agent tasks need higher per-step reliability or recovery.Question 7 of 74 An agent completes each step correctly 98 percent of the time and a task needs 25 independent steps. About how often does the whole task succeed? Choose one answer.
Check answer
Question 8 of 74 Which changes raise the success rate of a long, multi-step agent task? Select all that apply. Choose all that apply.
Check answer
Objective Explain the ratchet and why each harness component encodes an assumption that must be re-tested.Question 9 of 74 An agent deletes a branch it should have left alone. Which response follows the ratchet? Choose one answer.
Check answer
Question 10 of 74 A planning scaffold was added to help an older model. A newer model scores the same without it on your held-out tasks. What does "assumptions decay" suggest? Choose one answer.
Check answer
Objective Explain why the model proposes and the harness disposes, and why a model's claim that it is done is a hypothesis the harness verifies.Question 11 of 74 Your agent replies "All tests pass, task complete" without calling any tool. What should the harness do? Choose one answer.
Check answer
Question 12 of 74 Why is "the model emitted no tool call" a weak definition of done? Choose one answer.
Check answer
Objective Turn tool failures into results an LLM can act on, and keep infrastructure retries out of the model's step budget.Question 13 of 74 A search tool times out for a moment because of network trouble. Which handling does the lesson recommend? Choose one answer.
Check answer
Question 14 of 74 Which of these tool results are written so that a model can act on them? Select all that apply. Choose all that apply.
Check answer
Question 15 of 74 An agent has 40 tools. Many overlap and are described as "gets data", and it often picks the wrong one. What is the best first change? Choose one answer.
Check answer
Question 16 of 74 A lookup tool feeds an agent that must pick its next action. Which result design is best? Choose one answer.
Check answer
Question 22 of 74 An agent edits files by line number, and a stale number made it overwrite the wrong line. Which tool change makes that mistake harder? Choose one answer.
Check answer
Objective Keep a large tool catalog and large tool outputs from filling the context window, and weigh a general shell tool against narrow tools.Question 17 of 74 Forty tool definitions of about 500 tokens each are loaded before every task. What does this cost, and what is one fix? Choose one answer.
Check answer
Question 18 of 74 Which are sound ways to handle a very large tool output? Select all that apply. Choose all that apply.
Check answer
Question 21 of 74 Why might a team give an agent a sandboxed shell as well as its structured tools? Choose one answer.
Check answer
Objective Make a long run resumable, explain why replay is safe only with idempotent tools, and treat tool schemas as a versioned interface.Question 19 of 74 A run crashes after send_invoice succeeded but before its result was saved. On resume the step runs again. What prevents a duplicate invoice? Choose one answer.
Check answer
Question 20 of 74 You rename a tool and change one of its arguments. Why re-run your evaluation tasks? Choose one answer.
Check answer
Objective Explain context rot and keep a long session productive with a context budget, tool-result clearing and compaction.Question 23 of 74 Why can an agent do worse as its window fills, even well before the limit? Choose one answer.
Check answer
Question 24 of 74 A tool-heavy agent keeps every old raw tool result in its history. Which change is the lightest-touch way to recover room? Choose one answer.
Check answer
Question 25 of 74 The window is 100,000 tokens, 8,000 are reserved for output and 10,000 are the fixed prompt. Compaction starts at 75 percent of what remains after the output reserve, and each capped tool step adds 2,000 tokens. About how many steps fit before compaction? Choose one answer.
About 29 steps: 75 percent of 92,000 is 69,000, and 59,000 is left after the fixed 10,000. About 46 steps: the 92,000 left after the output reserve, divided by 2,000. About 32 steps: 75 percent of the full 100,000, minus the fixed prompt, divided by 2,000. Check answer
Objective State what a compaction must keep and what it may drop, and name two ways it goes wrong.Question 26 of 74 Which should a compaction keep as written? Select all that apply. Choose all that apply.
Check answer
Question 27 of 74 After a compaction the agent tries an approach that had already failed twice. Which loss does this show? Choose one answer.
Check answer
Objective Design the handoff artefacts for work that spans many sessions: a restricted-field feature list, a progress file, version control and a startup routine.Question 28 of 74 Why should the feature list for a long-running agent start with every entry marked failing? Choose one answer.
Check answer
Question 29 of 74 A coding session is starting on a long project. Which first steps match the startup routine? Choose one answer.
Check answer
Question 30 of 74 A prompt tells the agent to change only the passes field of each feature entry. How much protection does that give? Choose one answer.
Check answer
Objective Explain why instruction files should be short maps and why knowledge the agent needs must live where it can read it.Question 31 of 74 A rule that exists only in a team chat thread keeps being broken by the agent. What is the best fix? Choose one answer.
Check answer
Question 32 of 74 Why keep the instruction file short and point into a documentation folder? Choose one answer.
Check answer
Objective Classify a control as a guide (before the action) or a sensor (after it), and as computational or inferential, and say why an agent needs both.Question 33 of 74 A linter runs after every edit and prints the rule that was broken and how to fix it. How is it best classified? Choose one answer.
Check answer
Question 34 of 74 Which of these are computational controls? Select all that apply. Choose all that apply.
Check answer
Objective Place checks at the cheapest effective point in the lifecycle and write sensor output the agent can act on.Question 35 of 74 Which check belongs right after every edit, before anything else runs? Choose one answer.
Check answer
Question 36 of 74 A lint check prints 300 lines of passing results into the agent's context on every edit. What is the problem, and what is the fix? Choose one answer.
Check answer
Objective Explain why a hook is a guarantee and a prompt rule is a suggestion, and say which hook points can block an action.Question 37 of 74 Which hook point can refuse a file deletion before it happens? Choose one answer.
Check answer
Question 38 of 74 The tests are failing, yet the agent says it has finished. Which control can refuse to let it stop? Choose one answer.
Check answer
Objective Combine permission tiers, a sandbox with filesystem and network limits, and the lethal-trifecta rule into defence in depth.Question 39 of 74 A sandbox limits the agent to the workspace folder but allows any outbound network connection. What is the gap? Choose one answer.
Check answer
Question 40 of 74 Which agent design contains the lethal trifecta? Choose one answer.
Check answer
Objective Explain why the agent that builds the work should not be the only thing that checks it, and where behaviour checks stay weak.Question 41 of 74 The agent edits its own failing tests until they pass. What is the strongest protection? Choose one answer.
Check answer
Question 42 of 74 Why is a green, AI-generated test suite with decent coverage not enough to trust behaviour? Choose one answer.
Check answer
Objective Explain subagents as context isolation first, and say what they cost in tokens and when they do not pay.Question 43 of 74 What is the main reason to send a broad codebase search to a subagent? Choose one answer.
Check answer
Question 44 of 74 Two subagents each use 60,000 tokens exploring and each returns about 1,000 tokens. What happens to the parent's context and to the total bill? Choose one answer.
Check answer
Objective Write a delegation contract for a subagent and hand work over through artefacts and structured results, not transcripts.Question 45 of 74 Which belong in a delegation contract for a subagent? Select all that apply. Choose all that apply.
Check answer
Question 46 of 74 A subagent returns a long narrative of everything it read, and the parent's window fills up. Which contract field was missing? Choose one answer.
Check answer
Objective Split building from checking, and route models by step type, with the cost of each split stated.Question 47 of 74 Why should the agent that wrote a change not be the only judge of it? Choose one answer.
Check answer
Question 48 of 74 Which model-routing rule fits best? Choose one answer.
Check answer
Objective Isolate parallel agents that share a codebase, with one owner per artefact and a way to integrate.Question 49 of 74 Five agents working on one repository keep producing conflicting changes. Which set of measures fits best? Choose one answer.
Check answer
Question 50 of 74 A team merges with minimal blocking review and reports good results. What should you do before copying the practice? Choose one answer.
Check answer
Objective Place people at intent, irreversible actions, escalations and the steering loop, and describe an autonomy ladder.Question 51 of 74 Where should a person sit in an agent that can roll back deployments? Choose one answer.
Check answer
Question 52 of 74 What does moving up an autonomy ladder look like? Choose one answer.
Check answer
Objective Design an experiment that shows whether a harness change helped: one change, the same held-out tasks, several trials and a state-based grader.Question 53 of 74 You add a verifier agent, and the next three runs look better. What should you do before deciding that it helped? Choose one answer.
Check answer
Question 54 of 74 Which belong in a fair experiment on a harness change? Select all that apply. Choose all that apply.
Check answer
Objective Compute cost per resolved task and say why a pricier attempt can be the cheaper design.Question 55 of 74 Design A costs 0.90 dollars per attempt and succeeds 30 percent of the time. Design B costs 1.60 dollars and succeeds 60 percent. Which costs less per resolved task? Choose one answer.
Check answer
Question 56 of 74 An agent succeeds on 25 percent of tasks at 0.60 dollars per attempt. What is the cost per resolved task? Choose one answer.
Check answer
Objective Run the improvement loop from traces: classify failures by layer, make a structural fix, add a regression check, and keep or revert.Question 57 of 74 Traces show that most failures are verification failures: wrong output was never checked. Which response fits the improvement loop? Choose one answer.
Check answer
Question 58 of 74 A harness change raises held-out success, but one task that passed before now fails. What should you do? Choose one answer.
Check answer
Objective Re-baseline a harness when the model changes, and prune components that no longer earn their place.Question 59 of 74 After a model upgrade, success is flat and cost is up 40 percent. What is the likely cause and the first step? Choose one answer.
Check answer
Question 60 of 74 A sensor in your harness has not fired in months. What does that tell you? Choose one answer.
Check answer
Objective Operate an agent with budgets, checkpoints, rollbacks, a kill switch and a runbook, and degrade safely when a check is unavailable.Question 61 of 74 The tool that verifies the agent's output is down. What should the agent do? Choose one answer.
Check answer
Question 62 of 74 Which control can stop an agent that is looping and running up its bill overnight? Choose one answer.
Check answer
Objective Work the standard derivations: n-step success, pass@k and pass^k, cost per resolved task, and steps before compaction.Question 63 of 74 A task needs 50 independent steps and each step succeeds 99 percent of the time. About how often does the whole task succeed? Choose one answer.
Check answer
Question 64 of 74 Each trial succeeds with probability 0.95, and you run 20 independent trials. What are pass@20 and pass^20? Choose one answer.
Check answer
Question 65 of 74 Design X costs 1.50 dollars per attempt with 30 percent success. Design Y costs 2.00 dollars with 60 percent success. Which is cheaper per resolved task? Choose one answer.
Check answer
Question 66 of 74 The window is 160,000 tokens, 10,000 are reserved for output and 14,000 are fixed. Compaction starts at 80 percent of what remains after the reserve, and each step adds 2,500 tokens. About how many steps fit before compaction? Choose one answer.
About 60 steps: the 150,000 left after the reserve, divided by 2,500 per step, with nothing else. About 42 steps: 120,000 at the threshold, less 14,000 fixed, divided by 2,500. About 48 steps: 80 percent of 150,000 is 120,000, divided by 2,500 per step. Check answer
Objective Structure a 40-minute harness design answer in eight parts and name the markers of a strong one.Question 67 of 74 In a 40-minute harness design interview, what should you do first? Choose one answer.
Check answer
Question 68 of 74 Which are markers of a strong harness design answer? Select all that apply. Choose all that apply.
Check answer
Question 69 of 74 Midway through your design the interviewer says the budget has been halved. What is the best response? Choose one answer.
Check answer
Objective Diagnose a described agent failure by layer and propose a structural fix.Question 70 of 74 An agent keeps declaring a migration finished when it is 40 percent done. What is the best diagnosis and fix? Choose one answer.
Check answer
Question 71 of 74 An agent's change passes every test locally but breaks the user interface in production. What does that suggest? Choose one answer.
Check answer
Question 72 of 74 After an update to a tool server, an agent starts sending data to an unknown address. What is the right response? Choose one answer.
Check answer
Objective Explain the core harness ideas (harness, guides and sensors, state across sessions, subagents, proving a change) clearly in about 90 seconds each.Question 73 of 74 Which is the best ninety-second answer to "What is harness engineering?" Choose one answer.
Check answer
Question 74 of 74 An interviewer asks about "the harness" and you are not sure what they mean. What should you do in the first fifteen seconds? Choose one answer.
Check answer