Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Design a strategy for monitoring reliability, including agent health, workflow failures, trace correlation, drift detection, quality regression, and remediation

A worked example

Single answer

Fabrikam runs a multi-agent travel booking solution. Monitoring reports that booking completion dropped 12% overnight. Customers receive a reservation error at the confirmation step, which the booking agent handles. Distributed traces in Application Insights show that the hotel reservation API rejects the requests because their date values are not in the expected format. Those dates are produced by the itinerary agent, two calls upstream, which was switched to a new model deployment the previous evening. The root cause analysis must identify the change that, if corrected, prevents the failure from recurring.

Which item should the root cause analysis record as the root cause?

Choose one answer
Why

The source separates four layers: the symptom (the metric drop), the observable failure (what customers see), the proximate cause (the immediate technical rejection) and the root cause (the underlying change that triggered the chain). Here the triggering change is the itinerary agent's new model deployment, two calls upstream of the agent that reported the error. Fixing only the downstream layers, for example by adding error handling, does not prevent recurrence while the upstream output format stays unchanged.

  • Not correct: The 12% drop in booking completion. This is the symptom: what monitoring detected. The RCA framework separates the symptom from the root cause, and correcting a metric is not a change that stops recurrence.
  • Not correct: The missing error handling in the booking agent. The source states that adding error handling to the agent that surfaces the error deals with symptoms and does not prevent recurrence while the upstream output format remains unfixed.
  • Not correct: The reservation error customers receive at confirmation. This is the observable failure that customers experience. The agent reporting the error is often not the agent that caused it, so this is not the root cause.
  • Correct: The itinerary agent's switch to a new model deployment. This is the underlying change that started the failure chain, which matches the source's definition of root cause: a model deployment that changed an upstream agent's output format.
  • Not correct: The hotel reservation API rejecting the date values. This is the proximate cause: the immediate technical failure. The dates were malformed before they reached the API, so the triggering change lies further upstream.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free