
Databricks Certified Machine Learning - Associate
Get started today
Ultimate access to all questions.
After successfully training and evaluating a machine learning model with Databricks MLlib, a data scientist is ready to deploy the model for real-time predictions in a production environment. What is the recommended approach?
After successfully training and evaluating a machine learning model with Databricks MLlib, a data scientist is ready to deploy the model for real-time predictions in a production environment. What is the recommended approach?
Explanation:
The correct approach is to use MLflow for packaging the model and deploying it as a REST API endpoint. MLflow simplifies the deployment process by encapsulating the model, its dependencies, and necessary configurations, making it easier to manage in a production environment. This method supports real-time predictions through HTTP requests. Other options like exporting the model as a serialized file (Option C) or saving it to a Delta table (Option A) are less scalable or not suited for real-time predictions. Scheduling periodic runs (Option B) is more appropriate for batch processing rather than on-demand predictions.