Which two languages can be used to perform model scoring with the PREDICT function in a Fabric notebook?

Prepare for the DP-600 Fabric Analytics Engineer Exam. Study with flashcards and multiple choice questions, each offering hints and detailed explanations. Enhance your chances of success on the exam!

Multiple Choice

Which two languages can be used to perform model scoring with the PREDICT function in a Fabric notebook?

Explanation:
Model scoring with PREDICT in a Fabric notebook is accessed through Spark’s two native interfaces: Spark SQL and PySpark. Spark SQL lets you apply a trained model by writing SQL-like queries, which is great for straightforward, table-based scoring within your data flows. PySpark lets you use Python to run the same PREDICT function in a programmatic, code-driven way, enabling more complex processing and integration with Python libraries. Both run inside the same Spark session, so you can mix declarative SQL and Python code in the same notebook session. The other language pairings don’t align with how PREDICT is exposed in this environment, which is why Spark SQL and PySpark are the correct combination.

Model scoring with PREDICT in a Fabric notebook is accessed through Spark’s two native interfaces: Spark SQL and PySpark. Spark SQL lets you apply a trained model by writing SQL-like queries, which is great for straightforward, table-based scoring within your data flows. PySpark lets you use Python to run the same PREDICT function in a programmatic, code-driven way, enabling more complex processing and integration with Python libraries. Both run inside the same Spark session, so you can mix declarative SQL and Python code in the same notebook session. The other language pairings don’t align with how PREDICT is exposed in this environment, which is why Spark SQL and PySpark are the correct combination.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy