Certified Machine Learning Professional Exam QuestionsBrowse all questions from this exam

Certified Machine Learning Professional Exam - Question 47


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.

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

Show Answer
Correct Answer: AC

To transition a model version from the Staging stage to the Production stage using the MLflow Client, the correct method to call is 'transition_model_version_stage' with the required parameters. These parameters include the name of the model, the version of the model, and the target stage, which in this case is 'Production'. The image in option C contains the correct code block for accomplishing this task.

Discussion

2 comments
Sign in to comment
BokNinjaOption: C
Dec 19, 2023

Answer is C. # Transition the model version from Staging to Production client.transition_model_version_stage( name="model", version=model_version, stage="Production" )

hugodscarvalhoOption: C
Jan 27, 2024

Doc: https://mlflow.org/docs/latest/python_api/mlflow.client.html#mlflow.client.MlflowClient.transition_model_version_stage