Data Engineering Reference/Data Engineering Foundations

The Data Engineering Lens

What data engineers build vs data scientists and backend engineers, the ingest-transform-serve lifecycle, and why pipelines are distributed systems with data correctness as the core SLO.

2/5Overview: 30m

What data engineers own

Data engineers build reliable paths for data — from source systems to analytics, ML features, and operational reverse-ETL. You are not:

RoleFocus
Data scientistModels, experiments, notebooks
Backend engineerRequest/response APIs, user-facing SLAs
ML engineerTraining, serving (see AI Systems for AI pipelines)
Data engineerIngestion, transformation, orchestration, quality, cost

Senior signal: "I own the contract between producers and consumers — schema, freshness, and correctness."

The pipeline lifecycle

Sources → Ingest → Raw storage → Transform → Curated tables → Consumers │ │ │ │ │ events Kafka/ data lake Spark/dbt BI, ML, APIs APIs CDC (bronze) (silver/gold)

Each arrow is a job with schedules, retries, monitoring, and an owner.

Pipelines are distributed systems

A nightly Spark job is a distributed system with different failure modes than a microservice:

  • Partial writes — job succeeds on 990/1000 partitions
  • Duplicate runs — Airflow retry after a false failure
  • Late data — events arrive after the window closed
  • Schema drift — upstream adds a column, downstream SQL breaks

Link to Distributed Systems for delivery semantics and idempotency — we apply them to data here.

What sibling tracks cover

TrackYou use it for
SQLTransform logic, interview query patterns
DatabasesStorage formats (Parquet, Iceberg), OLTP vs OLAP, lake layout
Distributed SystemsAt-least-once, exactly-once, partitioning theory
ObservabilityMetrics, logs, alerting on pipeline SLAs
ConcurrencyParallel execution within one machine (Spark executors)

Anchor book

Fundamentals of Data Engineering (Reis & Housley) — the definitive modern DE textbook. DDIA Ch. 10–11 for batch/stream theory.

Interview framing

"Walk me through how clickstream data reaches the exec dashboard":

  1. Source (web SDK → Kafka)
  2. Ingest (stream or micro-batch to bronze)
  3. Transform (sessionization, dedup, aggregation)
  4. Serve (warehouse mart, BI tool)
  5. SLAs (freshness, completeness checks)

Mention ownership and data contracts, not just "we use Spark."

Further Reading

Hands-On Tasks (Optional)

Pipeline design drills and whiteboard exercises — DAG sketches, partition plans, backfill strategies. Assumes Databases and SQL fundamentals are in place.

  • Map a company's data lifecycle

    Pick a product (e-commerce, streaming service). Draw sources → ingestion → raw/bronze → transforms → warehouse/marts → consumers (BI, ML, reverse ETL). Label batch vs streaming paths and who owns each box.

    20m