
Databricks Certified Data Engineer - Professional
Get started today
Ultimate access to all questions.
Which Databricks CLI command should a data engineer use to extract pipeline settings from an existing workspace configuration and save them as a versioned JSON file for creating a new pipeline?
Which Databricks CLI command should a data engineer use to extract pipeline settings from an existing workspace configuration and save them as a versioned JSON file for creating a new pipeline?
Explanation:
The correct approach is to use the Databricks CLI get
command to retrieve the JSON configuration of the existing pipeline. This configuration includes all necessary settings. However, the pipeline_id
must be removed because it is unique to the existing pipeline and cannot be reused. The engineer should also rename the pipeline to avoid conflicts. The modified JSON can then be used with the create
command to generate a new pipeline. Option C correctly outlines this process. Other options either use incorrect commands (e.g., list
does not provide full specs), involve unnecessary steps (e.g., stopping/resetting in B), or do not explicitly handle pipeline_id and versioning (e.g., cloning in D might not produce a versioned JSON file).