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
90 practiced
Explain how and why you would use stratified sampling for train/validation/test splits. Provide a short scikit-learn example that performs a stratified split on a multi-class label and discuss limitations (for example, tiny subgroup sizes and when stratification is not sufficient).
EasyTechnical
69 practiced
Explain, in your own words, the following data biases as they apply to machine learning systems: selection bias, confirmation bias, measurement bias, and sample limitations. For each bias give a concrete example from a typical ML pipeline (data collection, labeling, training) and describe how that bias can distort model outcomes or evaluations.
MediumTechnical
94 practiced
Fairness metrics question: For a binary classifier, compare and contrast statistical parity, equalized odds, equal opportunity, and calibration by group. Provide scenarios where optimizing for one metric can worsen another and give practical guidance for choosing a metric for deployment.
MediumTechnical
72 practiced
Implement and describe an approach to detect near-duplicate textual records at scale (tens of millions) using MinHash or locality-sensitive hashing. Describe the data structures, memory and time trade-offs, parameters (shingle size, number of hash functions), and how to evaluate precision and recall.
MediumTechnical
92 practiced
Describe how you would design an A/B experiment to evaluate whether removing outliers from training data improves live model performance. Specify randomization unit, offline vs online metrics to monitor, sample size and power calculation considerations, and safety guardrails to detect harm quickly.

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.