What is data quality monitoring, and how do you detect data drift or degradation in an ongoing cleaning pipeline?

Quick Overview

Asks what data quality monitoring means and how to catch drift or degradation in a recurring data cleaning pipeline. Tests choice of health metrics, baselines that handle seasonality, distribution tests such as PSI and Kolmogorov-Smirnov, and how alerts are acted on.

What is data quality monitoring, and how do you detect data drift or degradation in an ongoing cleaning pipeline?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What is data quality monitoring, and how do you detect data drift or degradation in an ongoing cleaning pipeline? Assume the pipeline runs on a schedule, takes raw data from upstream sources, cleans it, and feeds dashboards or models downstream. ```hint Two kinds of change Separate changes in the world that produces the data from breakages in the pipeline that moves it. They show up in different metrics. ``` ```hint Compared with what A metric means little without a reference. Think about where that reference comes from and how it handles weekly or seasonal patterns. ``` ### What a Strong Answer Covers - A definition of data quality monitoring and the dimensions tracked on every run - How the baseline is built and kept current, including seasonality - Specific methods for detecting distribution drift and how thresholds are set on them - How to tell input drift from pipeline degradation, including what the cleaning steps themselves should report - What happens when a check fails: who is alerted and whether bad data is blocked ### Follow-up Questions - A Kolmogorov-Smirnov test on a million rows flags drift every day. What is going on, and what would you change? - How would you monitor a categorical column with thousands of values, most of them rare? - When should a failed check stop the pipeline, and when should it only send an alert? - How do you keep the baseline from slowly absorbing a degradation as the new normal?

Overview: Asks what data quality monitoring means and how to catch drift or degradation in a recurring data cleaning pipeline. Tests choice of health metrics, baselines that handle seasonality, distribution tests such as PSI and Kolmogorov-Smirnov, and how alerts are acted on.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What is data quality monitoring, and how do you detect data drift or degradation in an ongoing cleaning pipeline?

Assume the pipeline runs on a schedule, takes raw data from upstream sources, cleans it, and feeds dashboards or models downstream.

What a Strong Answer Covers Guidance

  • A definition of data quality monitoring and the dimensions tracked on every run
  • How the baseline is built and kept current, including seasonality
  • Specific methods for detecting distribution drift and how thresholds are set on them
  • How to tell input drift from pipeline degradation, including what the cleaning steps themselves should report
  • What happens when a check fails: who is alerted and whether bad data is blocked

Follow-up Questions Guidance

  • A Kolmogorov-Smirnov test on a million rows flags drift every day. What is going on, and what would you change?
  • How would you monitor a categorical column with thousands of values, most of them rare?
  • When should a failed check stop the pipeline, and when should it only send an alert?
  • How do you keep the baseline from slowly absorbing a degradation as the new normal?