DP-100 · Question #420
DP-100 Question #420: Real Exam Question with Answer & Explanation
Sign in or unlock DP-100 to reveal the answer and full explanation for question #420. The question stem and answer options stay visible for context.
Question
You register a model in an Azure Machine Learning workspace by running the following code: You are creating a scoring script to use in a real-time service for the model. You need to write code in the scoring script to set the path of the registered model so that it can be loaded by the service. You include the necessary import statements. Which code segment should you use?
Options
- Apath = Model.get_model_path('loan_model')
- Bpath = 'model.pkl'
- Cpath = ws.models('loan_model')
- Dpath = 'outputs/model.pkl'
Unlock DP-100 to see the answer
You've previewed enough free DP-100 questions. Unlock DP-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.