Databricks Data Engineer roadmap
For engineers building on Databricks: from Spark and Delta basics to governed, production pipelines, with practice for the Data Engineer Associate exam.
- 10 topics
- 84 hours
- about 11 weeks at 8 hours a week
- Free, no sign-up
Progress is saved in this browser. Nothing is sent anywhere.
Before you start
- SQL and Python basics
What this roadmap includes
- 67 guide sections to study, in order
- 12 interview question sets
- 13 hands-on exercises and tools
- 10 production scenarios and case studies
- 3 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
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
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
The Databricks platform and Unity Catalog
Workspaces, compute, notebooks, Auto Loader and governing data with Unity Catalog.
What to study
Learn
- The Databricks Platform in One PictureDatabricks Advanced
- Unity Catalog in PracticeDatabricks Advanced
- Databricks PlatformSpark & Databricks
- Databricks ComponentsSpark & Databricks
- Databricks NotebooksSpark & Databricks
- Auto Loader in DepthSpark & Databricks
Interview questions
- Databricks PlatformDE Interview Questions
Check yourself
- Databricks Data Engineer Associate: practice setCertification practice
Pipelines and streaming on Databricks
Lakeflow declarative pipelines, Structured Streaming, incremental ingestion and SCD Type 2.
What to study
Learn
- Lakeflow Declarative PipelinesDatabricks Advanced
- Advanced Ingestion and StreamingDatabricks Advanced
- SCD Type 2: Two Ways on DatabricksDatabricks Advanced
- Incremental IngestionSpark & Databricks
- Structured StreamingSpark & Databricks
- LakeflowSpark & Databricks
Production scenarios
- SCD Type 2: Two Ways on DatabricksDatabricks Advanced
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
Production Databricks
Asset bundles, jobs, CI/CD, environments, liquid clustering and keeping tables fast.
What to study
Learn
- Jobs, Asset Bundles and CI/CDDatabricks Advanced
- Performance and LayoutDatabricks Advanced
- Asset Bundles & Job SchedulingSpark & Databricks
- Environments: Dev, Test, Preprod, ProdSpark & Databricks
- Liquid ClusteringSpark & Databricks
- Developing in VS CodeSpark & Databricks
Production scenarios
- Production Databricks SetupSpark & Databricks
Check yourself
- Advanced Topics Study MapDatabricks Advanced
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
Governance, security, privacy and lineage
Catalogs and metadata, classification, privacy, access control and lineage across systems.
What to study
Learn
- Data GovernanceEnterprise Data Architect
- Metadata and CatalogsEnterprise Data Architect
- Data ClassificationEnterprise Data Architect
- Data PrivacyEnterprise Data Architect
- Data Security and How to Implement ItEnterprise Data Architect
- Data LineageEnterprise Data Architect
- Implementing Centralised Metadata, Lineage, Governance and SecurityEnterprise Data Architect
- Data Governance ArchitectureData Lake
Interview questions
- Governance & ComplianceDE Interview Questions
Production scenarios
- Banking Compliance & RegulationData Lake
- Building Enterprise Lineage Across SystemsEnterprise Data Architect