QuestionQ39

VerifiedDeployment Strategies

A Machine Learning Engineer is designing a model-deployment pattern for their entire company. Because the datasets are sensitive, data scientists cannot access production data in the prod catalog. Instead, they perform development work against a downsampled, desensitized dev catalog. At present, models trained against the dev catalog are deployed directly to production. Recently, a data scientist compared the model’s training metrics with production metrics and observed a substantial decline in production performance.

Which deployment-process change will minimize the difference between training and production data while preserving security standards?

Explanation

Executing the approved training code against the production catalog makes the model’s training data representative of the data it will encounter in production, reducing training-serving skew. Running that production training job as a production service principal preserves least-privilege access: the automated identity receives only the production permissions required by the pipeline, while data scientists retain no direct access to sensitive production data. Databricks’ recommended MLOps workflow uses production-catalog tables for production training and recommends service principals for production jobs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!