Data Engineer roadmap
For engineers who can write SQL and Python and want to build and run production pipelines end to end: batch and streaming, lakehouse tables, orchestration, testing and design interviews.
- 15 topics
- 128 hours
- about 16 weeks at 8 hours a week
- Free, no sign-up
Progress is saved in this browser. Nothing is sent anywhere.
Before you start
- SQL joins and grouping
- Python basics
- Or finish the Junior Data Engineer roadmap first
What this roadmap includes
- 112 guide sections to study, in order
- 23 interview question sets
- 15 hands-on exercises and tools
- 19 production scenarios and case studies
- 2 knowledge checks
Window functions, CTEs and subqueries
Rank, deduplicate, run totals and compare rows over time: the patterns behind most SQL interview questions.
What to study
Learn
- Common Table Expressions (CTEs)Advanced SQL
- SubqueriesAdvanced SQL
- Window FunctionsAdvanced SQL
- Recursive CTEsAdvanced SQL
- Window FunctionsSQL Interview Questions
Interview questions
- What is the difference between ROW_NUMBER, RANK and DENSE_RANK?Interview question
- Can you filter on a window function in WHERE?Interview question
- Why does LAST_VALUE(salary) OVER (PARTITION BY dept ORDER BY salary) return each row's own salary?Interview question
- Top 3 products by revenue per category: ROW_NUMBER, RANK or DENSE_RANK?Interview question
- Return the Nth highest distinct salary, or NULL if there is none.Interview question
Practise
- Running total of revenueExercise you run in the browser
- Top earner per department, keeping tiesExercise you run in the browser
- Second highest salaryExercise you run in the browser
- Keep the latest row per customerExercise you run in the browser
- Month-over-month growthExercise you run in the browser
- Users with a 3-day login streakExercise you run in the browser
Production scenarios
- How do you remove duplicate rows, keeping the latest version of each key?Interview question
- What is the gaps-and-islands problem? Find users with 3 or more consecutive login days.Interview question
- How do you compute a running total and a 7-day moving average?Interview question
- How do you compute month-over-month revenue growth?Interview question
Python for pipelines
Batching, deduplication, JSON and CSV handling, time zones, generators and tests for pipeline code.
What to study
Learn
- Functional ProgrammingPython for Data Engineers
- Modules, Packages, Errors and ExceptionsPython for Data Engineers
- Decorators, Generators & Context ManagersPython
- Type HintsPython
- Environments & TestingPython
- boto3 (AWS SDK)Python
Interview questions
- Python for Data EngineersDE Interview Questions
Practise
- Split records into batchesExercise you run in the browser
- Flatten nested JSONExercise you run in the browser
- Totals from a CSV exportExercise you run in the browser
- Keep the latest record per idExercise you run in the browser
- Daily totals in UTCExercise you run in the browser
- Count user sessionsExercise you run in the browser
Check yourself
Data warehousing and dimensional modelling
OLTP versus OLAP, facts and dimensions, star and snowflake schemas and slowly changing dimensions.
What to study
Learn
- OLTP vs OLAPData Warehousing Deep Dive
- Data Warehousing ArchitectureData Warehousing Deep Dive
- Facts vs DimensionsData Warehousing Deep Dive
- Star and Snowflake SchemasData Warehousing Deep Dive
- Slowly Changing Dimensions: Types 1, 2 and 3Data Warehousing Deep Dive
- Fact Table TypesData Warehouse
- Conformed DimensionsData Warehouse
- The Three Levels of a ModelData Modelling
- Designing the Star SchemaData Modelling
Interview questions
- Modelling Interview QuestionsData Warehouse
- Common Interview QuestionsData Modelling
- Data Modeling & WarehousingDE Interview Questions
Practise
- Star & Snowflake Design ExercisesData Warehouse
Production scenarios
- How to Approach a Modelling ProblemData Modelling Case Studies
- E-commerce PlatformData Modelling Case Studies
- Banking SystemData Modelling Case Studies
Git and working in a team
Everyday Git, merge versus rebase, undoing mistakes and pull requests for data projects.
What to study
Learn
Interview questions
Apache Spark fundamentals
DataFrames, joins, aggregations, reading and writing data, partitioning and what happens on spark-submit.
What to study
Learn
- Creating DataFramesSpark & Databricks
- Selecting & Manipulating ColumnsSpark & Databricks
- Filtering, Dropping, SortingSpark & Databricks
- Aggregations & JoinsSpark & Databricks
- Reading & Writing DataSpark & Databricks
- PartitioningSpark & Databricks
- Spark SQL FunctionsSpark & Databricks
- Spark ArchitectureSpark & Databricks
- What Happens on spark-submit (End to End)Spark & Databricks
Interview questions
- Spark & DatabricksDE Interview Questions
ETL, ELT and incremental loading
Watermarks, change data capture, idempotent merges, late data and safe backfills.
What to study
Learn
- ETL, ELT and the ToolsData Warehousing Deep Dive
- Full vs Incremental LoadIncremental Load
- Watermark-based ExtractionIncremental Load
- Change Data CaptureIncremental Load
- Delivery Semantics & IdempotencyIncremental Load
- Merge / UpsertIncremental Load
- Backfill & ReprocessingIncremental Load
Interview questions
- Pipelines, Incremental Load & OrchestrationDE Interview Questions
Production scenarios
- Design ChecklistIncremental Load
- Monitoring & Data QualityIncremental Load
Delta Lake and open table formats
MERGE, time travel, schema evolution and table maintenance, and how Delta compares with Iceberg and Hudi.
What to study
Learn
- What Delta Lake IsDelta Lake
- MERGE: Upserts & DeletesDelta Lake
- Time Travel, History & RestoreDelta Lake
- Schema Enforcement & EvolutionDelta Lake
- OPTIMIZE, Z-ORDER & VACUUMDelta Lake
- Change Data FeedDelta Lake
- What Apache Iceberg IsApache Iceberg
- Delta vs Iceberg vs HudiApache Hudi
Interview questions
- Common Interview QuestionsDelta Lake
- Delta Lake Deep DiveDE Interview Questions
Production scenarios
- Table Maintenance: OPTIMIZE, VACUUM and Predictive OptimizationSpark & Databricks
Orchestration with Airflow
DAGs, scheduling and catch-up, operators and sensors, retries and running Airflow in production.
What to study
Learn
- What Apache Airflow IsApache Airflow
- ArchitectureApache Airflow
- Your First DAG (TaskFlow API)Apache Airflow
- Scheduling, Data Intervals & CatchupApache Airflow
- Operators, Sensors & HooksApache Airflow
- Branching, Trigger Rules & Dynamic TasksApache Airflow
- Orchestrating Spark, Databricks, Glue & dbtApache Airflow
- Retries, Alerts & Resource ControlApache Airflow
- Running Airflow in ProductionApache Airflow
Interview questions
- Common Interview QuestionsApache Airflow
Production scenarios
- Best PracticesApache Airflow
Transformations with dbt
Sources, staging, snapshots, incremental models, tests and CI/CD for dbt on Databricks.
What to study
Learn
Interview questions
Production scenarios
A data lake on S3, Glue and Athena
Lake layout on S3, the Glue Data Catalog and ETL jobs, incremental processing and fast, cheap Athena queries.
What to study
Learn
- Data Lake LayoutAmazon S3
- Storage Classes & LifecycleAmazon S3
- Security: Access, Encryption & GovernanceAmazon S3
- Performance & CostAmazon S3
- The Data CatalogAWS Glue
- A Glue ETL Job (PySpark)AWS Glue
- Incremental Processing & Job BookmarksAWS Glue
- Writing Iceberg Tables from GlueAWS Glue
- Creating Tables & PartitionsAmazon Athena
- Performance & Cost OptimisationAmazon Athena
- Reference ArchitectureData Lake
- Building with Lake FormationData Lake
Interview questions
- Common Interview QuestionsAWS Glue
- Common Interview QuestionsAmazon Athena
- AWS: Glue, EMR & AthenaDE Interview Questions
Check yourself
- AWS Data Engineer Associate: practice setCertification practice
Spark performance and cluster sizing
Shuffles, skew and salting, partition tuning, memory and caching, and sizing a cluster for 10 GB to 1 TB.
What to study
Learn
- Performance TuningSpark & Databricks
- Partition OptimizationSpark & Databricks
- Memory & CachingSpark & Databricks
- Garbage CollectionSpark & Databricks
- UDFsSpark & Databricks
- Sizing a Cluster: 10 GB, 100 GB, 1 TBSpark & Databricks
- Cores & ParallelismSpark & Databricks
Interview questions
- Tuning Questions from the Official DocsSpark & Databricks
Practise
- Spark cluster sizing calculatorCalculator
Streaming with Kafka and Kinesis
Topics and shards, offsets and delivery guarantees, scaling, lag monitoring and watermarks.
What to study
Learn
- Streaming ConceptsKafka & Kinesis
- Apache KafkaKafka & Kinesis
- Amazon KinesisKafka & Kinesis
- Kinesis vs KafkaKafka & Kinesis
- Offsets & Delivery GuaranteesKafka & Kinesis
- Scaling: Resharding & RebalancingKafka & Kinesis
- Monitoring & LagKafka & Kinesis
- Watermarks in Flink & SparkKafka & Kinesis
- Kappa vs LambdaKafka & Kinesis
Interview questions
- Streaming: Kafka & KinesisDE Interview Questions
Production scenarios
- Lambda Architecture: Flink + DatabricksKafka & Kinesis
- The Kafka Data Engineer RoleKafka & Kinesis
Data quality, testing and observability
Quality checks and KPIs, pipeline monitoring, alerting and observability.
What to study
Learn
- Data QualityEnterprise Data Architect
- Data Quality KPIs at Enterprise LevelEnterprise Data Architect
- Observability and OperationsEnterprise Data Architect
- Monitoring & Data QualityIncremental Load
- Monitoring & ObservabilityDevOps
- Glue Data QualityAWS Glue
Production scenarios
- Pipeline AlertingAmazon SNS & EventBridge
DevOps for data: CI/CD, Docker and Terraform
Build, test and release data code through a pipeline, with containers and infrastructure as code.
What to study
Learn
- The CI/CD PipelineDevOps
- Containers with DockerDevOps
- Infrastructure as Code with TerraformDevOps
- Environments & Release StrategiesDevOps
- Testing Data PipelinesDevOps
- Why Data Teams Need DevOpsDevOps for Data Engineering
- CI/CD Pipelines and Testing Data CodeDevOps for Data Engineering
- Infrastructure as Code with TerraformDevOps for Data Engineering
Interview questions
Production scenarios
- DataOps & MLOpsDevOps
Data engineering system design
A repeatable method for design rounds, with worked designs for streaming analytics and ride-hailing.
What to study
Learn
- Batch vs StreamingData Engineering System Design
- Ingest → Process → Store → ServeData Engineering System Design
- Scalability and Fault ToleranceData Engineering System Design
- A Method for System Design InterviewsData Engineering System Design
Interview questions
- Scenario & System DesignDE Interview Questions
Practise
- Spark cluster sizing calculatorCalculator
Production scenarios
- Design: Video Streaming Analytics PipelineData Engineering System Design
- Design: Ride-Hailing Real-Time PipelineData Engineering System Design