InterviewStack.io LogoInterviewStack.io

Metric Definition and Implementation Questions

Defining and computing business metrics correctly: single-source-of-truth metric definitions, handling edge cases (dedup, attribution windows, timezones), and reconciling real-time vs batch metric values. Covers metric governance and translating business questions into precise, reproducible calculations. A high-frequency analytics-interview topic.

EasyTechnical
114 practiced

Explain the deduplication strategies you would consider for event-level data before computing a count-based metric (SQL or ETL context), and how you would choose among them: for example, order-id based dedup, session-window based dedup, and cross-device probabilistic dedup. For each, describe a scenario where it produces the wrong answer.

HardTechnical
84 practiced

Explain how you'd handle late-arriving and out-of-order events when computing daily active user (DAU) metrics. Discuss strategies for buffering, watermarking, backfill, and labeling days as finalized for downstream reports.

MediumTechnical
81 practiced

A stakeholder requires a metric that excludes internal employees, QA, and bots. Propose methods to identify and filter these users reliably in metric computation, including how to handle missing flags and gradual onboarding of test accounts.

MediumTechnical
60 practiced

A sudden metric drop appears and investigation shows bot traffic inflated session counts historically. Describe detection signals (e.g., high-frequency events, identical user-agent patterns), define filtering rules to remove bot events, estimate historical impact on key metrics, and propose continuous monitoring to detect future bot contamination.

MediumTechnical
81 practiced

Write a SQL (or pseudocode) to compute weighted conversion rate when users have unequal sampling weights (weight column in users table). The metric should return weighted_conversion_rate and an approximate standard error for confidence intervals.

Unlock Full Question Bank

Get access to all Metric Definition and Implementation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.