Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Design Data Quality Controls Pipeline

EasyPipelines00:00
Practice interviewer
In session
5 left
00:00

Your question is Design Data Quality Controls Pipeline. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Context

FinSight, a B2B fintech analytics company, ingests transaction, customer, and ledger data from PostgreSQL, Stripe, and S3 CSV drops into Snowflake for finance and risk reporting. The current Airflow-managed batch pipeline loads data nightly, but recurring issues with null keys, duplicate transactions, schema drift, and partial loads have caused reporting errors and broken downstream dashboards.

You need to design a data pipeline approach that ensures data quality across ingestion, transformation, and warehouse publishing while keeping the existing batch architecture and team skills largely unchanged.

Scale Requirements

  • Sources: 3 core systems (PostgreSQL OLTP, Stripe API, S3 partner files)
  • Volume: ~120M rows/day across all datasets
  • Batch frequency: Hourly for transactions, daily for dimensions
  • Latency target: Hourly transaction tables available in Snowflake within 20 minutes of batch start
  • Storage: 8 TB raw retained for 180 days; curated warehouse tables retained indefinitely
  • Data quality SLA: 99.5% of scheduled loads must pass quality gates without manual intervention

Requirements

  1. Design ingestion and transformation stages with explicit data quality checks at each layer.
  2. Validate schema, nullability, uniqueness, referential integrity, and freshness before publishing curated tables.
  3. Prevent bad data from reaching business-facing Snowflake marts.
  4. Support idempotent re-runs for failed hourly and daily jobs.
  5. Provide observability for failed checks, row-count anomalies, and delayed upstream feeds.
  6. Define how quarantined records are stored, reviewed, and replayed.
  7. Include orchestration logic for gating downstream tasks on data quality status.

Constraints

  • Existing stack is AWS + Snowflake + Airflow; avoid introducing more than one major new platform.
  • Team size is 3 data engineers; solution should be operable without a dedicated platform team.
  • Finance data is SOX-audited, so all quality failures and overrides must be logged.
  • Monthly incremental infrastructure budget is capped at $12K.
  • Source systems cannot be heavily modified; most controls must be implemented downstream.