Exit DATABRICKS-MACHINE-LEARNING-ASSOCIATE Databricks Certified Machine Learning Associate
Question 5 of 5
0% complete
Q5 Single choice

A machine learning engineer is trying to perform batch model inference. They want to get predictions using the linear regression model saved at the pathmodel_urifor the DataFramebatch_df.

batch_dfhas the following schema:

customer_id STRING

The machine learning engineer runs the following code block to perform inference onbatch_dfusing the
linear regression model atmodel_uri:

In which situation will the machine learning engineer's code block perform the desired inference?

  • A

    When the Feature Store feature set was logged with the model at model_uri

  • B

    When all of the features used by the model at model_uri are in a Spark DataFrame in the PySpark

  • C

    When the model at model_uri only uses customer_id as a feature

  • D

    This code block will not perform the desired inference in any situation.

  • E

    When all of the features used by the model at model_uri are in a single Feature Store table