QuestionQ278

VerifiedProductionizing Data Pipelines

A data engineer maintains a Declarative Automation Bundle (formerly Databricks Asset Bundle), which deploys a dashboard.

Question Image

Which set of actions will enable the dashboard to be deployed in prod using catalog_prod without changing the resource definition?

Explanation

Databricks Asset Bundle deployment targets are selected at deploy time with the --target (or -t) flag. Running databricks bundle deploy --target prod deploys using the targets.prod configuration, whose variables block overrides dataset_catalog to catalog_prod, so the dashboard resource definition itself never has to change. The --profile flag only selects an authentication profile from .databrickscfg and does not choose a bundle target, databricks bundle execute is not a deployment command, and --var overrides a variable's value without selecting the prod target.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!