InterviewStack.io LogoInterviewStack.io

Cohort Analysis and Retention Metrics Questions

Cohort analysis and retention metrics cover methods for grouping users into cohorts by acquisition date, behavior, channel, geography, or other attributes and tracking their behavior over time. Candidates should be comfortable defining cohorts, computing retention curves and retention tables, and calculating key metrics such as day one retention, day seven retention, rolling retention, repeat engagement, churn rates, and cohort lifetime value. Understand how to interpret retention curve shapes and cohort trends to diagnose product market fit, onboarding problems, or channel quality, and how retention drives unit economics and revenue. Practical skills include writing queries in structured query language to segment users and produce cohort tables, plotting retention curves, comparing cohorts across acquisition channels, running cohort based experiments and A B tests, and using cohort insights to prioritize product changes and growth experiments.

MediumTechnical
38 practiced
Describe a reliable production process to generate daily cohort retention tables and push updates to a BI tool. Include how you would implement incremental updates, handle backfills, add data validation checks, and set up alerting for anomalies. Mention technologies you would use and trade-offs between batch and streaming approaches.
MediumTechnical
39 practiced
You observe paid-social acquisitions have 40% higher day-1 retention than organic but organic users have 30% higher day-30 retention. Stakeholders ask which channel is better. Describe what additional analyses you would run before recommending a channel shift. Consider LTV, cohort sizes, CAC, selection bias, and statistical uncertainty.
MediumTechnical
40 practiced
Write an ANSI SQL query using window functions that computes for each week cohort the 7-day rolling retention rate: for each cohort and day_n (0..30), compute percent of users in the cohort who were active at least once in the 7 days ending on day_n. Schema: users(user_id, install_date date) and events(user_id, event_date date). Explain the window/aggregation approach.
HardTechnical
43 practiced
Show how retention metrics feed into unit economics: explain how to compute CAC payback period given cohort acquisition cost, daily retention curve, and daily revenue per retained user. Provide formulas and a short worked example calculating payback days for a hypothetical cohort.
EasyTechnical
40 practiced
In cohort analysis, duplicate user_ids, late-arriving events, and timezone differences can distort retention numbers. Provide a checklist and concrete strategies (SQL or ETL) to detect and correct these issues before building cohort tables. Include approaches to deduplicate users, normalize timestamps, and handle late-arriving events for accurate retention calculations.

Unlock Full Question Bank

Get access to hundreds of Cohort Analysis and Retention Metrics interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.