# Certified-Machine-Learning-Professional — Question 427

**Type:** multiple_choice
**Topics:** topic_1

## Question

A data scientist has developed and logged a scikit-learn random forest model model, and then they ended their Spark session and terminated their cluster. After starting a new cluster, they want to review the feature_importances_ of the original model object.
Which of the following lines of code can be used to restore the model object so that feature_importances_ is available?

## Correct Answer

_See scenario._

## Explanation

Selected Answer: C
C. mlflow.sklearn.load_model(model_uri)
for two different case, write different code 
 1. sklean : mlflow.sklearn.load_model(model_uri)
 2. xgboost : mlflow.xgboost.load_model(model_uri)

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/databricks/Certified-Machine-Learning-Professional/427  
Practice (tracked): https://hiexam.net/study/Certified-Machine-Learning-Professional/practice