Question 1

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?
  • Question 2

    A machine learning engineer needs to deliver predictions of a machine learning model in real-time. However, the feature values needed for computing the predictions are available one week before the query time.
    Which of the following is a benefit of using a batch serving deployment in this scenario rather than a real-time serving deployment where predictions are computed at query time?
  • Question 3

    A machine learning engineering manager has asked all of the engineers on their team to add text descriptions to each of the model projects in the MLflow Model Registry. They are starting with the model project "model" and they'd like to add the text in the model_description variable.
    The team is using the following line of code:

    Which of the following changes does the team need to make to the above code block to accomplish the task?
  • Question 4

    A machine learning engineer wants to log feature importance data from a CSV file at path importance_path with an MLflow run for model model.
    Which of the following code blocks will accomplish this task inside of an existing MLflow run block?
    A)

    B)

    C) mlflow.log_data(importance_path, "feature-importance.csv")
    D) mlflow.log_artifact(importance_path, "feature-importance.csv")
    E) None of these code blocks tan accomplish the task.
  • Question 5

    A data scientist has developed a model model and computed the RMSE of the model on the test set. They have assigned this value to the variable rmse. They now want to manually store the RMSE value with the MLflow run.
    They write the following incomplete code block:

    Which of the following lines of code can be used to fill in the blank so the code block can successfully complete the task?