Certified Machine Learning Professional Practice Test
Certified Machine Learning Professional Practice Test practice questions, page 3 of 9, with answer review and explanations.
Question 11
A data scientist is utilizing MLflow to track their machine learning experiments. After completing a series of runs for the experiment with experiment ID exp_id, the data scientist wants to programmatically work with the experiment run data in a Spark DataFrame. They have an active MLflow Client client and an active Spark session spark. Which of the following lines of code can be used to obtain run-level results for exp_id in a Spark DataFrame?
client.list_run_infos(exp_id)
spark.read.format("delta").load(exp_id)
There is no way to programmatically return row-level results from an MLflow Experiment.
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?
This can only be viewed in the MLflow Experiments UI
client.pyfunc.load_model(model_uri)
Question 13
Which of the following is a simple statistic to monitor for categorical feature drift?
Mode
None of these
Mode, number of unique values, and percentage of missing values
Percentage of missing values
Number of unique values
Question 14
Which of the following is a probable response to identifying drift in a machine learning application?
None of these responses
Retraining and deploying a model on more recent data
All of these responses
Rebuilding the machine learning application with a new label variable
Sunsetting the machine learning application
Question 15
A data scientist has computed updated feature values for all primary key values stored in the Feature Store table features. In addition, feature values for some new primary key values have also been computed. The updated feature values are stored in the DataFrame features_df. They want to replace all data in features with the newly computed data. Which of the following code blocks can they use to perform this task using the Feature Store Client fs?