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 Machine Learning Professional Exam - Topic 12 Question 21 Discussion

Posted by Lorean on Jul 18, 2024 at 10:29 AM

A machine learning engineering manager has asked all of the engineers on their team to add text descriptions to each of the model projects in the MLflow Model Registry. They are starting with the model project "model" and they'd like to add the text in the model_description variable.

The team is using the following line of code:

Which of the following changes does the team need to make to the above code block to accomplish the task?

Suggested Answer: B

Get Premium Databricks Machine Learning Professional Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
34 comments · newest first
LE
Lezlie 10 months ago
D sounds interesting, but is it really necessary?
JA
Jarvis 11 months ago
Wait, are we sure about A? Seems a bit off.
ME
Melodie 11 months ago
Definitely not C, that doesn't make sense.
LU
Luther 11 months ago
I think B is correct, no changes needed.
HI
Hillary 11 months ago
Looks like option A is the right move!
TH
Thersa 12 months ago
Adding a Python model as an argument sounds familiar, but I’m not confident if that’s the right approach for this specific task.
RO
Roy 12 months ago
I feel like we should be using `mlflow` directly instead of `client.update_registered_model`, but I need to double-check that.
AL
Alise 12 months ago
I remember practicing a similar question where we had to update model descriptions, but I can't recall if any changes were actually needed.
MI
Mike 1 year ago
I think we might need to replace `update_registered_model` with something else, but I'm not sure which option is correct.
DE
Delmy 1 year ago
The question seems straightforward enough. The key is to identify the correct function to use for updating the model description. Since the question mentions the "model_description" variable, I think option A, replacing "update_registered_model" with "update_model_version", is the way to go.
RA
Raina 1 year ago
I'm not too familiar with the MLflow Model Registry, so this question is a bit tricky for me. I'll need to review the documentation and make sure I understand the different functions and how they're used before I can confidently answer this.
AV
Avery 1 year ago
Okay, I think I've got it. Based on the question, we need to replace "update_registered_model" with "update_model_version" to update the text description for the specific model project. That should do the trick!
DO
Domingo 1 year ago
Hmm, I'm a bit confused by the code snippet. It looks like we're using the MLflow client to interact with the Model Registry, but I'm not sure if the "update_registered_model" function is the right one to use here. I'll need to double-check the MLflow documentation to be sure.
LI
Lizbeth 1 year ago
I think the key here is to focus on the specific function call that needs to be updated. The question mentions updating the "model_description" variable, so I would guess that the "update_registered_model" function is the one we need to modify.
DE
Dexter 1 year ago
Okay, let me think this through. Billing Data and Tags seem like the most relevant options here for visibility into resource management and billing. I'll go with those two.
BA
Barrie 1 year ago
This question seems pretty straightforward. I think I can tackle it by carefully analyzing the requirements and the different solution options presented.
MA
Malika 1 year ago
Okay, I've got a strategy. I'll read through the options and think about which one best describes the purpose of cleaning and normalizing data.
CR
Crissy 2 years ago
I'm just wondering if the 'model' project in the MLflow Model Registry is self-aware enough to appreciate its own text description. Food for thought.
BA
Barb 2 years ago
Adding a Python model as an argument? Sounds like they're trying to turn this into a full-blown software engineering project. Let's keep it simple, folks.
LE
Leatha 2 years ago
Hold up, why would they replace 'client.update_registered_model' with 'mlflow'? That doesn't make any sense.
MA
Marsha 2 years ago
↳ replying to Leatha
Maybe they need to replace 'description' with 'artifact' instead.
EV
Evette 2 years ago
↳ replying to Leatha
No, there are no changes necessary. The code looks fine as it is.
DE
Devora 2 years ago
↳ replying to Leatha
I think they should replace 'update_registered_model' with 'update_model_version'.
RE
Rene 2 years ago
I think the team needs to make the change mentioned in option C) Replace description with artifact.
BA
Basilia 2 years ago
Hmm, I'd go with option B. The code looks good as is, no changes necessary.
TH
Theron 2 years ago
The team needs to replace 'description' with 'model_description' in the code. That's the key they're looking for to add the text description.
AU
Audry 2 years ago
↳ replying to Theron
C: Let's make that change and update the model project.
RE
Renea 2 years ago
↳ replying to Theron
B: Got it, that's the key to adding the text description.
VI
Vicky 2 years ago
↳ replying to Theron
A: We should replace 'description' with 'model_description' in the code.
SH
Shenika 2 years ago
↳ replying to Theron
C: Let's make that change and update the model project.
RE
Regenia 2 years ago
↳ replying to Theron
B: Got it, that's the key to adding the text description.
IR
Irving 2 years ago
↳ replying to Theron
A: We should replace 'description' with 'model_description' in the code.
RO
Romana 2 years ago
I disagree, I believe the correct answer is B) There no changes necessary.
SH
Shawana 2 years ago
I think the answer is A) Replace update_registered_model with update_model_version.
0/2000 characters

Save Cancel