EnglishDeutschFrançaisEspañolPortuguês

Databricks · DB-DEP · Professional

Databricks Data Engineer Professional — Practice Questions and Mock Exam

The Databricks Certified Data Engineer Professional exam validates advanced expertise in building and optimizing production data systems on the Databricks Data Intelligence Platform.

59Questions per Pass-IT mock exam
120minPass-IT mock exam time limit

Checked against Databricks · September 2026 · Current exam version

See what learning with Pass-IT is like.

Answer a DB-DEP sample question and read the explanation with its source. Right here, with no sign-up.

Ensuring Data Security and Compliance1 / 5

A data engineer discovers that Unity Catalog audit logs show unauthorized access attempts to a sensitive production table. What steps should be taken to investigate and remediate?

AlexFull explanation from Alex

Security investigation workflow: 1) Detect: alert on failed access attempts to sensitive tables. 2) Investigate: query audit logs for user identity, access patterns, and timing. 3) Assess: was the user's access attempt legitimate (e.g., wrong table name) or suspicious (repeated attempts on PII tables)? 4) Remediate: revoke excessive permissions (principle of least privilege), add monitoring alerts, implement row filters if data needs to be partially accessible. 5) Prevent: tag sensitive tables with classification tags, create data access policies tied to tags. 6) Report: document the incident, actions taken, and policy changes. Ongoing: schedule weekly audit log reviews for anomalous access patterns.

Sourcedocs.databricks.com

Data Transformation, Cleansing, and Quality2 / 5

A data engineer has a Delta table where some columns contain deeply nested structs and arrays. Analysts complain the data is difficult to query. What flattening strategy makes it accessible while preserving data relationships?

AlexFull explanation from Alex

Nested data flattening patterns: 1) Struct: df.select('order_id', 'customer.name', 'customer.email'). SQL: SELECT customer.name FROM orders. 2) Array: df.select('order_id', explode('items').alias('item')). SQL: SELECT EXPLODE(items) FROM orders. 3) Nested array of structs: df.select('order_id', explode('items').alias('item')).select('order_id', 'item.product', 'item.qty'). 4) Map: df.select('order_id', explode('metadata').alias('key', 'value')). 5) Star expansion: df.select('order_id', 'customer.*'). Expands struct to individual columns. 6) Recursive flattening: for deeply nested structures, write a recursive function that walks the schema and generates the select expressions. 7) Considerations: cardinality explosion — EXPLODE on arrays multiplies row count. Use array_size() to estimate expansion. For high-cardinality arrays (100+ elements), consider aggregation before flattening.

Sourcedocs.databricks.com

Data Governance3 / 5

A data engineer needs to implement a solution that allows different business units to manage their own data catalogs independently while sharing a common governance framework. How does Unity Catalog's three-level namespace support this?

AlexFull explanation from Alex

Unity Catalog namespace: 1) Three-level: catalog.schema.table. Catalog: top-level organizational boundary. Schema: logical grouping within a catalog. Table/View/Function: data objects. 2) Catalog strategies: per business unit: finance_catalog, marketing_catalog. Per environment: dev_catalog, staging_catalog, prod_catalog. Per domain: customers_catalog, orders_catalog. Hybrid: prod_finance, prod_marketing, dev_shared. 3) Ownership delegation: catalog owner manages their catalog. Can create schemas, grant permissions. Cannot modify other catalogs. 4) Governance consistency: metastore admin sets: default permissions. Audit log retention. Data classification requirements. These apply across all catalogs. 5) Migration: from Hive metastore: default (single catalog) → migrate to multiple catalogs. SHOW DATABASES → becomes schemas in a catalog. 6) Limits: one metastore per region. Multiple catalogs per metastore. Hundreds of schemas per catalog. Millions of tables per schema.

Sourcedocs.databricks.com

Developing Code for Data Processing using Python and SQL4 / 5

A data engineer is building a PySpark batch job that must apply a complex, row-level scoring calculation written in pure Python to a DataFrame with 200 million rows. The logic cannot be expressed in built-in Spark SQL functions. The engineer wants the lowest serialization overhead and the best performance available in the DataFrame API. Which approach should they choose?

AlexFull explanation from Alex

Standard Python UDFs in Spark serialize data one row at a time across the JVM-Python boundary, which is expensive at scale. Pandas UDFs (also called vectorized UDFs) instead use Apache Arrow to move columnar batches and execute pandas code on Series or DataFrames, amortizing serialization across many rows. They keep work distributed across executors, unlike collect(), and retain Catalyst planning, unlike the RDD API. For custom Python logic that cannot be expressed in native Spark functions, a Pandas UDF is the recommended high-performance choice. Native Spark SQL functions are still preferred when the logic can be expressed with them. Exam tip: when a question pairs 'custom Python logic' with 'best performance' on large data, pick the Pandas/vectorized UDF over a plain Python UDF.

Sourcedocs.databricks.com

Data Sharing and Federation5 / 5

A data engineer is tasked with building a reverse ETL pipeline that pushes aggregated data from the Delta lakehouse back to an operational CRM system via its API. What architecture supports reliable reverse ETL?

AlexFull explanation from Alex

Reverse ETL components: 1) Source query: SELECT customer_id, total_orders, avg_order_value, churn_score FROM gold.customer_360 WHERE updated_at > last_sync_time. 2) Sync tracking: CREATE TABLE sync_status (record_id STRING, target STRING, last_synced TIMESTAMP, status STRING, error_message STRING). 3) API integration: for batch in batches: try: response = crm_api.upsert(batch). update_status(batch, 'synced'). except RateLimitError: sleep(backoff). retry. except APIError as e: update_status(batch, 'failed', str(e)). 4) Idempotency: use upsert API calls (create or update). Re-running syncs the same records without duplicates. 5) Monitoring: alert when sync failure rate exceeds threshold. Dashboard: records synced per run, error rates, latency. 6) Schedule: match the refresh cadence of the gold table. If gold refreshes daily at 6 AM, sync to CRM at 7 AM.

Sourcedocs.databricks.com

How to prepare for DB-DEP with Pass-IT.

Currently 318 practice questions for DB-DEP, with new ones added regularly. Focus on what you still need to learn.

Get past difficult questions.

Understand why an answer is correct. Alex explains the concepts and answers your follow-up questions so you can apply what you learn to the next task.

Meet Alex →

Conversation preview · DB-DEP

Flattening nested data

  1. You

    How can analysts query arrays and structs more easily?

  2. Alex · AI tutor

    Use EXPLODE for array elements and dot notation for fields inside structs.

    Read the Databricks documentation ↗
  3. You

    Should I discard the links between the original records?

  4. Alex · AI tutor

    No. Preserve the relationships when building the flattened view or gold table.

    Read the Databricks documentation ↗

Make your study time count.

Practice at your level.
For new practice sessions, Pass-IT adjusts the difficulty based on your previous answers.

Learn from mistakes.
Incorrect answers automatically become flashcards. When you review them, you rate how confidently you remember; Pass-IT schedules the next review.

See how focused practice works →

Animated feature preview

Turn your mistakes into knowledge you can rely on.

How Pass-IT works

Your review

Answered a question incorrectly?

Pass-IT saves it for your review.

DB-DEP · Question excerpt

Flattening nested data

View the full question

A data engineer has a Delta table where some columns contain deeply nested structs and arrays. Analysts complain the data is difficult to query. What flattening strategy makes it accessible while preserving data relationships?

Understand the correct answer.

Use EXPLODE for arrays and dot notation for struct access to create a flattened gold-layer view, materializing the result as a separate gold Delta table for analyst consumption

EXPLODE expands array elements, while dot notation accesses struct fields for a flattened analytical result.

Read the Databricks documentation ↗

How confidently do you remember?

During review, you assess how well you still know the answer.

Correct after hesitating

Pass-IT schedules your next review.

The date depends on your self-assessment and previous reviews.

Simplified demonstration. No learning progress is saved.

Practice for the moment that counts.

Take a full mock exam with a time limit and find out whether you can finish in time.

Your DB-DEP mock exam

Questions
59
Minutes
120

Illustration of an exam session

  1. Start
  2. Answer questions
  3. Finish

Length and time limit of the Pass-IT mock exam.

Go into your exam with more confidence.

Your Readiness Score helps you assess whether you are ready for the exam. Results by exam domain show you where you should keep practicing.

Your money back if you fail despite 80% Readiness.
If your Readiness Score is at least 80% when you take the exam and you still fail, we refund the Pass-IT purchase price for this certification.

For active, paid access. Submit proof of failing within 14 days.

Further guarantee conditions

You need at least 80% Readiness and active, paid access to the certification when you take the exam. Take the exam within your access period and submit official proof of failing within 14 days after the exam.

For purchases through Apple or Google, refunds are handled by the respective store. See the full terms for further details.

Read the guarantee terms →

The Readiness Score describes your practice progress, not a probability of passing.

Guarantee requirement

80%

At least 80% Readiness
when you take the exam

Money back if you fail

Question counts and mock exam settings from the current Pass-IT catalog.

What you practice for DB-DEP.

Exam topics, relevant practice and sources you can check.

Develop production data pipelinesSee the guide for weighting66 QuestionsPass-IT questions

Structure, automate and test Python and SQL processing code.

  • Organize a modular Python project for Declarative Automation Bundles and CI/CD, manage external packages and create Python or pandas UDFs.
  • Build batch or streaming pipelines with Auto Loader and Lakeflow Spark Declarative Pipelines, choosing streaming tables, materialized views or Structured Streaming and using AUTO CDC for change capture.
  • Automate ETL with Jobs through the UI, APIs or CLI, applying control flow and suitable environment, dependency, memory and retry settings.
  • Test code with DataFrame and schema assertions, reusable transforms, unit and integration tests and the debugger.
Design ingestion pipelinesSee the guide for weighting27 QuestionsPass-IT questions

Bring varied source data into Delta reliably.

  • Build ingestion from message buses and cloud storage for Delta, Parquet, ORC, Avro, JSON, CSV, XML, text and binary data.
  • Create append-only Delta pipelines that accept both batch and streaming data.
Transform data and isolate errorsSee the guide for weighting23 QuestionsPass-IT questions

Process large datasets while keeping bad records out of trusted results.

  • Write efficient Spark SQL and PySpark transformations with window functions, joins and aggregations.
  • Quarantine bad data with Lakeflow Spark Declarative Pipelines or Auto Loader in classic jobs.
Share and federate dataSee the guide for weighting16 QuestionsPass-IT questions

Connect consumers to governed data across platforms.

  • Use secure Databricks-to-Databricks sharing or the open Delta Sharing protocol for external platforms and live lakehouse data.
  • Configure Lakehouse Federation with appropriate governance for supported source systems.
Monitor workloads and send alertsSee the guide for weighting25 QuestionsPass-IT questions

Observe pipeline operation and notify the right destination when attention is needed.

  • Use system tables, Query Profiler, Spark UI, REST APIs, CLI and pipeline event logs to monitor resources, cost, audits, jobs and pipelines.
  • Configure SQL alerts for data quality and job notifications through Lakeflow Jobs UI or Jobs API for status and performance issues.
Improve cost and query performanceSee the guide for weighting40 QuestionsPass-IT questions

Choose storage and execution features that reduce unnecessary work.

  • Explain how Unity Catalog managed tables reduce operational overhead and maintenance.
  • Use deletion vectors, Liquid Clustering, data skipping and file pruning to optimize Delta data and large queries.
  • Apply Change Data Feed to address streaming-table limitations and improve latency.
  • Read query profiles to diagnose poor data skipping, inefficient joins and shuffling.
Protect data and meet retention requirementsSee the guide for weighting38 QuestionsPass-IT questions

Build privacy controls into access, processing and removal.

  • Apply least-privilege ACLs, row filters and column masks, and use hashing, tokenization, suppression or generalization to anonymize or pseudonymize confidential data.
  • Build batch and streaming pipelines that detect and mask personally identifiable information, and purge data according to retention policies.
Make governed data discoverableSee the guide for weighting29 QuestionsPass-IT questions

Help users understand data and the permissions that apply.

  • Add descriptions and metadata that make enterprise data easier to discover.
  • Explain how permissions are inherited through Unity Catalog.
Debug and deploy changesSee the guide for weighting37 QuestionsPass-IT questions

Find the cause of failures and deliver repeatable deployments.

  • Use Spark UI, cluster logs, system tables, query profiles and pipeline event logs to diagnose failures, then repair job runs with suitable parameter overrides.
  • Build and deploy resources with Declarative Automation Bundles and integrate notebook and code delivery with Git Folders and Git-based CI/CD.
Model scalable analytical dataSee the guide for weighting17 QuestionsPass-IT questions

Choose data structures and layouts for large analytical workloads.

  • Design and implement scalable Delta Lake models for large datasets.
  • Use Liquid Clustering to simplify layout and improve queries, comparing its benefits with partitioning and Z-ordering.
  • Design dimensional models for efficient analytical queries and aggregation.
Question formats you can practice
Multiple Choice
Select one answer.

These are Pass-IT practice formats. Check the Databricks certification page for the official exam information.

Frequently asked questions

Your preparation

How much study time should I plan for DB-DEP?

For planning, Pass-IT estimates roughly 70–180 hours. Relevant experience may put you toward the lower end; starting from scratch may put you toward the higher end. Your needs may fall outside this range. This is not a time requirement from Databricks or a promise that you will be exam-ready within that time.

What experience does the Data Engineer Professional assume?

One year or more of hands-on Databricks work, according to Databricks' own recommendation. No certification gates the booking. The catalog budget of 120 hours assumes that experience is already there, so treat it as a floor rather than a total.

Using Pass-IT

What language are Pass-IT questions in?

Questions in the app are currently in English. Translations of the sample questions on this page apply only to this preview. Check with Databricks for the languages available for the official exam.

How long does my DB-DEP access last?

Access covers this certification for 12 months. You pay once, with no automatic renewal.

When does the money-back guarantee apply?

The guarantee refunds the Pass-IT purchase price for this certification. You need eligible paid access and a Readiness Score of at least 80% from your practice results when you take the exam. This score can only reach 80% after at least 50 answered questions and is not a validated probability of passing. Take the exam during your access period and submit official proof of failing within 14 days. Guarantee terms

About the DB-DEP exam

Where can I take the DB-DEP exam?

Online proctored or test center.

How long is the Databricks Certified Data Engineer Professional exam?

The Databricks Certified Data Engineer Professional exam has 59 questions and a 120-minute time limit.

How do you pass the Databricks Data Engineer Professional exam?

Writing code for data processing in Python and SQL is the largest area at 22%, and the questions show you code rather than describing it. The catalog budget is 120 hours and Databricks recommends a year or more of hands-on platform work. The people who struggle are usually the ones who prepared by reading documentation instead of building and breaking pipelines.

How long is the Data Engineer Professional certification valid?

Two years from the pass date. Databricks recertifies by exam, so you take the current version again rather than logging continuing-education credits. There is no grace period built into that, so the resit has to happen before the expiry date.

Should you take the Data Engineer Associate first?

Databricks sets no prerequisite for Data Engineer Professional, so you can book it directly, but strongly recommends one year of hands-on experience in the data engineering tasks covered by the exam. Our study-time estimates are 80 hours for Data Engineer Associate and 120 for Data Engineer Professional. If you have less than a year on the platform, we recommend Data Engineer Associate as a first step to assess where you stand.

How soon can you retake the Data Engineer Professional exam?

You must wait 14 days before retaking the Data Engineer Professional exam and between every further attempt. Databricks sets no limit on the number of retakes.

Your preparation for DB-DEP

$29.99one-time

12 months of access for DB-DEP · No automatic renewal

Buy DB-DEP access

Questions in the app are currently in English.

Try 20 questions for freeFree account required. No credit card.

Already have an account? Log in

Prefer a subscription? View subscriptions →

Money back if you fail with at least 80% Readiness, for eligible purchases under the guarantee terms.

Guarantee terms

The guarantee refunds the Pass-IT purchase price for this certification. You need eligible paid access and a Readiness Score of at least 80% from your practice results when you take the exam. This score can only reach 80% after at least 50 answered questions and is not a validated probability of passing. Take the exam during your access period and submit official proof of failing within 14 days.

Full guarantee terms →