SASERÁ Academy
Databricks Certified Data Engineer Professional · Oct 9, 2026 guide · free practice

Databricks Data Engineer Professional practice exam: 10 free questions, code included

Ten questions written for the exam version published October 9, 2026, one from each of the nine sections plus a second on Structured Streaming: AUTO CDC arguments, watermarks in append mode, Kafka in a streaming table, VARIANT parsing, an alert task that gates a job, CLUSTER BY AUTO, an ABAC row filter policy, Unity Catalog grants, bundle deployment and metric views. Answer, then read why each option is right or wrong.

  • 60 scored questions
  • 120 minutes
  • 9 sections
  • Pass mark not published
Databricks Data Engineer Professional practice exams course cover

10 free Databricks Data Engineer Professional practice questions

Taken from the course, at least one from every section, with SQL, PySpark and bundle commands to read. Click an option to answer; the explanation under every option appears as soon as you do.

  1. Developing Code for Data Processing using Python and SQLQuestion 1 of 10

    An engineer writes dp.create_auto_cdc_flow(target="orders_current", source="orders_cdc", stored_as_scd_type=1) and the pipeline fails validation. Which arguments must be added for a change feed source?

    1. keys and sequence_by
    2. apply_as_deletes and apply_as_truncates
    3. except_column_list and column_list
    4. track_history_column_list and ignore_null_updates
    Show the answer and why

    Answer: A

    • A. Correct. AUTO CDC needs the key columns that identify a row and a column that orders the changes.
    • B. These are optional and only needed when the feed carries delete or truncate operations.
    • C. Column selection is optional; all source columns are used by default.
    • D. History tracking and null handling are optional refinements.

    Why it matters: keys and sequence_by are required for AUTO CDC on a change feed.

  2. Developing Code for Data Processing using Python and SQLQuestion 2 of 10

    A query computes events.withWatermark("event_ts", "10 minutes").groupBy(window("event_ts", "5 minutes"), "device_id").count() and writes in append mode. Events for the window 10:00 to 10:05 arrived between 10:00 and 10:04. When is that window's count first written to the sink?

    1. At 10:05, when the window closes on the wall clock
    2. In the first micro-batch that contains any event for the window, then again on every update
    3. In a micro-batch after the maximum event time seen reaches 10:15, when the watermark passes the window end
    4. Only when the query stops, because append mode writes aggregates once at the end
    Show the answer and why

    Answer: C

    • A. Emission depends on event time and the watermark, not on wall-clock time.
    • B. Repeated emission of changing results describes update mode.
    • C. Correct. Append mode emits a window only when the watermark (max event time minus 10 minutes) passes the window end of 10:05.
    • D. Append mode writes each finalized window during the run.

    Why it matters: In append mode, a windowed aggregate is emitted once the watermark passes the window end, so output is delayed by at least the watermark.

  3. Data Ingestion & AcquisitionQuestion 3 of 10

    An analytics engineer wants a streaming table in SQL that ingests topic clicks from Kafka in a pipeline. Which statement does this?

    1. CREATE OR REFRESH STREAMING TABLE clicks_raw AS SELECT * FROM STREAM read_kafka(bootstrapServers => 'b1:9092', subscribe => 'clicks')
    2. CREATE OR REFRESH MATERIALIZED VIEW clicks_raw AS SELECT * FROM read_kafka(bootstrapServers => 'b1:9092', subscribe => 'clicks')
    3. CREATE OR REFRESH STREAMING TABLE clicks_raw AS SELECT * FROM STREAM read_files('kafka://b1:9092/clicks')
    4. CREATE STREAMING TABLE clicks_raw USING KAFKA OPTIONS (subscribe 'clicks')
    Show the answer and why

    Answer: A

    • A. Correct. read_kafka with STREAM creates an incremental Kafka source for a streaming table.
    • B. A materialized view does a batch read of the topic, not continuous incremental ingestion.
    • C. read_files reads files from storage, not Kafka topics.
    • D. This is not the supported syntax for a Kafka streaming table.

    Why it matters: In SQL, use STREAM read_kafka(...) in a streaming table to ingest Kafka incrementally.

  4. Data ManipulationQuestion 4 of 10

    A partner sends JSON strings that are occasionally truncated. Bronze uses parse_json(body) and the whole batch fails with MALFORMED_RECORD_IN_PARSING. The requirement is to load every good record and keep the bad ones for review. Which approach BEST meets it?

    1. Wrap parse_json(body) in a Python UDF that catches the exception and returns the raw string on failure
    2. Use to_json(body) to normalize the strings first, then call parse_json on the result
    3. Use try_parse_json(body) and send rows where it returns NULL while body is present to a quarantine table
    4. Cast body to VARIANT with body::variant, which skips validation and stores malformed text as a string value
    Show the answer and why

    Answer: C

    • A. A Python UDF is slower than the built-in function, and returning a string from a VARIANT expression mixes types.
    • B. to_json converts structured values to JSON text; it does not repair a truncated JSON document.
    • C. Correct. try_parse_json returns NULL for malformed input instead of failing, so good rows load and bad rows are easy to identify and keep.
    • D. Casting a string to VARIANT stores it as a string value; it does not parse the JSON, so fields cannot be queried.

    Why it matters: try_parse_json is the non-failing form of parse_json and makes a simple quarantine split possible.

  5. Monitoring and AlertingQuestion 5 of 10

    A pipeline task loads silver_orders every hour. A publish task must run only if the share of that hour's orders with a null ship_to stays under 1%, and the check must run right after each load, inside the same job. Which design meets the requirement?

    1. Add a SQL alert task after the pipeline task that evaluates the null share, and branch the publish task on the alert's outcome
    2. Schedule a standalone SQL alert every 15 minutes that emails the team when the null share is too high
    3. Set the publish task's Run if condition to All done, so that it runs after the load whatever happens
    4. Add a job failure notification so the team learns when the publish task fails
    Show the answer and why

    Answer: A

    • A. Correct. The alert task runs on the job's trigger right after the load, and downstream tasks can branch on its result; the task itself succeeds whether or not the condition triggers.
    • B. Its schedule is not tied to the load, and an email cannot stop the publish task.
    • C. All done ignores the data check and publishes even when the null share is too high.
    • D. It reports failures after the fact and never evaluates the null share at all.

    Why it matters: An alert task lets a data check gate downstream work in the same run; branch on its outcome, because the task succeeds whenever the evaluation itself works.

  6. Cost & Performance OptimizationQuestion 6 of 10

    A SaaS company has a 15 TB managed table queried by many teams. Filters shift every quarter as new products launch, and nobody owns the choice of clustering keys. Predictive optimization is enabled. Which layout BEST fits?

    1. CLUSTER BY on today's top two filter columns, reviewed by the platform team each quarter
    2. PARTITIONED BY on product_line, with ZORDER on the remaining filter columns
    3. No layout, relying on ingestion time clustering, which adapts to any filter column automatically
    4. CLUSTER BY AUTO, so Databricks picks and evolves keys from the query workload
    Show the answer and why

    Answer: D

    • A. Manual keys work, but they need someone to track shifting patterns, which is what the company lacks.
    • B. Partitioning is rigid and costly to change when patterns shift, and Databricks recommends clustering instead.
    • C. Ingestion time clustering only helps filters correlated with arrival time.
    • D. Correct. Automatic liquid clustering analyzes historical queries and changes keys when the predicted skipping benefit outweighs the clustering cost.

    Why it matters: When access patterns change and keys have no owner, CLUSTER BY AUTO lets predictive optimization choose and evolve them.

  7. Ensuring Data Security and ComplianceQuestion 7 of 10

    A governance team creates CREATE POLICY hide_apac ON SCHEMA retail.sales ROW FILTER retail.sec.not_apac TO emea_analysts FOR TABLES WHEN has_tag_value('sensitivity', 'high') MATCH COLUMNS has_tag('geo') AS g USING COLUMNS (g). Which tables are filtered when emea_analysts query them?

    1. Tables under retail.sales, including future ones, that carry sensitivity = high and have a column tagged geo
    2. Every table under retail.sales, because the WHEN clause only documents intent and is never evaluated at query time
    3. Only the tables that already existed under retail.sales when the policy was created
    4. Tables tagged sensitivity = high anywhere in the retail catalog
    Show the answer and why

    Answer: A

    • A. Correct. WHEN selects tables by tag (tags inherited from the schema or catalog count), and every MATCH COLUMNS condition must match.
    • B. WHEN is evaluated; it is omitting WHEN that applies a policy to every table in scope.
    • C. Policies are evaluated dynamically, so new tables that meet the conditions are covered.
    • D. The policy is attached to the schema retail.sales and only covers its descendants.

    Why it matters: Policy scope (ON), table condition (WHEN) and column conditions (MATCH COLUMNS) together decide where a filter applies.

  8. Data GovernanceQuestion 8 of 10

    A steward runs GRANT SELECT ON CATALOG mkt TO analysts; GRANT USE SCHEMA ON CATALOG mkt TO analysts. Analysts still get a permission error on SELECT * FROM mkt.web.sessions. What is the MOST likely reason?

    1. USE SCHEMA cannot be granted on a catalog; it must be granted on each schema one at a time
    2. SELECT granted on a catalog applies only to tables created after the grant
    3. Catalog-level grants take up to 24 hours to propagate to the tables
    4. USE CATALOG on mkt was never granted to the analysts
    Show the answer and why

    Answer: D

    • A. USE SCHEMA granted on a catalog inherits to all its current and future schemas.
    • B. Inheritance covers current and future objects alike.
    • C. Grants take effect without such a delay.
    • D. Correct. SELECT and USE SCHEMA inherit down to schemas and tables, but reading still needs USE CATALOG on the catalog itself.

    Why it matters: Reading needs SELECT, USE SCHEMA and USE CATALOG; the first two can come from the catalog.

  9. Debugging and DeployingQuestion 9 of 10

    A CI pipeline at a retailer runs databricks bundle deploy -t prod from branch release/2026-10, and it fails with a validation error that the current branch does not match the branch configured for the target. The target has mode: production and git: branch: main. What is the cause?

    1. Production mode only allows deployment from a Git folder in the workspace, not from CI
    2. The bundle name contains the branch name, so a different branch creates a different bundle identity
    3. The deployment lock is held by the previous deployment from main
    4. Production mode validates that the current Git branch equals the target's git.branch, which is main
    Show the answer and why

    Answer: D

    • A. Production deploys from CI are the recommended pattern.
    • B. Identity comes from bundle name, target and deployer, and the error is a branch validation.
    • C. A stale lock gives a lock error, not a branch mismatch.
    • D. Correct. The production target pins main, so deploying from another branch is blocked unless --force is used.

    Why it matters: In production mode, deploy validates the current Git branch against the target's git.branch.

  10. Data ModelingQuestion 10 of 10

    fin_prod.semantic.sales_metrics is a metric view with dimensions region and month and a measure gross_margin. Which query returns gross margin by region?

    1. SELECT region, SUM(gross_margin) FROM fin_prod.semantic.sales_metrics GROUP BY region
    2. SELECT region, MEASURE(gross_margin) FROM fin_prod.semantic.sales_metrics GROUP BY region
    3. SELECT region, gross_margin FROM fin_prod.semantic.sales_metrics
    4. SELECT * FROM fin_prod.semantic.sales_metrics WHERE dimension = 'region'
    Show the answer and why

    Answer: B

    • A. gross_margin is a measure, not a column to sum; measures are evaluated with MEASURE.
    • B. Correct. Measures in a metric view are referenced through the MEASURE function, grouped by the dimensions the query asks for.
    • C. Selecting the measure as a plain column without MEASURE and grouping does not evaluate it.
    • D. Metric views are queried by naming dimensions and measures, not by filtering on a generic dimension column.

    Why it matters: Query metric views by grouping on dimensions and wrapping measures in MEASURE().

The exam at a glance (version published October 9, 2026)

SectionWeight in the guideQuestions per 60-question course exam
1. Developing Code for Data Processing using Python and SQL23%13-14
2. Data Ingestion & Acquisition12%7-8
3. Data Manipulation12%7-8
4. Monitoring and Alerting10%6
5. Cost & Performance Optimization15%9
6. Ensuring Data Security and Compliance8%4-5
7. Data Governance5%3
8. Debugging and Deploying10%6
9. Data Modeling5%3

The real exam has 60 scored multiple-choice questions in 120 minutes, online-proctored or at a test center, with no test aids; the guide lists English. Each course exam has 60 questions timed at 120 minutes; over the six exams the section totals match the official weights and all 45 outline objectives are covered. Databricks does not publish a passing score; our 75% target is a practice benchmark, not a Databricks number. Databricks publishes weights only by section. Sources: the exam guide (PDF), the exam page and the certification FAQ.

Heads-up: on October 18, 2026 the exam's web page still listed the previous version's 10 sections and 59 questions, while its link already pointed to the new guide. Databricks calls the guide the source of truth. See what changed on October 9, 2026.

Renamed products: the names the guide uses now

Most Professional material was written with the old names. The guide and the course use the current ones; the old names appear only as "formerly".

Current name (use this)Previous nameWhat the guide and the Databricks docs saySource
Lakeflow PipelinesDelta Live Tables (DLT), then Lakeflow Spark Declarative PipelinesThe docs say the product formerly known as DLT is now Lakeflow pipelines. Python code uses from pyspark import pipelines as dp with @dp.table and @dp.materialized_view; import dlt still runs, but Databricks recommends the new names.docs.databricks.com
AUTO CDCAPPLY CHANGESThe guide writes "AUTO CDC APIs (formerly APPLY CHANGES)". The docs say AUTO CDC replaces APPLY CHANGES with the same syntax: AUTO CDC ... INTO in SQL, dp.create_auto_cdc_flow() in Python, SCD Type 1 or 2 through stored_as_scd_type.docs.databricks.com
Declarative Automation BundlesDatabricks Asset Bundles (DABs)The guide writes "formerly Databricks Asset Bundles / DABs". The rename does not break anything: databricks.yml and the databricks bundle commands are unchanged.docs.databricks.com
OpenSharing (D2D and Databricks-to-Open)Delta SharingThe old Delta Sharing docs address now opens "What is OpenSharing?", and a June 2026 Databricks blog post announced the new name. Clean Rooms are built on OpenSharing and serverless compute.docs.databricks.com
Git foldersDatabricks ReposThe guide writes "Databricks Git folders (formerly Repos)".docs.databricks.com
Disk cacheDelta cache, DBIO cacheThe guide still says "Delta cache". The docs say disk caching was formerly called the Delta cache and the DBIO cache, and was renamed because it is not part of the Delta Lake protocol.docs.databricks.com

One more: the guide's "Databricks Lakehouse alerts" are documented as Databricks SQL alerts, so the course uses that name. The table compares the guide with the Databricks documentation linked in each row.

What the Data Engineer Professional really tests

Code you have to read. Section 1 alone is 23%: bundle project layout, library conflicts on serverless, UDFs, Auto Loader, Lakeflow Jobs with If/Else and For Each, AUTO CDC with SCD Type 1 and 2, streaming tables versus materialized views, unit tests with assertDataFrameEqual, and Structured Streaming state: watermarks, output modes, foreachBatch and checkpoints.

Two features that both work. Professional questions rarely ask what a feature is. They give a constraint (latency, cost, exactly-once, compliance, least operational overhead) and two real options, and only one meets it.

Production operations. System tables for billing, compute, access and Lakeflow, pipeline event logs, SQL alerts, the query profile, the Spark UI, repair runs and parameter overrides.

Security and compliance at scale. ABAC with governed tags, column masks, anonymization and pseudonymization, PII detection and GDPR purging with Delta Lake and Unity Catalog. Coming from the Associate? Read Databricks Associate vs Professional, or warm up with the free Associate questions.

What's inside the course

1

Six full practice exams

Six tests of 60 questions, 360 original questions in total, each timed at 120 minutes and weighted like the October 2026 guide.

2

Code in every exam

22 to 24 code-reading questions per exam: SQL, PySpark, Structured Streaming, Auto Loader, pipeline decorators, bundle YAML and CLI, plus query profiles and run histories to read.

3

Blind-checked 360/360

Every option explained, every fact checked against the Databricks documentation, and every key confirmed by a separate blind reviewer.

Six full exams, 360 questions, all options explained

60 questions and 120 minutes per exam, weighted 23/12/12/10/15/8/5/10/5 like the October 2026 guide, with multiple-response items marked Choose TWO for extra practice.

See the Databricks Professional course →

Databricks Data Engineer Professional FAQ

How many questions are on the Databricks Data Engineer Professional exam?

The exam guide published October 9, 2026 says 60 scored multiple-choice questions in 120 minutes. Unscored questions may also appear; they are not identified, do not affect your score, and their extra time is already included. Databricks does not say how many.

What is the passing score?

Databricks does not publish it. Its certification FAQ says passing scores are set through statistical analysis and can change as exams are updated, so they are not published. The course uses 75% on unseen exams only as our own practice target, not a Databricks number.

Which version of the exam is live?

The version published October 9, 2026. Databricks says only one version of each exam is live at a time and that the exam guide is the source of truth. On October 18, 2026 the body of the exam's web page still showed the previous version (59 questions, 10 sections) while linking the new guide, so go by the guide.

What are the sections and weights?

Developing Code for Data Processing using Python and SQL 23%, Data Ingestion & Acquisition 12%, Data Manipulation 12%, Monitoring and Alerting 10%, Cost & Performance Optimization 15%, Ensuring Data Security and Compliance 8%, Data Governance 5%, Debugging and Deploying 10%, and Data Modeling 5%.

Which language is the exam in, and which code does it use?

The October 2026 guide lists English. The exam page says code examples are primarily in Python and SQL. The course is in English and its code is SQL, PySpark, Structured Streaming, bundle YAML and CLI one-liners.

Do I need the Data Engineer Associate first?

No. Databricks lists no prerequisite but highly recommends related training and one year of hands-on experience with the tasks in the exam outline. The certification is valid for 2 years, and to recertify you take the current live exam; there is no separate renewal exam for the Professional.

Are these real Databricks exam questions?

No. All 360 questions are original, written from the public October 2026 exam guide and the Databricks documentation; none copy the guide's sample questions. Every question was answered blind by a separate reviewer as a final key check, and 360 of 360 keys matched.

Keep going: what changed on October 9, 2026 · Associate vs Professional · free Databricks Data Engineer Associate questions · el examen en español · Google Cloud PCA practice exam · all courses · Databricks Data Analyst Associate questions · Databricks Machine Learning Associate questions