Databricks Certified Machine Learning Professional Databricks-Machine-Learning-Professional Question # 17 Topic 2 Discussion

Databricks Certified Machine Learning Professional Databricks-Machine-Learning-Professional Question # 17 Topic 2 Discussion

Databricks-Machine-Learning-Professional Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

A machine learning engineer has developed a model and registered it using the FeatureStoreClient fs. The model has model URI model_uri. The engineer now needs to perform batch inference on customer-level Spark DataFrame spark_df, but it is missing a few of the static features that were used when training the model. The customer_id column is the primary key of spark_df and the training set used when training and logging the model.

Which of the following code blocks can be used to compute predictions for spark_df when the missing feature values can be found in the Feature Store by searching for features by customer_id?


A.

df = fs.get_missing_features(spark_df, model_uri)

fs.score_model(model_uri, df)


B.

fs.score_model(model_uri, spark_df)


C.

df = fs.get_missing_features(spark_df, model_uri)

fs.score_batch(model_uri, df)

df = fs.get_missing_features(spark_df)


D.

fs.score_batch(model_uri, df)


E.

fs.score_batch(model_uri, spark_df)


Get Premium Databricks-Machine-Learning-Professional Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.