exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 137 discussion

Actual exam question from Microsoft's DP-100
Question #: 137
Topic #: 3
[All DP-100 Questions]

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?

  • A. path = Model.get_model_path(‘loan_model’)
  • B. path = ‘model.pkl’
  • C. path = ws.models(‘loan_model’)
  • D. path = ‘outputs/model.pkl’
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Nghia1
Highly Voted 6 months, 2 weeks ago
correct
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...