nerdexam
Databricks

CERTIFIED-MACHINE-LEARNING-PROFESSIONAL · Question #17

A data scientist has developed a scikit-learn model sklearn_model and they want to log the model using MLflow. They write the following incomplete code block: Which of the following lines of code can

Sign in or unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.

Question

A data scientist has developed a scikit-learn model sklearn_model and they want to log the model using MLflow. 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?

Options

  • Amlflow.spark.track_model(sklearn_model, "model")
  • Bmlflow.sklearn.log_model(sklearn_model, "model")
  • Cmlflow.spark.log_model(sklearn_model, "model")
  • Dmlflow.sklearn.load_model("model")
  • Emlflow.sklearn.track_model(sklearn_model, "model")

Unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL to see the answer

You've previewed enough free CERTIFIED-MACHINE-LEARNING-PROFESSIONAL questions. Unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full CERTIFIED-MACHINE-LEARNING-PROFESSIONAL Practice