Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Exam Databricks-Certified-Professional-Data-Engineer Topic 3 Question 21 Discussion

Actual exam question for Databricks's Databricks Certified Data Engineer Professional exam
Question #: 21
Topic #: 3
[All Databricks Certified Data Engineer Professional Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

The Databricks CLI provides a way to automate interactions with Databricks services. When dealing with pipelines, you can use the databricks pipelines get --pipeline-id command to capture the settings of an existing pipeline in JSON format. This JSON can then be modified by removing the pipeline_id to prevent conflicts and renaming the pipeline to create a new pipeline. The modified JSON file can then be used with the databricks pipelines create command to create a new pipeline with those settings.


Databricks Documentation on CLI for Pipelines: Databricks CLI - Pipelines

Contribute your Thoughts:

Matilda
4 days ago
I'm not sure, but I think option C could also work by creating a copy of an existing pipeline.
upvoted 0 times
...
Margot
4 days ago
Haha, option C is like the data engineer is trying to clone a pipeline. Gotta love those 'alone' commands!
upvoted 0 times
...
Carmela
5 days ago
Option B is weird. Why would the data engineer need to stop the existing pipeline? That doesn't seem necessary for this task.
upvoted 0 times
...
Josephine
7 days ago
I agree with Meghan, using list pipelines to get the specs for all pipelines makes sense.
upvoted 0 times
...
Marcos
7 days ago
Option D doesn't make sense to me. Why would the data engineer need to list all pipelines and parse the specs when they just need to capture the settings for a specific pipeline?
upvoted 0 times
...
Meghan
18 days ago
I think the correct command is D.
upvoted 0 times
...
Lynette
25 days ago
I think option A is the correct answer. The data engineer needs to capture the pipeline settings, remove the pipeline ID, and use them to create a new pipeline.
upvoted 0 times
Reta
4 hours ago
User3: Option A sounds like the right approach for this task.
upvoted 0 times
...
Lamar
9 days ago
User2: I agree, capturing the settings and using them to create a new pipeline makes sense.
upvoted 0 times
...
Coral
12 days ago
User1: I think option A is the correct answer.
upvoted 0 times
...
...

Save Cancel