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.

MediumTechnical
76 practiced

Explain how to compute a 28-day rolling retention metric and how it differs from cohort retention. Provide the formula and describe how to compute it efficiently across large datasets in SQL or an analytical engine.

HardTechnical
83 practiced

Multiple teams report different values for the same metric 'activations' (product: first 7-day key event; growth: first login + profile completion). As a senior data engineer, describe a cross-functional process to reconcile definitions, create a canonical metric, implement the canonical definition in pipelines and the metrics layer, and deprecate legacy variants while minimizing disruption.

EasyTechnical
79 practiced

Define what a business metric is and how it differs from a dimension and a KPI. Give concrete examples mapping event-level data to a metric versus a dimension (for example: page_view_count, user_country, conversion_rate). Explain when a metric should be computed at event-level versus aggregated, and name one case where computing at the wrong level causes bias.

EasyTechnical
59 practiced

Explain tumbling (calendar-aligned), sliding (rolling) and session-based windows for metric aggregation. When would you choose a rolling 7-day average instead of month-to-date, and what pitfalls arise from timezones and daylight savings when computing daily metrics?

EasyTechnical
86 practiced

Describe trade-offs between reporting percentages (rates) and absolute numbers. Give an example where a percentage is misleading and recommend how to present both the percentage and absolute values to stakeholders. Explain how denominator instability affects interpretation.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.