Sales Lakehouse: Databricks Data Engineer Associate, built and tested Rebuilt 25 November 2026 from a real build · Free Edition + S3 + Salesforce + GitHub
0 of 0 sub-steps

Build a cost-aware lakehouse, one step at a time

A small sales analytics platform: Salesforce customers and S3 files flow through bronze, silver and gold into a dashboard. One job orchestrates it, governance protects it, and GitHub Actions deploys it to a separate production catalog as a service principal.

This version comes from an end-to-end build, not just the docs. Each step says what worked, what broke and how it was fixed. The focus is architecture, cost and performance; your AI coding tool can write notebook code from each step’s spec.

✅ docs-verified🧪 tested in our build🟠 not confirmed in the docs

What you’ll build

Sources
  • Salesforce: Account, Contact, Opportunity
  • S3: orders and order lines (CSV), web events (JSON)
Bronze: raw
  • Connector streaming tables (current state)
  • Auto Loader, append-only tables
Silver: clean
  • foreachBatch MERGE + quarantine
  • SCD Type 2 customer dimension
  • Partitioned → liquid, manual and AUTO
Gold: serve
  • Two materialized views with expectations
  • One standard view
Consume and govern
  • AI/BI dashboard
  • Manual masks, then ABAC
One Lakeflow JobGit folders + GitHubBundles: dev (dbx_demo) and prod (dbx_demo_prod)GitHub Actions as a service principalServerless only

Before you start: facts that shape the design

Free Edition limits ✅
  • Serverless compute only; outbound internet limited to trusted domains.
  • One SQL warehouse (2X-Small). At most 5 concurrent job tasks. One active pipeline per pipeline type.
  • One workspace and metastore; no account console or account-level APIs. Custom workspace storage locations aren’t supported.
  • Some limits can be raised by verifying your identity with LinkedIn.
Pipelines you don’t write No Declarative Pipelines code here, but two features run pipelines for you: the Salesforce connector (an ingestion pipeline) and every materialized view (a serverless pipeline for create and refresh). That’s why the one-active-pipeline limit matters.
Partitioning and liquid clustering can’t be combined ✅ Databricks recommends liquid clustering for all new tables; most tables under 1 TB don’t need partitions. The one partitioned table here is a teaching contrast, converted in step 8 and step 17.

Docs: Free Edition limitations · Liquid clustering · When to partition

What changed since the last build (2 → 25 November 2026)

  • Exam guide: exam published 4 May 2026, guide updated 6 August 2026, now seven sections (Platform 6%, Ingestion 21%, Transformation 22%, Jobs 16%, CI/CD 10%, Monitoring and optimization 10%, Governance 15%). New objectives include compute cost models, managed vs external table conversion, GRANT/REVOKE/DENY, Spark UI bottlenecks and bundle variables.
  • Dashboards: publish options are now named Share data permission (default) and Individual data permissions; a service principal can be the publisher credential.
  • Auto Loader: new mode addNewColumnsWithTypeWidening (Public Preview, DBR 16.4+).
  • Liquid clustering docs moved to /tables/clustering; partitioned-table conversion needs DBR 18.1+.
  • Materialized views: the REFRESH POLICY clause is marked Beta.
  • Serverless performance modes now have their own page: standard mode starts in about 4–6 minutes and uses fewer DBUs.
  • ABAC: four policy types (row filter, column mask, GRANT and DENY in Beta); time travel and cloning aren’t supported on ABAC-secured tables.
  • Answered by the build: the Salesforce connector, predictive optimization and ABAC all work on Free Edition; service principals can be created, but OIDC federation can’t be configured.
  • Correction: excluded upstream tasks are treated as successful by Run if, so “All succeeded” would not have skipped refresh_gold on the False branch (see step 12).

Exam coverage map (guide updated 6 August 2026)

Exam sectionCovered in stepsNot built here
1 · Databricks Intelligence Platform (6%)1, 2, 17 (serverless, performance modes, Delta, Unity Catalog)Classic compute types, compared in text only
2 · Data Ingestion and Loading (21%)4, 5JDBC/ODBC/REST from notebooks; standard connectors
3 · Data Transformation and Modeling (22%)6, 7, 8, 9, 10Approximate count distinct, explode (simple to add)
4 · Working with Lakeflow Jobs (16%)12Dashboard task (removed: it refreshed the dev dashboard); table update trigger (explained)
5 · Implementing CI/CD (10%)14, 15, 16A separate test target
6 · Troubleshooting, Monitoring and Optimization (10%)8, 9, 17Spark UI stage metrics (skew, spill); cluster startup and library failures
7 · Governance and Security (15%)2, 13, 16Converting managed ↔ external tables; DENY

Source: Data Engineer Associate exam guide (August 2026)

Ten lessons from the real build

  1. Confirm Free Edition features in your own workspace; screenshots in the docs may not match.
  2. Auto Loader’s addNewColumns stops once by design; job retries recover it.
  3. Constraints fail writes; quarantine routing keeps bad rows for audit. Use both.
  4. Start SCD Type 2 first versions at 1900-01-01, or earlier facts vanish from inner joins.
  5. Gate pipelines on table state (a high-water mark), not on what one run observed.
  6. A materialized view NO_OP still pays pipeline startup time.
  7. Dev deploys from the workspace terminal ran live Git folder files; prod from CI ran frozen copies.
  8. Production should be owned by and run as a service principal, with a fixed root_path and explicit grants.
  9. Scoped OAuth secrets fail with CLI machine-to-machine auth, because the CLI requests all-apis.
  10. After converting a layout, run OPTIMIZE … FULL: 21 files became 1.

Not confirmed in the official docs

  • Why the dev deploy from the workspace web terminal was source-linked. The source_linked_deployment preset is documented as reserved for future use; our observation is the evidence.
  • A native docs.databricks.com page for SCD Type 2 with MERGE. The pattern follows Microsoft Learn’s official training.
  • Whether masks under shared data permissions are evaluated as the publisher in every case. The docs say queries run with the publisher’s data permissions.
  • Some docs links in steps 2–6, 12 and 14 were verified in the first build and during this build, not re-fetched on 25 November.