InterviewStack.io LogoInterviewStack.io

Model Performance Analysis and Root Cause Analysis Questions

Techniques for diagnosing and troubleshooting production ML models, including monitoring metrics such as accuracy, precision, recall, ROC-AUC, latency and throughput; detecting data drift, feature drift, data quality issues, and model drift. Covers root-cause analysis across data, features, model behavior, and infrastructure, instrumentation and profiling, error analysis, ablation studies, and reproducibility. Includes remediation strategies to improve model reliability, performance, and governance in production systems.

EasyTechnical
60 practiced
Given a confusion matrix from 10,000 predictions:
TP = 90, FP = 10, FN = 910, TN = 8,990
Compute accuracy, precision, recall, and F1. Interpret what these metrics indicate about model behavior and practical consequences in production.
MediumTechnical
70 practiced
Design an A/B test (randomized online experiment) to evaluate a retrained model against the production model. Specify the primary metric tied to business impact, secondary metrics, sample size calculation approach, traffic split and bucketing strategy (user-level vs session-level), and how to handle multiple comparisons or peeking.
HardTechnical
63 practiced
You must define SLAs/SLOs for a prediction API balancing latency (p95 < 200ms), availability (99.9%), and model accuracy (precision >= 0.85 on a critical class). Explain how you would set error budgets, alerting tiers, automated throttling/fallback strategies, and communication/compensation policies in case of breaches.
EasyTechnical
51 practiced
Explain shadow testing (dark launch) for validating a new ML model. How does running the candidate model in shadow mode help with performance analysis and root-cause detection before sending live traffic? Which metrics should you compare between shadow and baseline runs?
MediumTechnical
60 practiced
Explain how you would use SHAP values to perform root-cause analysis when a model's error rate increases sharply for a particular user segment. Describe the steps to compute, aggregate across the segment, compare to baseline, and caveats when interpreting SHAP changes.

Unlock Full Question Bank

Get access to hundreds of Model Performance Analysis and Root Cause Analysis interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.