Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Databricks · Databricks Data Engineer Professional · FREE PRACTICE

Databricks Certified Data Engineer Professional practice questions

Free practice, with shuffled choices and an explanation behind every answer. A little practice, a clearer next step.

Loading your practice…

From the videos

Mock exam questions50
Training questions72
Lesson quick checks63

These questions come from the course videos. Information as of November 2026.

Databricks Data Engineer Professional sample questions

10 of the 185 questions, as plain text. Start a session above for shuffled choices, a score and the reason behind every choice.

  1. A For each task processes twelve regions one after the other, and the run takes twelve times as long as a single region. What should change?

    • Nest a second For each task inside it
    • Create twelve separate jobs, one per region
    • Add a retry policy to the nested task
    • Raise the concurrency of the For each task
    Show the answer

    Raise the concurrency of the For each task

    Concurrency is one by default, so raising it lets several iterations run at the same time. “Nest a second For each task inside it” is not possible, since a For each task cannot contain another one. “Create twelve separate jobs, one per region” would duplicate the job twelve times, which For each avoids. And “Add a retry policy to the nested task” would only rerun failed iterations, not run them in parallel.

  2. On SQL Server, the source team renames a column of a table that Lakeflow Connect ingests. What does that table need?

    • A full refresh
    • Nothing, since renames are handled automatically
    • A restart of the ingestion gateway
    • A new Unity Catalog connection
    Show the answer

    A full refresh

    On SQL Server, a renamed column needs a full refresh, since only new and deleted columns are handled automatically. “Nothing, since renames are handled automatically” is wrong, since only new and deleted columns are handled automatically. “A restart of the ingestion gateway” would not handle the renamed column. And “A new Unity Catalog connection” would change how the pipeline connects, not the column.

  3. A mobile app needs a sentiment score for a single review, a fraction of a second after the user taps send. Is ai_query from a SQL warehouse a good fit?

    • No: they are made for batch work over tables
    • Yes: AI functions answer in milliseconds
    • Yes, with failOnError set to false
    • No: AI functions only work in notebooks
    Show the answer

    No: they are made for batch work over tables

    AI functions are made for batch inference over tables, not for a single interactive request that needs low latency. “Yes: AI functions answer in milliseconds” is wrong, since AI functions target batch work over tables. “Yes, with failOnError set to false” would only keep failed rows from stopping a batch. And “No: AI functions only work in notebooks” is wrong, since AI functions run in SQL queries and pipelines.

  4. Before dropping a silver table, the team wants to know which tables and jobs read from it. Which system tables help?

    • system.billing.usage
    • The lineage tables
    • system.compute.clusters
    • The event log of the silver pipeline
    Show the answer

    The lineage tables

    The lineage system tables show which tables feed which, and which jobs and notebooks read or write them. “system.billing.usage” only holds usage and costs. “system.compute.clusters” only describes clusters. And “The event log of the silver pipeline” only covers the events of that pipeline, not the readers of the table.

  5. The access patterns of a large table change every quarter. Which layout lets the team change its keys without rewriting the existing data?

    • Partitioning by the new column
    • Z-order on the new columns
    • Bucketing by the new column
    • Liquid clustering
    Show the answer

    Liquid clustering

    Liquid clustering keys can change at any time without rewriting the existing data, and new writes and optimize runs use the new keys. “Partitioning by the new column” would need the whole table rewritten into new folders. “Z-order on the new columns” would rewrite data at each optimize run. And “Bucketing by the new column” would also need the data rewritten.

  6. Without vacuum, how long does a Delta table keep its history, deleted rows included, for time travel, by default?

    • Seven days
    • Twenty four hours
    • Thirty days
    • Forever, until the table is dropped
    Show the answer

    Thirty days

    By default, Delta Lake keeps table history, deleted rows included, for thirty days, available for time travel and rollbacks. “Seven days” is the default retention of vacuum, not of the history. “Twenty four hours” is the window for pipeline maintenance, not the history. And “Forever, until the table is dropped” is wrong, since the history has a default retention.

  7. Besides the owner of a table, who can grant privileges on it to others?

    • Principals with SELECT on the table
    • Principals with MANAGE on the table
    • Principals with MODIFY on the table
    • Principals with BROWSE on the catalog
    Show the answer

    Principals with MANAGE on the table

    The owner of an object, and principals with manage on it, can grant privileges on it to others. “Principals with SELECT on the table” would let them read the table, not grant on it. “Principals with MODIFY on the table” would let them write to the table, not grant on it. And “Principals with BROWSE on the catalog” would let them see metadata, not grant privileges.

  8. An all-purpose cluster terminated during the night, and the team wants to see when it was created, edited, and terminated. Where should it look?

    • The driver logs of the cluster
    • The compute event log
    • The query profile of its last query
    • The Repair job run dialog
    Show the answer

    The compute event log

    The compute event log shows lifecycle events, like creation, termination, and configuration edits. “The driver logs of the cluster” would show the output of code, not lifecycle events. “The query profile of its last query” only shows how one query ran. And “The Repair job run dialog” only repairs job runs.

  9. Why does the gold layer usually follow a star schema, rather than many normalized tables?

    • It stores less data than normalized tables
    • It removes the need for keys between tables
    • It lets every table be updated in place
    • Denormalized for fast reads and simple BI queries
    Show the answer

    Denormalized for fast reads and simple BI queries

    A star schema is denormalized, with facts and dimensions joined by keys, so reads are fast and BI tools query it simply. “It stores less data than normalized tables” is wrong, since denormalized tables repeat some data. “It removes the need for keys between tables” is wrong, since facts and dimensions join through keys. And “It lets every table be updated in place” is not why the gold layer uses it.

  10. A row at a time Python UDF converts currencies with a Python library, and it is slow on a billion rows. Built-in functions cannot express the logic. What should the data engineer try?

    • Register it with spark.udf.register
    • Remove the return type of the UDF
    • Rewrite it as a pandas UDF on Series
    • Loop over the rows on the driver
    Show the answer

    Rewrite it as a pandas UDF on Series

    A pandas UDF moves whole batches of rows with Apache Arrow, and can be up to a hundred times faster than a row at a time Python UDF. “Register it with spark.udf.register” would only make the same UDF callable from SQL. “Remove the return type of the UDF” would make it return strings, and change nothing about its speed. And “Loop over the rows on the driver” would move all the work to the driver, which is far slower.

Original practice questions written for Cert Espresso, not real exam questions.