InterviewStack.io LogoInterviewStack.io

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.

EasyTechnical
33 practiced

For a global product, should event timestamps be stored in UTC or as local time with a timezone offset? Explain the recommended approach and why, and describe the concrete pitfalls of getting this wrong: daily aggregations computed on naive local timestamps silently shifting by a day around a daylight-saving transition, and the extra metadata (user timezone, offset at time of event) you need to store to correctly present results in a user's local day later.

EasyTechnical
33 practiced

Before joining or deduplicating customer data from multiple sources, identifiers such as emails, phone numbers, and addresses must be canonicalized. Give concrete normalization rules for each and explain why skipping canonicalization silently breaks both joins and dedup, and describe when you would fall back to an external reference dataset (postal API, ISO country codes) instead of local rules alone.

EasyTechnical
38 practiced

A candidate is asked to define "data quality" for a production analytics or ML platform. What are the standard dimensions of data quality (completeness, accuracy, consistency, timeliness, validity, uniqueness), how would you explain each to a non-technical stakeholder with a concrete example of the harm a violation causes, and which dimension would you prioritize first when a new dataset lands with limited time to assess it?

HardTechnical
41 practiced

Compare strategies for handling missing values in a dataset used for reporting or modeling: dropping rows, simple statistical imputation (mean/median/mode), model-based imputation (KNN, MICE), an explicit "missing" category, and leaving values as-is for models that support NaNs natively. For each, describe the bias it can introduce into aggregates or downstream inference, and how the right choice depends on whether missingness is completely random, random conditional on other fields, or informative in its own right.

MediumTechnical
31 practiced

When a validation rule fails on incoming data, you generally have three options: quarantine the offending records for review, reject the entire batch, or auto-correct (impute or coerce) and continue. Give three decision criteria for choosing between them, and design the quarantine-and-replay mechanism itself: how rejected records are captured with a structured error reason, searched, and safely re-injected once corrected.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.