InterviewStack.io LogoInterviewStack.io

Data Exploration and Quality Assessment Questions

Investigate a dataset thoroughly before analysis or reporting by profiling its structure, contents, and reliability. Typical steps include examining row counts and data volume, inspecting column data types and sample values, validating date formats and ranges, and identifying missing values, duplicates, outliers, and impossible values. Understand schema and relationships between tables or files, check data freshness and latency, and characterize data completeness and coverage with simple metrics and queries. Document discovered issues, their likely causes and impacts on conclusions, and pragmatic workarounds or transformation strategies to mitigate risk. Use exploratory queries and summary statistics to quantify data quality, note limitations and assumptions, and allocate an appropriate portion of case study time to data assessment before proceeding to modeling or visualization.

HardTechnical
24 practiced
You have to deduplicate customer records that span multiple tables and systems with different identifiers (email, phone, external_id), some typos and missing fields. Explain a robust step-by-step de-duplication strategy suitable for production: include deterministic rules, fuzzy matching, scoring approach, threshold selection, and human-in-loop verification. Describe how you would measure precision and recall of your deduplication.
EasyTechnical
25 practiced
You are given a PostgreSQL table `orders` with schema:
orders( order_id bigint PRIMARY KEY, user_id bigint, amount numeric(10,2), created_at timestamp, status varchar)
Write SQL queries (Postgres dialect) to perform a quick data profile for this table that returns: 1) total row count, 2) distinct count for each column, 3) null count for each column, and 4) five sample distinct values for the `status` column. Explain any performance considerations for running these queries on a 500M-row table.
MediumSystem Design
36 practiced
Propose an approach to compute and track data lineage and ownership that aids data quality debugging. Include what metadata to collect, how to store lineage (graph vs table), and how an analyst would use this information during root-cause analysis of a broken KPI.
HardTechnical
23 practiced
You suspect an A/B test instrumentation bug that affected 10% of traffic for 3 days and biased conversion upwards. Describe how you would quantify the bias introduced into reported experiment results, propose methods to correct the analysis (reweighting, exclusion, model adjustment), and explain how you would communicate the uncertainty of corrected estimates to stakeholders.
HardTechnical
24 practiced
You are asked to detect and quantify late-arriving data that affects daily metrics. Given an events table with `arrived_at` (ETL ingest time) and `occurred_at` (event time), design SQL queries that compute the fraction of events for each occurred_date that arrived late (>24 hours) and how late-arrival patterns have changed over the last 90 days.

Unlock Full Question Bank

Get access to hundreds of Data Exploration and Quality Assessment interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.