BlackFriday 2024! 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-Professional-Data-Engineer exam
Question #: 21
Topic #: 3
[All Databricks-Certified-Professional-Data-Engineer 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:

Hershel
22 days ago
D) that's a clever approach, but it seems a bit overkill. Why not just use the get command like in A)? Less steps, you know?
upvoted 0 times
Wilda
8 days ago
D) Yeah, I see your point. A) does seem more straightforward and less complicated.
upvoted 0 times
...
Jesus
9 days ago
A) Use the get command to capture the settings for the existing pipeline; remove the pipeline_id and rename the pipeline; use this in a create command
upvoted 0 times
...
...
Robt
24 days ago
B) stopping the existing pipeline and resetting it? That's not what the question is asking for. We need to create a new pipeline, not modify the existing one.
upvoted 0 times
...
Jenise
25 days ago
C) is interesting, but I don't think creating a copy of an existing pipeline is what the question is asking for. We need to create a new pipeline based on the existing one.
upvoted 0 times
...
Darrel
27 days ago
A) seems like the right approach to me. Capturing the settings and creating a new versioned pipeline sounds like the task at hand.
upvoted 0 times
Theodora
5 days ago
B) Stop the existing pipeline; use the returned settings in a reset command.
upvoted 0 times
...
Stefania
8 days ago
A) seems like the right approach to me. Capturing the settings and creating a new versioned pipeline sounds like the task at hand.
upvoted 0 times
...
...
Kayleigh
1 months ago
I'm feeling option A is the way to go. Can't go wrong with a good old get and create command combo.
upvoted 0 times
...
Matilda
1 months 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
1 months ago
Haha, option C is like the data engineer is trying to clone a pipeline. Gotta love those 'alone' commands!
upvoted 0 times
...
Carmela
1 months 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
Gladis
6 days ago
User2: I agree, it's better to focus on capturing the settings and creating the JSON file.
upvoted 0 times
...
Thaddeus
22 days ago
Option B does seem unnecessary. It's not mentioned in the question.
upvoted 0 times
...
...
Josephine
1 months ago
I agree with Meghan, using list pipelines to get the specs for all pipelines makes sense.
upvoted 0 times
...
Marcos
1 months 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
Galen
2 days ago
User 4: Option D does seem a bit unnecessary for this task, listing all pipelines and parsing specs is overkill.
upvoted 0 times
...
Charisse
4 days ago
User 3: Option C also sounds like a good option, creating a copy of the existing pipeline and saving the JSON to git.
upvoted 0 times
...
Elza
8 days ago
User 2: I agree, using the get command to capture the settings for the existing pipeline makes sense.
upvoted 0 times
...
Jolanda
18 days ago
Option A seems like the most straightforward approach.
upvoted 0 times
...
...
Meghan
2 months ago
I think the correct command is D.
upvoted 0 times
...
Lynette
2 months 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
Alline
23 days ago
Let's go with option A then, it seems like the most logical choice.
upvoted 0 times
...
Reta
1 months ago
Option A sounds like the right approach for this task.
upvoted 0 times
...
Lamar
1 months ago
I agree, capturing the settings and using them to create a new pipeline makes sense.
upvoted 0 times
...
Coral
1 months ago
I think option A is the correct answer.
upvoted 0 times
...
...

Save Cancel