Skip to content

Deploying a bundle with the Azure Databricks CLI

Databricks Asset Bundles let you package notebooks, jobs, pipelines, and configuration as source-controlled YAML (databricks.yml) and deploy them consistently using the Databricks CLI. The CLI provides commands to validate, deploy, run, and destroy bundles across environments such as dev, staging, and prod using named targets.

1 · Learn the must-know

  • A bundle is initialized with 'databricks bundle init' (optionally from a template) and defined by a root databricks.yml plus resource YAML files describing jobs, pipelines, and other assets.
  • 'databricks bundle validate' checks the configuration and resolves variables/targets before deployment, catching syntax and reference errors early.
  • 'databricks bundle deploy -t <target>' uploads bundle artifacts to the Databricks workspace and creates or updates the corresponding jobs/pipelines defined for that target.
  • Targets in databricks.yml can set mode: development or mode: production, which affects behaviors like resource naming prefixes, run-as identity, and whether resources are treated as disposable.
  • The CLI must be authenticated (e.g., via a configured profile or OAuth/PAT) with the correct workspace URL before running bundle commands, and the active profile/target determines which workspace receives the deployment.
  • 'databricks bundle run <resource-name>' executes a deployed job or pipeline, while 'databricks bundle destroy' tears down all resources created by that bundle deployment for a given target.

2 · Check your understanding

Check this objectiveFree · always available

A data engineer has finished authoring a databricks.yml file that defines a job and a Delta Live Tables pipeline. The engineer wants to push these resource definitions to the Azure Databricks workspace so the job and pipeline actually exist there. Which Databricks CLI command accomplishes this?

Your objective map0 tried · 0 answered correctly · 77 untouched

What you have tried across DP-750's objectives, not a readiness score.

Set up and configure an Azure Databricks environment15-20% of the exam0 of 13 tried
Secure and govern Unity Catalog objects15-20% of the exam0 of 12 tried
Prepare and process data30-35% of the exam0 of 28 tried
Deploy and maintain data pipelines and workloads30-35% of the exam0 of 24 tried

3 · Keep going