FreeExam
A closed notebook, a blank card, and a pencil on a wooden desk.

Model monitoring

50 cards

Drift, delayed labels, shadow and canary releases, and alerts worth paging on.

Card 1 of 50

Front. Why. Why does a live model need its own monitoring beyond service health?

These cards are original study material. They are not questions from a named employer or a live hiring loop.

All 50 cards in this deck

  1. 1.Why

    Why does a live model need its own monitoring beyond service health?

    A model can return fast, valid responses that are wrong, because inputs or the world changed. Service metrics alone will not show it.

  2. 2.Data-drift

    What is data drift?

    A change in the distribution of model inputs compared with a reference, such as training data or a recent stable period.

  3. 3.Concept-drift

    What is concept drift?

    A change in the relationship between inputs and the outcome, so the same inputs now mean something different.

  4. 4.Prior-shift

    What is label shift, or prior shift?

    A change in how often each outcome occurs, such as the fraud rate doubling, while inputs given the outcome stay similar.

  5. 5.Psi

    What is the population stability index (PSI)?

    A drift score that bins a feature, compares the share of rows in each bin between reference and current data, and sums the weighted log ratios.

  6. 6.Psi-rule

    What PSI values are commonly treated as small and large shifts?

    Below 0.1 is usually small, 0.1 to 0.25 moderate, and above 0.25 large. These are rules of thumb, not tests.

  7. 7.Ks

    What does the Kolmogorov-Smirnov test compare?

    The largest gap between two cumulative distributions of a numeric feature.

  8. 8.Chi-square

    Which test is common for drift in a categorical feature?

    The chi-square test on category counts, or PSI over categories.

  9. 9.Big-n

    Why do drift tests flag almost everything at high volume?

    With millions of rows, tiny harmless differences are statistically significant. Effect-size measures such as PSI are more useful.

  10. 10.Reference

    What is a reference window?

    The period of data that current traffic is compared against, such as the training snapshot or the same weekday last week.

  11. 11.Seasonal-ref

    Inputs follow the day, so every morning looks like drift against the previous hour. What fixes that?

    Compare with the same hour on a matching earlier day, so normal daily patterns cancel out.

  12. 12.Low-traffic

    A region has little overnight traffic and its PSI swings wildly. What helps?

    Require a minimum row count before scoring, or widen the window for that region, so small samples do not page.

  13. 13.Holiday

    How should expected events such as holidays be handled?

    Annotate or suppress them in advance, or compare with the same event last year, so known shifts do not page.

  14. 14.Schema-check

    What do schema checks on live inputs catch?

    Missing fields, wrong types, renamed columns, and values in the wrong unit, often before they reach the model.

  15. 15.Null-rate

    Why monitor the null rate per feature?

    A sudden rise in missing values usually means an upstream break, and the model may treat nulls badly.

  16. 16.Unseen

    What is an unseen-category alert?

    An alert when a categorical feature takes a value the model never saw in training.

  17. 17.Registered-category

    A new category was registered in the data contract before deploy. Why should its alert not page?

    The alert should read the contract, so known, approved values are expected, and only unregistered ones page.

  18. 18.Range

    What is a range check?

    Flagging values outside the bounds seen in training or allowed by the contract, such as negative prices.

  19. 19.Freshness

    What is feature freshness?

    How old the newest value of a feature is at serving time. Stale features make the model act on outdated information.

  20. 20.Skew

    What is training-serving skew?

    A feature computed differently at serving than in training, so the model sees inputs unlike those it learned from.

  21. 21.Skew-detect

    How is training-serving skew detected?

    Log the features served, recompute them with the training code for the same rows, and compare the values.

  22. 22.Prediction-dist

    Why monitor the distribution of model scores?

    Score shifts appear immediately, long before labels arrive, and often reflect input or pipeline problems.

  23. 23.Label-delay

    What is label delay in monitoring?

    The wait before true outcomes are known, such as 21 days for chargebacks, during which accuracy cannot be measured directly.

  24. 24.Proxy

    What can stand in for accuracy before labels arrive?

    Score distribution, input drift, early partial labels, and business signals. They are warnings, not measures of accuracy.

  25. 25.Proxy-limit

    What is a score-shift proxy not?

    A measure of correctness. Scores can move for good reasons, and a model can be wrong without its scores moving.

  26. 26.Performance

    What is measured once labels arrive?

    The real metrics, such as precision, recall, AUC, and calibration, by time window and segment, joined back to the predictions.

  27. 27.Join-key

    Why log a prediction ID with every score?

    So labels arriving later can be joined to the exact prediction, model version, and features that produced it.

  28. 28.Calibration

    Why monitor calibration?

    Downstream rules often rely on the probability itself. A model can rank well while its probabilities drift off.

  29. 29.Segments

    Why monitor by segment?

    A problem in one region or product can be invisible in the overall average.

  30. 30.Shadow

    What is shadow deployment?

    Running a new model on live traffic and logging its predictions without using them to make decisions.

  31. 31.Shadow-async

    Why must the shadow call be off the request path?

    If the user waits on the shadow model, its latency and failures affect a model you are not even serving.

  32. 32.Canary

    What is a canary release for a model?

    Sending a small share of real traffic to the new model, watching its metrics, then widening or rolling back.

  33. 33.Champion

    What is a champion-challenger setup?

    The live model (champion) is compared continuously against candidates (challengers) on the same traffic.

  34. 34.Ab

    How does an A/B test differ from shadow?

    In an A/B test both models make real decisions for random groups, so their effect on outcomes can be measured.

  35. 35.Golden-signals

    What are the four golden signals?

    Latency, traffic, errors, and saturation.

  36. 36.Percentiles

    Why watch latency percentiles, not the mean?

    The mean hides slow requests. p95 and p99 show what the slowest users experience.

  37. 37.Cold-start

    p99 pages on every deploy because a new instance's first requests are slow. What helps?

    Warm instances before they take traffic, or exclude a short warm-up window, so a known startup tail does not page.

  38. 38.Sli-slo

    What are an SLI and an SLO?

    An SLI is a measured indicator, such as the share of requests under 200 ms. An SLO is the target for it, such as 99.5 percent.

  39. 39.Error-budget

    What is an error budget?

    The amount of failure an SLO allows over a period. Spending it fast is a reason to slow releases.

  40. 40.Burn-rate

    What is a burn-rate alert?

    An alert when the error budget is being used up faster than planned, often checked over a short and a long window together.

  41. 41.Page-ticket

    What should page someone, and what should just open a ticket?

    Page only for user-facing harm that needs action now. Slow drift and minor checks go to a ticket or dashboard.

  42. 42.Symptoms

    Why alert on symptoms rather than causes?

    Symptoms such as wrong or slow responses are what users feel. Cause-level alerts are noisy and miss unknown causes.

  43. 43.Red-tile

    A dashboard query times out and its tile goes red, but serving, freshness, and score checks are in bounds. What is broken?

    The dashboard, not the model. Fix the query, and do not page on a monitoring tool's own failure as if it were the model's.

  44. 44.Fatigue

    What is alert fatigue?

    So many low-value alerts that people stop reacting to them, including the real ones.

  45. 45.Runbook

    What should a runbook for a model alert contain?

    What the alert means, how to check it, likely causes, how to roll back, and who to contact.

  46. 46.Deploy-marker

    Why mark deploys on monitoring charts?

    So a change in errors or scores can be lined up with the deploy, model ship, or data change that caused it.

  47. 47.Rollback

    What makes a model rollback fast?

    Keeping the previous model version, its preprocessing, and its config ready to serve, and switching with one pointer change.

  48. 48.Feedback-loop

    Why can a model's own decisions distort its monitoring?

    If it blocks transactions, outcomes for blocked ones are never seen, so labels only cover what it let through.

  49. 49.Text-drift

    How is drift monitored for text or image inputs?

    Track embedding distributions, input length, language mix, and cluster shares, since raw values cannot be binned easily.

  50. 50.Llm-monitor

    What extra signals are monitored for an LLM feature?

    Refusal rate, output length, format errors, safety-filter hits, user feedback, token usage, and cost.