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-Machine-Learning-Professional Topic 1 Question 20 Discussion

Actual exam question for Databricks's Databricks-Machine-Learning-Professional exam
Question #: 20
Topic #: 1
[All Databricks-Machine-Learning-Professional Questions]

A machine learning engineer wants to move their model version model_version for the MLflow Model Registry model model from the Staging stage to the Production stage using MLflow Client client. At the same time, they would like to archive any model versions that are already in the Production stage.

Which of the following code blocks can they use to accomplish the task?

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Tamra
4 months ago
Hmm, that makes sense. Let's go with Option C then.
upvoted 0 times
...
Pearly
4 months ago
I disagree, I believe Option C is the best choice because it archives any existing model versions in Production.
upvoted 0 times
...
Ressie
4 months ago
I don't know, man. All these options look pretty similar to me. Maybe I should just ask the model for its opinion?
upvoted 0 times
...
Moon
4 months ago
Option A? Really? What is this, amateur hour? I'd be writing that code with my eyes closed.
upvoted 0 times
Theola
3 months ago
I'd be writing that code with my eyes closed.
upvoted 0 times
...
Wilda
3 months ago
Option A? Really? What is this, amateur hour?
upvoted 0 times
...
...
Denny
4 months ago
Option D is the way to go! Who needs all that complicated code when you can just `deploy_model` and let MLflow handle the rest?
upvoted 0 times
...
Refugia
4 months ago
I'd go with Option C. It's a bit more concise and gets the job done without any extra steps.
upvoted 0 times
...
Effie
4 months ago
Option B looks good to me. Seems to handle both the stage transition and archiving the old production versions.
upvoted 0 times
Carin
3 months ago
Agreed, Option B seems to cover all the requirements we have.
upvoted 0 times
...
Linn
4 months ago
Let's go with Option B then, it looks like the best choice.
upvoted 0 times
...
Leonie
4 months ago
Yeah, Option B seems like it can handle both tasks effectively.
upvoted 0 times
...
Arthur
4 months ago
I think Option B is the way to go.
upvoted 0 times
...
...
Tamra
4 months ago
I think we should use Option A to move the model version to Production.
upvoted 0 times
...

Save Cancel