Certified Machine Learning Professional Practice Test
Certified Machine Learning Professional Practice Test practice questions, page 6 of 9, with answer review and explanations.
Question 26
A machine learning engineer wants to deploy a model for real-time serving using MLflow Model Serving. For the model, the machine learning engineer currently has one model version in each of the stages in the MLflow Model Registry. The engineer wants to know which model versions can be queried once Model Serving is enabled for the model. Which of the following lists all of the MLflow Model Registry stages whose model versions are automatically deployed with Model Serving?
Staging, Production, Archived
Production
None, Staging, Production, Archived
Staging, Production
None, Staging, Production
Question 27
A data scientist has written a function to track the runs of their random forest model. The data scientist is changing the number of trees in the forest across each run. Which of the following MLflow operations is designed to log single values like the number of trees in a random forest?
mlflow.log_artifact
mlflow.log_model
mlflow.log_metric
mlflow.log_param
There is no way to store values like this.
Question 28
A machine learning engineer is converting a Hyperopt-based hyperparameter tuning process from manual MLflow logging to MLflow Autologging. They are trying to determine how to manage nested Hyperopt runs with MLflow Autologging. Which of the following approaches will create a single parent run for the process and a child run for each unique combination of hyperparameter values when using Hyperopt and MLflow Autologging?
Starting a manual parent run before calling fmin
Ensuring that a built-in model flavor is used for the model logging
Starting a manual child run within the objective_function
There is no way to accomplish nested runs with MLflow Autologging and Hyperopt
MLflow Autologging will automatically accomplish this task with Hyperopt
Question 29
A data scientist has created a Python function compute_features that returns a Spark DataFrame with the following schema: The resulting DataFrame is assigned to the features_df variable. The data scientist wants to create a Feature Store table using features_df. Which of the following code blocks can they use to create and populate the Feature Store table using the Feature Store Client fs?