🔥 3-day streak
Databricks Certified Machine Learning Associate122 / 137
Question 122 of 137
A data engineer needs to score a large Spark DataFrame in a nightly batch job using a model that was registered in Unity Catalog as `prod.ml.churn_model` with the alias `champion`. They plan to use `mlflow.pyfunc.spark_udf` to distribute inference across the cluster. Which code snippet correctly loads the model into a Spark UDF for this batch scoring task?
Reviewed for accuracy · Report an issueNext question