InterviewStack.io LogoInterviewStack.io

Data Quality and Bias Questions

Covers both the conceptual and technical aspects of data quality assessment, bias identification, and remediation. Candidates should be able to recognize common sources of bias including selection bias, confirmation bias, measurement bias, and sample limitations, and describe how these biases and methodological limitations affect conclusions. They should be able to document and communicate caveats and limitations clearly and responsibly. On the technical side, candidates should demonstrate techniques for detecting and handling missing values, duplicates, outliers, and inconsistent data types; explain trade offs between filtering, imputing, and transforming data; and discuss how data cleaning choices influence downstream analysis. Additional expected skills include validating cleaned data against expectations, performing sensitivity analyses to show how results change under different data handling decisions, tracking data provenance, and describing reproducible processes for data quality management.

EasyTechnical
89 practiced
You run temperature sensors across warehouses and notice that some sensors slowly drift upward over months. Describe how you would detect measurement bias using historical data and external references, and propose remediation strategies: recalibration, model-based correction, automated exclusion rules, and monitoring.
MediumTechnical
88 practiced
Write a Python function that, given a pandas Series of numeric values, flags outliers using the Median Absolute Deviation (MAD) method. Function signature: def flag_outliers_mad(series: pd.Series, thresh: float = 3.5) -> pd.Series. Explain complexity and why MAD is robust to extreme values.
MediumTechnical
66 practiced
Give a concrete example where applying a log transform to a skewed numeric feature changes coefficient magnitudes and p-values in linear regression. Explain why the interpretability and inference change and how you would validate that the transform improves downstream predictive performance and assumptions (e.g., residual normality, heteroskedasticity).
MediumTechnical
71 practiced
List fairness metrics applicable to binary classification (demographic parity, equalized odds, predictive parity, calibration per group). For each metric explain how it's computed, what it measures, and one scenario where optimizing it could hurt another fairness criterion.
MediumTechnical
125 practiced
Describe how you'd implement data quality checks using Great Expectations for a column 'price' with the rules: at least 95% non-null, values between 0 and 1000, and expected top-3 categories for a categorical column 'tier' being ['A','B','C']. Provide a sample expectation or pseudo-code and state assumptions about sample sizes.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.