CERTIFIED-MACHINE-LEARNING-PROFESSIONAL · Question #27
A machine learning engineer is migrating a machine learning pipeline to use Databricks Machine Learning. They have programmatically identified the best run from an MLflow Experiment and stored its URI
Sign in or unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.
Question
A machine learning engineer is migrating a machine learning pipeline to use Databricks Machine Learning. They have programmatically identified the best run from an MLflow Experiment and stored its URI in the model_uri variable and its Run ID in the run_id variable. They have also determined that the model was logged with the name "model". Now, the machine learning engineer wants to register that model in the MLflow Model Registry with the name "best_model". Which of the following lines of code can they use to register the model to the MLflow Model Registry?
Options
- Amlflow.register_model(model_uri, "best_model")
- Bmlflow.register_model(run_id, "best_model")
- Cmlflow.register_model(f"runs:/{run_id}/best_model", "model")
- Dmlflow.register_model(model_uri, "model")
- Emlflow.register_model(f"runs:/{run_id}/model")
Unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL to see the answer
You've previewed enough free CERTIFIED-MACHINE-LEARNING-PROFESSIONAL questions. Unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.