Courseiva

Databricks-DE-Pro · domain

Debugging and Deploying

This domain covers debugging and deploying Databricks workloads: diagnosing job failures across environments, resolving Unity Catalog permission errors, fixing cloud storage access issues, and tuning skewed queries. Questions present realistic error messages, exhibits, or symptoms and ask you to select the correct Databricks feature, configuration, or fix.

31 questions8 easy10 medium13 hard

Focused practice

Practice Debugging and Deploying questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Debugging and Deploying

Be able to read Databricks error messages, inspect job run details and Spark UI, and apply the correct fix: grant Unity Catalog privileges, configure cloud storage access, or address skew with salting, AQE, or repartitioning. The most important thing is matching the symptom to the exact Databricks feature or permission.

Use Databricks job run history, Spark UI, and cluster logs to diagnose failures.

Compare environments using Databricks workspace, cluster, and job configuration differences.

Resolve Unity Catalog PERMISSION_DENIED errors with GRANT USE CATALOG/SCHEMA/TABLE.

Fix data skew using salting, AQE skew join, or repartitioning before writes.

Watch out for

Common Debugging and Deploying exam traps

  • ▸Assuming a production failure is code-related when it is actually a missing Unity Catalog grant or cloud IAM role difference.
  • ▸Ignoring that AQE skew join handles join skew but not skew during groupBy or write operations.
  • ▸Confusing storage credential and external location permissions with Unity Catalog table grants when debugging S3 403 errors.

Question index

All Debugging and Deploying questions (31)

Click any question to see the full explanation, or start a practice session above.

1

Refer to the exhibit. Which action is the most appropriate to resolve this memory-related failure during the job execution?

Hard
2

A data engineer needs to ensure that a Databricks job can be retried automatically if it fails due to a transient cluster error. The job is configured with a maximum of 3 retries. After the third failure, the engineer wants to receive an email notification. Which feature should be used to accomplish this?

Easy
3

You are monitoring a long-running Databricks job. You notice that the memory usage on the driver node is steadily increasing until it crashes. Which debugging action is most appropriate?

Medium
4

Refer to the exhibit. Why is Task D marked as 'Skipped'?

Medium
5

A data engineer needs to inspect the logs of a long-running Databricks job that has already completed. Where should they navigate in the Databricks UI to find the driver logs?

Easy
6

A data engineer is deploying a Databricks job using Databricks Asset Bundles. They want to ensure that the job uses a specific cluster configuration that is defined once and reused across multiple tasks. Which bundle feature should they use?

Easy
7

A data engineer is using Databricks Repos to manage a project. They need to ensure that the production job always uses the code from the 'main' branch, even if developers push changes to other branches. Which Git reference should be used in the job configuration to achieve this?

Medium
8

A data engineer is using Databricks Repos to manage code for a production job. They need to ensure that the job always uses the latest version of the code from a specific branch. Which Git operation should they perform before running the job?

Easy
9

A data engineer is troubleshooting a Databricks Workflow where a downstream task relies on an upstream task's output. Which TWO actions ensure the data dependency is correctly handled during a failure scenario?

Hard
10

A data engineer is troubleshooting a Databricks job that fails with a `SparkException: Job aborted due to stage failure` and the error log shows `java.lang.OutOfMemoryError: GC overhead limit exceeded` on an executor. The job processes a large dataset using a `groupByKey` operation. Which action should the engineer take to resolve the issue while minimizing changes to the existing code?

Hard
11

A data engineer is deploying a Databricks job that uses a Python wheel task. The job fails with the error: 'ModuleNotFoundError: No module named 'my_library''. The wheel file is stored in DBFS at 'dbfs:/FileStore/wheels/my_library-0.1.0-py3-none-any.whl'. The job cluster is configured with a cluster policy that restricts library installation from DBFS. What is the most likely cause of the failure?

Hard
12

Which THREE strategies should a data engineer use to optimize the debugging of failed production Databricks Jobs?

Hard
13

Where can a data engineer find the standard output and error logs for a specific task within a Databricks Workflow?

Easy
14

Refer to the exhibit. Which configuration change is required to enable multiple instances of this job to run simultaneously?

Hard
15

A data engineer is troubleshooting a Databricks job that fails with a 'TaskFailed' error. The job uses a cluster with autoscaling enabled. The engineer suspects that the failure is due to memory issues on the workers. Which TWO actions should the engineer take to diagnose and resolve the issue? (Choose two.)

Hard
16

A data engineer is using Databricks Asset Bundles to deploy a job that runs a Python wheel task. The bundle is deployed to a production workspace using a service principal. The job fails with the error: `Library installation failed for library due to user error: Could not find wheel file`. The engineer confirms the wheel file exists in the bundle's `dist` folder. What is the most likely cause of this failure?

Hard
17

A data engineer is automating the deployment of Databricks assets using CI/CD. The pipeline fails because the 'databricks-cli' command cannot find the workspace. What is the most likely cause?

Hard
18

A data engineer is debugging a Databricks job that reads from a Delta table and writes to another Delta table. The job occasionally fails with 'ConcurrentAppendException'. The engineer wants to minimize failures while maintaining data correctness. Which approach should the engineer take?

Hard
19

A data engineer is investigating a job failure that occurred only in the production environment. Which TWO features in Databricks help in comparing the production environment to the development environment?

Hard
20

A data engineer deploys a Databricks Job that runs a notebook task. The notebook writes to a Delta table in Unity Catalog. The job fails with the error: 'PERMISSION_DENIED: User does not have USE CATALOG on catalog 'prod'.' The engineer confirms the job's service principal has USE CATALOG granted on the catalog. Which configuration should the engineer check next?

Medium
21

A data engineer is preparing to deploy a production Databricks workflow. Which TWO best practices should be implemented to ensure maintainability and robust error handling?

Medium
22

A data engineer is debugging a Databricks job that fails with a `SparkException: Job aborted due to stage failure` in production. They need to identify the root cause. Which two actions should they take to gather relevant diagnostic information? (Choose two.)

Medium
23

Refer to the exhibit. A data engineer is deploying a production pipeline that references a table in the default schema. The job fails with the provided error. What is the root cause?

Medium
24

Refer to the exhibit. A Databricks job fails with a 403 Forbidden error when trying to write to the S3 bucket. Why does this happen?

Hard
25

A data engineer is debugging a slow-running query. They notice that the data is skewed, causing one task to take significantly longer than others. Which approach effectively addresses this skew?

Medium
26

A production Databricks workflow involves a task that runs a notebook. The notebook takes 15 minutes to finish, but the workflow is set to timeout after 10 minutes. What happens?

Medium
27

What is the primary benefit of using a Job Cluster instead of an All-Purpose Cluster for production workloads?

Easy
28

A data engineer is deploying a Databricks Asset Bundle (DAB) that defines a job with a notebook task. The bundle validates locally, but deployment fails with 'Error: cannot find notebook at path /Workspace/Users/dev@example.com/pipeline/ingest'. The engineer confirms the notebook exists in the workspace at that exact path. Which action should the engineer take to resolve the deployment failure?

Hard
29

A data engineer is configuring a Databricks Workflow that must run a notebook task only after a previous task that writes to a Delta table has completed successfully. The engineer wants to ensure that if the first task fails, the second task does not run. Which feature should the engineer use to define this dependency?

Easy
30

A data engineer needs to grant a group of users the ability to run a specific Databricks job but not modify its configuration. The job is managed by a service principal. Which permission level should be assigned to the group on the job?

Easy
31

A data engineer is preparing to deploy a production Databricks Workflow that must be maintainable and auditable. The engineer wants to ensure that changes to the workflow are tracked and that failures can be diagnosed quickly. Which TWO practices should the engineer implement? (Choose two.)

Medium

Frequently asked questions

What does the Debugging and Deploying domain cover on the Databricks-DE-Pro exam?
Be able to read Databricks error messages, inspect job run details and Spark UI, and apply the correct fix: grant Unity Catalog privileges, configure cloud storage access, or address skew with salting, AQE, or repartitioning. The most important thing is matching the symptom to the exact Databricks feature or permission.
How many questions are in this domain?
This page lists all 31 Debugging and Deploying questions in the Databricks-DE-Pro question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Debugging and Deploying questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
Databricks Certified Data Engineer Professional Databricks-DE-Pro Debugging and Deploying Practice Questions