nerdexam
Databricks

CERTIFIED-DATA-ENGINEER-PROFESSIONAL · Question #92

A data engineer needs to capture pipeline settings from an existing in the workspace, and use them to create and version a JSON file to create a new pipeline. Which command should the data engineer…

The correct answer is A. Use the get command to capture the settings for the existing pipeline; remove the pipeline_id and. The Databricks CLI provides a pipelines get command that retrieves the full JSON configuration of an existing Delta Live Tables pipeline. To use that configuration to create a new pipeline, you must remove the pipeline_id field (which is auto-assigned and unique) along with any…

Pipeline Orchestration and Management

Question

A data engineer needs to capture pipeline settings from an existing in the workspace, and use them to create and version a JSON file to create a new pipeline. Which command should the data engineer enter in a web terminal configured with the Databricks CLI?

Options

  • AUse the get command to capture the settings for the existing pipeline; remove the pipeline_id and
  • BStop the existing pipeline; use the returned settings in a reset command
  • CUse the alone command to create a copy of an existing pipeline; use the get JSON command to
  • DUse list pipelines to get the specs for all pipelines; get the pipeline spec from the return results

How the community answered

(65 responses)
  • A
    83% (54)
  • B
    9% (6)
  • C
    5% (3)
  • D
    3% (2)

Explanation

The Databricks CLI provides a pipelines get command that retrieves the full JSON configuration of an existing Delta Live Tables pipeline. To use that configuration to create a new pipeline, you must remove the pipeline_id field (which is auto-assigned and unique) along with any creator/owner metadata before passing the JSON to the pipelines create command. This is the standard CLI workflow for duplicating or versioning pipeline configurations. The other options describe commands or workflows that either do not exist in the CLI or would not accomplish the stated goal of capturing and versioning a pipeline spec.

Topics

#Databricks CLI#Delta Live Tables#Pipeline Management#JSON Configuration

Community Discussion

No community discussion yet for this question.

Full CERTIFIED-DATA-ENGINEER-PROFESSIONAL Practice