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 Databricks Streaming ETL Pipeline

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

Your question is Design Databricks Streaming ETL 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

A SaaS company running on the Databricks Data Intelligence Platform currently ingests application events and CDC updates with hourly batch jobs into Delta tables. Product analytics, fraud detection, and operational dashboards need fresher data, so the team wants to standardize on Databricks Structured Streaming with Delta Live Tables / Lakeflow Declarative Pipelines and Unity Catalog.

You are asked to design a production-grade streaming pipeline on Databricks that explains how Spark Structured Streaming should be used end to end, including ingestion, stateful processing, data quality, checkpointing, and downstream serving.

Scale Requirements

  • Input sources: Kafka event stream + Debezium CDC landing in cloud object storage
  • Throughput: 250K events/sec peak, 40K rows/sec CDC peak
  • Event size: 1-3 KB JSON payloads
  • Latency target: Bronze to Silver in < 90 seconds; Gold aggregates in < 3 minutes
  • Daily volume: ~18 TB raw data/day
  • Retention: 30 days raw replay, 1 year curated Delta tables

Requirements

  1. Design a Databricks-native streaming architecture using Auto Loader, Structured Streaming, Delta Lake, and Unity Catalog.
  2. Explain how to implement exactly-once or effectively-once processing with checkpointing, idempotent writes, and deduplication.
  3. Handle late and out-of-order events using watermarks and stateful aggregations.
  4. Define Bronze, Silver, and Gold transformations, including schema evolution and CDC merge logic.
  5. Add data quality expectations, quarantine handling, and replay/backfill strategy.
  6. Describe orchestration with Databricks Workflows or Lakeflow, plus deployment across dev/staging/prod.
  7. Specify monitoring, alerting, and recovery for failed micro-batches, lag, and bad records.

Constraints

  • Must stay primarily within the Databricks ecosystem; minimize external operational overhead.
  • PII data must be governed through Unity Catalog and support auditability.
  • Budget allows autoscaling compute, but long-running overprovisioned clusters are discouraged.
  • The design must support both continuous ingestion and historical backfills without duplicating records.