Databricks Certified Machine Learning Professional — Question 3
A machine learning engineer is manually refreshing a model in an existing machine learning pipeline. The pipeline uses the MLflow Model Registry model "project". The machine learning engineer would like to add a new version of the model to "project".
Which of the following MLflow operations can the machine learning engineer use to accomplish this task?
Answer options
- A. mlflow.register_model
- B. MlflowClient.update_registered_model
- C. mlflow.add_model_version
- D. MlflowClient.get_model_version
- E. The machine learning engineer needs to create an entirely new MLflow Model Registry model
Correct answer: A
Explanation
The correct answer is A, as the mlflow.register_model function is specifically designed for registering new versions of models in the MLflow Model Registry. The other options do not perform the task of adding a new model version: B is for updating existing models, C is incorrect as it suggests adding a model version without registration, D retrieves model version information, and E suggests creating a new model, which is unnecessary.