Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam DP-100 topic 4 question 24 discussion

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

DRAG DROP -
You use Azure Machine Learning to deploy a model as a real-time web service.
You need to create an entry script for the service that ensures that the model is loaded when the service starts and is used to score new data as it is received.
Which functions should you include in the script? To answer, drag the appropriate functions to the correct actions. Each function may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: init()
The entry script has only two required functions, init() and run(data). These functions are used to initialize the service at startup and run the model using request data passed in by a client. The rest of the script handles loading and running the model(s).
Box 2: run()
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-existing-model

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ljljljlj
Highly Voted 2 years, 9 months ago
On exam 2021/7/10
upvoted 6 times
...
james2033
Most Recent 6 months, 1 week ago
init(): Called once at the beginning of the process, so use for any costly or common preparation like loading the model. run(): Called for each mini batch to perform the scoring. https://learn.microsoft.com/en-us/training/modules/deploy-model-batch-endpoint/4-deploy-custom-model-batch-endpoint#create-the-scoring-script
upvoted 1 times
...
rohanpal636
8 months, 1 week ago
Idk keksl
upvoted 1 times
...
AjoseO
2 years, 1 month ago
On Exam: 03 March 2022
upvoted 4 times
...
[Removed]
2 years, 2 months ago
On 20Feb2022
upvoted 1 times
...
snsnsnsn
2 years, 7 months ago
on 2/9/21
upvoted 2 times
...
Moshekwa
2 years, 9 months ago
Given answer is correct as per link https://docs.microsoft.com/en-us/learn/modules/deploy-batch-inference-pipelines-with-azure-machine-learning/2-batch-inference-pipelines
upvoted 3 times
...
Orangecm
3 years ago
Having checked the link provided, it seems init() and predict() are more appropriate ?
upvoted 1 times
ACSC
3 years ago
No. Answer is correct. init() and run(). Predict() is not used to score new data.
upvoted 16 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 ...