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.
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?
Design a multi-region strategy for computing a metric like daily active users per user's LOCAL day, correctly handling daylight-saving transitions (including the ambiguous 'falls back' hour and the nonexistent 'springs forward' hour), users who travel across timezones mid-day, and users with no stored timezone at all. What testing strategy (unit, integration, and specific DST-boundary test cases) would give you confidence the aggregation is correct at scale?
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.
Late-arriving records (for example a payment or event that lands hours or days after its event time) can invalidate already-computed daily aggregates. Design a safe backfill and reconciliation strategy: how you detect that a historical aggregate needs correcting, how you reprocess without corrupting concurrently-running dashboards, how you preserve an audit trail of the correction, and how you decide when a metric is "final enough" to stop reprocessing versus always remaining provisional.
You discover that a nightly transform has been silently producing incorrect numbers for weeks or months (for example a bad join that undercounted revenue, or a float-rounding bug that drifted a running total). Outline the full incident-response structure: scoping how far back and how widely the corruption spread, computing the business impact, designing and validating a backfill to restore correct historical numbers, communicating to stakeholders and (where relevant) auditors, and the systemic prevention you would put in place so a silent numeric error like this is caught automatically next time.
Unlock Full Question Bank
Get access to all 38 Data Quality and Validation interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.