PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Vanta

Design a DAU/MAU metrics system

Last updated: Jun 15, 2026

Quick Overview

A Vanta software-engineer system-design interview question: design a scalable pipeline to compute and serve DAU and MAU engagement metrics for a large consumer app. It tests event ingestion, identity and de-duplication, exact vs. approximate distinct counting (HyperLogLog/bitmaps), handling of time zones and late/out-of-order events, streaming-vs-batch correctness, dashboard serving, and monitoring/privacy.

  • medium
  • Vanta
  • System Design
  • Software Engineer

Design a DAU/MAU metrics system

Company: Vanta

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

##### Question Design a system that computes and serves product engagement metrics — **DAU** (Daily Active Users) and **MAU** (Monthly Active Users) — for a large consumer application. An "active user" is a distinct user who performed at least one qualifying event (e.g., app open, page view, login, session start) within the time window. Your design should address: 1. **Metric definitions.** DAU is the number of unique active users per calendar day. For MAU, choose and justify one interpretation — calendar-month uniques or a rolling 30-day window — and explain the trade-off with the other. 2. **Event ingestion and data modeling.** Accept activity events from both web and mobile clients. Specify the required event fields. 3. **De-duplication and identity.** Handle duplicate events; define the canonical user key across `user_id`, `device_id`/`anonymous_id`, and logged-out users. 4. **Accurate DAU/MAU computation.** Address time-zone/day boundaries, late-arriving events, out-of-order events, and backfills. 5. **Storage and compute choices at large scale.** Justify your streaming vs. batch and exact vs. approximate counting decisions. 6. **Serving queries and dashboards.** Support near-real-time dashboards for product and leadership teams plus historical queries by date range, platform, country, and app version. Discuss latency, caching, and correctness guarantees. 7. **Monitoring, data quality, failure handling, and privacy.** Cover anomaly detection, reconciliation, fault tolerance, and PII/retention controls.

Quick Answer: A Vanta software-engineer system-design interview question: design a scalable pipeline to compute and serve DAU and MAU engagement metrics for a large consumer app. It tests event ingestion, identity and de-duplication, exact vs. approximate distinct counting (HyperLogLog/bitmaps), handling of time zones and late/out-of-order events, streaming-vs-batch correctness, dashboard serving, and monitoring/privacy.

Vanta logo
Vanta
Feb 23, 2026, 12:00 AM
Software Engineer
Onsite
System Design
49
0
Question

Design a system that computes and serves product engagement metrics — DAU (Daily Active Users) and MAU (Monthly Active Users) — for a large consumer application.

An "active user" is a distinct user who performed at least one qualifying event (e.g., app open, page view, login, session start) within the time window.

Your design should address:

  1. Metric definitions. DAU is the number of unique active users per calendar day. For MAU, choose and justify one interpretation — calendar-month uniques or a rolling 30-day window — and explain the trade-off with the other.
  2. Event ingestion and data modeling. Accept activity events from both web and mobile clients. Specify the required event fields.
  3. De-duplication and identity. Handle duplicate events; define the canonical user key across user_id , device_id / anonymous_id , and logged-out users.
  4. Accurate DAU/MAU computation. Address time-zone/day boundaries, late-arriving events, out-of-order events, and backfills.
  5. Storage and compute choices at large scale. Justify your streaming vs. batch and exact vs. approximate counting decisions.
  6. Serving queries and dashboards. Support near-real-time dashboards for product and leadership teams plus historical queries by date range, platform, country, and app version. Discuss latency, caching, and correctness guarantees.
  7. Monitoring, data quality, failure handling, and privacy. Cover anomaly detection, reconciliation, fault tolerance, and PII/retention controls.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Vanta•More Software Engineer•Vanta Software Engineer•Vanta System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.