exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 23 discussion

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

You are a data scientist working for a hotel booking website company. You use the Azure Machine Learning service to train a model that identifies fraudulent transactions.
You must deploy the model as an Azure Machine Learning real-time web service using the Model.deploy method in the Azure Machine Learning SDK. The deployed web service must return real-time predictions of fraud based on transaction data input.
You need to create the script that is specified as the entry_script parameter for the InferenceConfig class used to deploy the model.
What should the entry script do?

  • A. Register the model with appropriate tags and properties.
  • B. Create a Conda environment for the web service compute and install the necessary Python packages.
  • C. Load the model and use it to predict labels from input data.
  • D. Start a node on the inference cluster where the web service is deployed.
  • E. Specify the number of cores and the amount of memory required for the inference compute.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
ljljljlj
Highly Voted 3 years, 11 months ago
On exam 2021/7/10
upvoted 11 times
...
David_Tadeu
Highly Voted 3 years, 1 month ago
Selected Answer: C
Following the given link, the workflow to deploy a model is: 1. Register the model. 2. Prepare an entry script. 3. Prepare an inference configuration. 4. Deploy the model locally to ensure everything works. 5. Choose a compute target. 6. Deploy the model to the cloud. 7. Test the resulting web service. We are in interested in step 2., and this step can be divided in: 2.1. LOADING YOUR MODEL (using a function called init()) 2.2. Running your model on input data (using a function called run())
upvoted 8 times
...
Fefnut
Most Recent 6 months, 3 weeks ago
Response C is correct: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-and-where?view=azureml-api-1&tabs=azcli
upvoted 1 times
...
bbe8966
11 months, 2 weeks ago
The answer is correct
upvoted 1 times
...
esimsek
2 years, 2 months ago
on exam 2023-03-27
upvoted 2 times
...
synapse
3 years, 2 months ago
Selected Answer: C
Given answer C is correct
upvoted 3 times
...
JoshuaXu
3 years, 7 months ago
on 6 Nov 2021
upvoted 3 times
...
VJPrakash
3 years, 10 months ago
This answer is correct.
upvoted 4 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 ...