
Answer-first summary for fast verification
Answer: mlflow models transition-stage --model-uri models:/MyModel/1 --stage Production
The command `mlflow models transition-stage --model-uri models:/MyModel/1 --stage Production` is the correct way to transition a model from Staging to Production in the MLflow Model Registry. Here’s why the other options are incorrect: - Option A is used for moving a model between different registries, not for transitioning stages within the same registry. - Option B is not a valid MLflow command. - Option D has incorrect syntax and is not a valid command. Thus, the correct answer is the command that directly transitions the specified model version from Staging to Production.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What is the correct MLflow command to transition a model from the Staging to Production stage in the model registry?
A
mlflow models move --model-name MyModel --version 1 --stage Production
B
mlflow transitions move --model MyModel --to-stage Production --version 1
C
mlflow models transition-stage --model-uri models:/MyModel/1 --stage Production
D
mlflow transition-model --from Staging --to Production --model-name MyModel --version
No comments yet.