A revision sheet, not a first read. Each row points back to the module that explains it. Confirm anything exam-specific (domains, weights, policies) in the official exam guide.
The Five Moves
- Code beats prompt for anything that must always hold.
- Prevent, don't only detect when the stem says "must never".
- One variable at a time against the same frozen set.
- Segment, not average.
- Fix the broken layer, not the convenient one.
D1 Agent Architecture and Orchestration — M1
| Situation | Answer |
|---|---|
| Fixed, predictable steps | Workflow, not an agent or a supervisor fleet |
| Run interrupted | Resume from the last checkpoint; make side effects idempotent; keep secret references, not secrets, in state |
| Session outgrows context | Compact the history, keep exact values in structured state |
| Erasure request | Enforce deletion where memory lives; a soft delete may not satisfy it |
| Agent loops on a bad input | Max turns, budget and escalation in code |
| Agents call each other in a circle | One coordinator, hierarchy; depth limits are the weaker fix |
| Steps must run in order | Workflow engine with checkpoints, not a stronger prompt |
| Two steps independent | Run in parallel; keep dependent steps sequential |
| Dozens of tools | Load tools by phase or incident type; use tool search so the catalogue stays out of context |
| Model version changes mid-project | State must not depend on one model's habits; re-validate checkpoints and replay against the new model |
| Context nearing its limit | Compaction summarises; context editing clears stale tool results; persistent memory holds what must outlive the session |
| Changing instructions mid-conversation | Keep the cached prefix stable; add the change late rather than rewriting the start |
| Running system, new data | Decide workflow-or-agent from cost, reliability and quality data; standardise harness, tool contracts and tracing |
| Approval needed | Place the human gate in code at the irreversible step |
D2 Integration, Reliability and Grounding — M2
| Situation | Answer |
|---|---|
| 429 / overloaded / 5xx | Retry with exponential backoff and jitter; honour retry-after |
| 400 / auth error | Do not retry |
| Need more rate limit | More keys do not help: limits are organisation-wide |
| Refusal | HTTP 200; handle in app logic; never count toward the breaker |
| Dependency degraded | Fall back to cache with a visible degraded indicator |
| Wrong tenant or version retrieved | Metadata pre-filter; regulated isolation needs hard separation |
| Table split across chunks | Structure-aware chunking |
| Question spans several systems | Multi-facet retrieval, not just a larger top-k |
| Unsupported or fake citation | Verify claims against sources after generation |
| Check-then-act race | Atomic reservation |
| Output does not match its input | Suspect the data pipeline before the model |
| Rate limit, length stop, context-window stop, refusal | Four different failure classes: back off, raise the budget, shrink the input, route to safety handling; never one retry loop |
| Fallback to another model, region or platform | Check feature parity first and test the fallback path before you need it |
| One tenant slows the rest | Per-tenant quotas, queues and backpressure; shed load at the edge |
| Capacity planning | Find the binding constraint: requests, input tokens, output tokens or batch economics |
| Prompt or model change | Version it, evaluate offline, canary, keep a rollback |
| Retrieval answer wrong | Locate the stage: query, recall, rerank, context assembly or generation; consider hybrid search |
D3 Observability — M3
| Situation | Answer |
|---|---|
| Follow a request across hops | One trace id through every hop and log line |
| Healthy API, bad answers | Add behaviour/quality metrics next to infrastructure ones |
| Slow first response | Separate time to first token from total time |
| Cost spike | Attribute by feature/team/model before tuning |
| Aggregate fine, customers unhappy | Segment the SLO |
| Safety-critical tool timing out | Per-tool status and alert on any failure |
| Audit trail needed | Who, which record, why, when; do not copy sensitive values |
| Trace an agent loop | Session, turn, model call and tool call as nested spans with one trace id |
| Zero data retention or privacy limits | Log metadata and ids, not content; capture content only by explicit opt-in |
| Quality SLI | Sample live traffic and score it with a calibrated judge |
| Model update, quality moved | Compare cohorts before and after; pin versions; run canary evals on production samples |
| Systemic issue hidden in single traces | Sample all failures and slow traces, then group failures into cohorts |
D4 Debugging and Incident Response — M3
| Situation | Answer |
|---|---|
| Several changes at once | Frozen golden set; new prompt on old model, then old prompt on new model |
| Same input, different outputs | Inspect retrieval variability |
| Sudden break, nothing deployed | Upstream data, context or tool changes |
| One region worse in a canary | Halt that region, continue the others |
| Config slow to arrive | Align TTLs across cache tiers |
| Active harm | Mitigate first, diagnose after |
| Not reproducible | Shadow-log production inputs, retrieved context and outputs |
| After the incident | Blameless postmortem becomes a regression eval and a monitoring change |
| Refusal | A failure class of its own: not a transport error and not a retry |
| Wrong grounded answer | Find the failing stage before touching the prompt |
| Multi-agent failure | Inspect the handoff payloads to see which agent introduced the error |
D5 Evaluation Engineering — M4
| Situation | Answer |
|---|---|
| High judge score | Check calibration against human labels |
| Judge vs human agreement | Compare with human-to-human agreement as the ceiling |
| Judge or rubric changed | Re-validate on the frozen labelled set |
| Good average | Check each stratum |
| Eval set unlike production | Re-stratify to match production traffic |
| Gate design | Hard safety gates, approval-based quality gates, advisory budget warnings; document rollback |
| Schema validity regresses | Block the release |
| Missing a critical case costs more | Prioritise recall on that class |
| Equal accuracy across groups | Compare per-group false positive and false negative rates |
| A/B result is significant | Still check that traffic was representative |
| Small annotation budget | Stratify; experts for high risk, model-assisted human-verified labels for routine |
| Judge prefers the first answer | Position bias: randomise or swap order and re-measure against human labels |
| Everything passes for weeks | Suite saturation or contamination: add harder, fresher cases |
| Judge model replaced | Judge drift: re-calibrate before trusting any comparison |
| Metric choice | Match the task: field-level checks for extraction, rubric for generation, task success for agents, groundedness for retrieval |
D6 Cost and Latency — M5
| Situation | Answer |
|---|---|
| Low cache hits | Inspect the prefix: stable first, dynamic last |
| Savings below expectation | Output tokens are never cached |
| Not urgent | Batch API: cheaper, but asynchronous |
| Needs an immediate answer | Real-time, not batch |
| Simple tasks on a big model | Route by task, guarded by an eval |
| Slow first token | Prompt size and processing |
| Slow completion | Output length |
| Streaming | Improves perceived latency only |
| Many tool round trips | Composite tools; parallel independent calls |
| Break-even | Needs the value of a completed task |
| Cost forecast | Model per-task token use by task type, not an average |
| Cheap model first | A cascade, with an escalation rule guarded by an eval |
| One tenant overspends | Enforce a per-tenant budget in code, not an alert |
| Latency target missed | Lower the effort level for simple tasks; check time to first token separately |
D7 Guardrails and Security — M6
| Situation | Answer |
|---|---|
| Content from a document, page or tool | Untrusted data, not instructions |
| Irreversible or safety-critical action | Code-enforced approval; out-of-band confirmation |
| Token could be replayed | Audience-restricted, short-lived credentials; exchange rather than forward |
| Model-produced SQL | Parse and allow-list; read-only credentials |
| Model-produced path | Canonicalise and confirm it stays inside the allowed directory |
| Tenant isolation | Per-session scoped credentials |
| Sensitive values leaking in output | Deterministic output filtering as a last line |
| Free text near control flow | Structured extraction of defined fields only |
| Private data, untrusted input and an outbound channel in one agent | Remove one leg, in code |
| Policy that must always hold | Hook or gate that runs deterministically before the tool call |
| Agent needs web or tool access | Sandbox it away from production systems |
| Long-lived API key in config | Workload identity federation: short-lived credentials exchanged from the platform identity |
| Third-party MCP server | Allow-list, least privilege, pin versions, treat tool descriptions as untrusted |
| Red team | Define scope and success criteria; turn every finding into a regression test |
D8 Agent Fleet Operations — M7
| Situation | Answer |
|---|---|
| Many teams, many agents | Central policy for models, tools, budgets and data handling |
| Parallel agents | Isolate each; plan merges |
| AI reviewer | Calibrate against humans in shadow mode before it gates |
| Agent-written code | Verify before merge; restrict permitted scope |
| Hard safety gate | No bypass |
| Quality gate exception | Approval, justification and expiry |
| Migration | Pilot, compare quality signals, keep rollback |
| Unattended run | Checkpoint, notify on failure, escalate beyond authority |
| CI failure first response | Event-driven agent with narrow scope, read-only first, a human notified and an escalation path |
| Code is generated faster than reviewed | Shadow-mode AI review, calibrated against humans, before it gates |
| Sharing prompts, Skills and MCP servers across teams | Ownership, review, versioning and a quality and safety bar |
| Org-wide rollout | Managed policy, MCP allowlist, telemetry and gateway routing |
Common Traps
- A bigger model, more retries, more retrieved chunks, a longer prompt or more logging offered as the fix for a problem they do not touch.
- Lowering a threshold or gate to make a symptom go away.
- Prompt wording offered where only a code control gives a guarantee.
- Detection (alerts, audits, logs) offered where the stem demands prevention.
- An aggregate offered where the failure lives in one segment.
Last-Day Checklist
- Re-read the five moves and one row from each domain table.
- Re-take only the questions you missed on the practice exam.
- Re-check the official exam guide and its date.
- Sleep. Read each scenario for the evidence it gives, then pick the best answer.