Data Quality and Validation Questions

Ensuring correctness and trust in data: validation rules, constraints, completeness/accuracy/timeliness checks, and quality frameworks. Covers designing validation into pipelines, quality gates before publishing, and handling edge cases and real-world dirty data. Central to any data engineering or analytics role.

MediumSystem Design
42 practiced

Define a set of measurable Service-Level Objectives (SLOs) for data quality on a pipeline that feeds business-critical dashboards: freshness (how stale can the data be), completeness (what fraction of expected records must arrive), and accuracy (how much deviation from a reconciled figure is tolerable). Propose concrete SLI definitions and target thresholds, explain what an error budget means in this context and what happens operationally when it is exhausted, and how you would report SLA compliance to the teams who depend on this data.

EasyTechnical
37 practiced

Create a documentation template for a data-quality rule that both analysts and engineers can use: what fields would you include (description, detection logic, severity, owner, remediation steps, and worked examples of a passing and failing record), where would you store it so it stays discoverable and current as pipelines evolve, and how would you version it so consumers can see the rule's history?

EasyTechnical
33 practiced

You operate a pipeline ingesting on the order of a million events per minute. Define a concrete, justified set of operational data-quality metrics and alert thresholds you would instrument: ingestion lag/freshness, row-count deltas versus an expected baseline, null-rate spikes, schema-change events, and duplicate rate. For each metric, state a starting alert threshold and severity tier, and explain how you would distinguish a real regression from normal day-to-day variance.

MediumTechnical
35 practiced

A dashboard shows a sudden, unexplained drop or spike in a key metric (for example a 40% drop in daily active users, or a funnel conversion rate falling 20% in one day). Walk through a structured, prioritized investigation you would run: which SQL checks and comparisons you would run first and in what order, how you would rule in or out an upstream ingestion problem versus a genuine business change, and how you would communicate an interim finding to stakeholders before the root cause is fully confirmed.

EasyTechnical
37 practiced

You are reviewing a dataset where a small but nonzero fraction of a required numeric field (for example 1.2% of sales_amount) is NULL. Walk through the decision process for choosing between dropping the affected rows, imputing a value, quarantining the records for manual review, or alerting the upstream owner and leaving the data untouched. What business, statistical, and operational factors tip the decision each way, and how would this change if the field were a billing amount rather than a marketing attribute?

Unlock Full Question Bank

Get access to all 43 Data Quality and Validation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.