# A SaaS company loads two million customer events per day across four event types into curated.fct_cu

Canonical URL: <https://datadriven.io/problems/a-saas-company-loads-two-million-customer-events-per-day-acr-483a0ba0>

Domain: Pipeline Design · Difficulty: medium

## Problem

A SaaS company loads two million customer events per day across four event types into curated.fct_customer_events. The table feeds a dashboard, a churn model, and a billing report. The section's deliverable is a quality suite covering all five pillars: freshness (MAX(event_timestamp) within 2 hours), volume (row count vs day-of-week baseline), distribution (amount_usd z-shift, event_type category mix within 5 percentage points), schema (declared columns, types, nullability), and lineage hint (which upstream column produced which output column). Compose the five-pillar suite by adding five quality-check transforms, one per pillar, each with assertion and threshold visible, and routing block-class fires to a paging destination.

## Related

- [All practice problems](https://datadriven.io/problems)
- [Mock interview mode](https://datadriven.io/interview/a-saas-company-loads-two-million-customer-events-per-day-acr-483a0ba0)
- [System Design Interview Questions](https://datadriven.io/data-engineering-system-design)
- [Data Engineering Interview Prep Guide](https://datadriven.io/data-engineer-interview-prep)
- [Daily Challenge](https://datadriven.io/daily)

---

Source: DataDriven (https://datadriven.io). 100% free data engineering interview prep. Live code execution against Postgres 16, Python 3.11, and Spark sandboxes. No paywall, no premium tier, no signup gate.