Courseiva

Databricks-DE-Pro · topic practice

Debugging and Deploying practice questions

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.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Debugging and Deploying

What the exam tests

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.

Practice set

Debugging and Deploying questions

20 questions · select your answer, then reveal the explanation

A data engineer is debugging a Databricks Job that frequently fails due to transient network issues while reading from an external S3 bucket. Which configuration should the engineer implement to improve job resilience?

A data engineer is using Databricks Asset Bundles (DABs) to deploy a project. The deployment fails because the local configuration differs from the remote environment. What is the best way to synchronize the environment?

A developer is writing code that reads a large amount of data from a table and applies a complex transformation. The job succeeds locally but fails in the production job cluster. What is the most likely reason?

A data engineer is debugging a Databricks Job that fails intermittently due to cluster startup delays. Which strategy best minimizes this impact on production reliability?

A data engineer has a Databricks Asset Bundle (DAB) project with a job defined in `resources/jobs.yml`. After running `databricks bundle validate`, they see the error: `unknown field: job_clusters`. They are using Databricks CLI version 0.205.0. What is the most likely cause of this error?

A data engineer has a Databricks job that reads from a Delta table and writes to another Delta table. The job sometimes fails with a 'FileNotFoundException'. They suspect that the source table is being overwritten by another process while the job is running. Which Delta Lake feature should they use to ensure the job reads a consistent snapshot of the source table?

Question 7mediummultiple choice
Study the full Python automation breakdown →

A data engineer is deploying a new production Databricks job using Databricks Asset Bundles (DABs). The bundle includes a job with a schedule and a task that runs a Python wheel. After running `databricks bundle deploy -t prod`, the job appears in the workspace but the schedule is not active. What is the most likely cause?

A data engineer is troubleshooting a Databricks Workflow job that fails intermittently with 'Cluster terminated: Cloud provider launch failure'. The job uses a job cluster with a fixed number of workers. Which change is most likely to improve reliability?

A data engineer is using Databricks Repos to manage a project. They need to ensure that the production job always uses the latest committed version of the code from the main branch. The job is configured to run from a Repo path. Which Git reference should be specified in the job configuration to achieve this?

A data engineer maintains a Databricks Workflow that runs a notebook task referencing an external JAR library stored in DBFS at dbfs:/libs/etl-utils-1.2.jar. The notebook runs successfully in development on an all-purpose cluster because the engineer installed the library manually. In production, the Workflow task fails immediately with ClassNotFoundException. The cluster policy for the job cluster does not permit installing libraries through the UI. What should the engineer do to resolve the failure?

A data engineer is deploying a Databricks job that uses a Python wheel task. The job needs to access a secret stored in Azure Key Vault to connect to an external database. The engineer wants to avoid hardcoding the secret and ensure the secret is not exposed in logs or notebook outputs. Which TWO configurations should be used to securely retrieve the secret? (Choose two.)

A data engineer is debugging a Databricks job that fails with the error 'org.apache.spark.SparkException: Job aborted due to stage failure: Task 3 in stage 10.0 failed 4 times, most recent failure: Lost task 3.4 in stage 10.0 (TID 1234) (10.0.0.5 executor 2): java.lang.OutOfMemoryError: Java heap space'. The job processes a large dataset and performs a groupBy on a skewed key. The engineer has already increased the executor memory, but the error persists. Which action should the engineer take next to resolve the failure?

A data engineer is using Databricks Repos to manage a project that includes a Databricks Asset Bundle (DAB) for deployment. The engineer runs `databricks bundle validate` and receives an error: 'Error: cannot find bundle configuration file'. The engineer confirms that databricks.yml exists in the current working directory. Which action should the engineer take to resolve the error?

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?

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?

Exhibit

{
  "error": "AnalysisException",
  "message": "Table or view not found: default.sales_data",
  "trace": "at org.apache.spark.sql.errors.QueryCompilationErrors$.tableOrViewNotFoundError"
}

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?

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?

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

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

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?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Debugging and Deploying sessions

Start a Debugging and Deploying only practice session

Every question in these sessions is drawn from the Debugging and Deploying domain — nothing else.

Related practice questions

Related Databricks-DE-Pro topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the Databricks-DE-Pro exam test 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.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Debugging and Deploying questions in a focused session?
Yes — the session launcher on this page draws every question from the Debugging and Deploying domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other Databricks-DE-Pro topics?
Use the topic links above to move to related areas, or go back to the Databricks-DE-Pro question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the Databricks-DE-Pro exam covers. They are not copied from any real exam or dump site.