Data Investigation and Root Cause Analysis Questions
Diagnosing why a metric moved. Covers structured drill-down, segmentation to isolate drivers, distinguishing real shifts from noise or data artifacts, and forming and testing explanatory hypotheses. Focuses on the investigative reasoning behind metric-change and anomaly questions.
Design a reproducible investigation template that analysts would use for every metric-anomaly RCA. What does it need to contain to make an investigation's conclusion trustworthy and re-checkable by someone else, and how would you version, parameterize, and run these as repeatable jobs rather than one-off notebooks?
Two related datasets that SHOULD match at the transaction level don't (for example product analytics counts more purchases than billing counts billed payments, or a merchant's reported prices differ from what billing actually charged). Outline a reconciliation process: which fields you would join on, how you'd compute a matched-versus-unmatched rate, and how you would quantify and communicate the financial impact.
You suspect a business metric is being gamed: either a team is unintentionally inflating a number through how they instrument it, or a KPI improved suspiciously right after an incentive-driven change with engineering denying any code or instrumentation change. Describe how you would detect intentional or unintentional metric manipulation (monitoring techniques, anomaly detection, audit trails) and what technical and organizational controls you would recommend to prevent it going forward.
A marketing campaign or a gradual/canaried feature rollout ran at the same time a metric moved, and simple before/after comparison isn't convincing enough. Design a more rigorous diagnostic test to attribute the change: cohort construction, pre/post comparison, difference-in-differences, or a minimal confirmatory experiment using feature flags, and explain what would rule out the confounders you're most worried about.
A verbal, open-ended case with no data handed to you upfront: 'Why did [company]'s [core metric] fall [X] points quarter-over-quarter?' Provide a prioritized investigative plan: the datasets you'd request, the decomposition analyses you'd run (for example by promotions, refunds, trip length, geography), your segmentation strategy, and the sample queries or visualizations you'd produce to present findings.
Unlock Full Question Bank
Get access to all Data Investigation and Root Cause Analysis interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.