Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Machine Learning Associate All Questions

View all questions & answers for the Certified Machine Learning Associate exam

Exam Certified Machine Learning Associate topic 1 question 44 discussion

Actual exam question from Databricks's Certified Machine Learning Associate
Question #: 44
Topic #: 1
[All Certified Machine Learning Associate Questions]

A machine learning engineer is trying to perform batch model inference. They want to get predictions using the linear regression model saved at the path model_uri for the DataFrame batch_df. batch_df has the following schema: customer_id STRING
The machine learning engineer runs the following code block to perform inference on batch_df using the linear regression model at model_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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
momosoundz
1 month, 2 weeks ago
Selected Answer: D
This code block will not perform the desired inference in any situation. Explanation: The issue lies in the fact that the DataFrame (batch_df) only contains one column, customer_id, which is a STRING. Linear regression models typically use numerical or categorical features for training, and it is highly unlikely that a customer_id alone (which is usually an identifier and not a feature) was used to train the model.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...