exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 7 discussion

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

You create a multi-class image classification deep learning model.
You train the model by using PyTorch version 1.2.
You need to ensure that the correct version of PyTorch can be identified for the inferencing environment when the model is deployed.
What should you do?

  • A. Save the model locally as a.pt file, and deploy the model as a local web service.
  • B. Deploy the model on computer that is configured to use the default Azure Machine Learning conda environment.
  • C. Register the model with a .pt file extension and the default version property.
  • D. Register the model, specifying the model_framework and model_framework_version properties.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
rishi_ram
Highly Voted 3 years ago
Question was there in June 2021 Exam
upvoted 10 times
...
shuvovertigo
Highly Voted 2 years, 11 months ago
You can view these two properties in the Model.register() section here, which takes model framework and framework version https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.model.model?view=azure-ml-py#register-workspace--model-path--model-name--tags-none--properties-none--description-none--datasets-none--model-framework-none--model-framework-version-none--child-paths-none--sample-input-dataset-none--sample-output-dataset-none--resource-configuration-none-
upvoted 8 times
treadst0ne
2 years, 11 months ago
I agree.
upvoted 1 times
...
...
evangelist
Most Recent 4 days, 7 hours ago
Selected Answer: D
D is correct: pecifying the model_framework and model_framework_version properties when registering the model, you provide metadata that informs Azure Machine Learning about the specific framework and version used to train the model.
upvoted 1 times
...
dija123
2 years, 5 months ago
Selected Answer: D
I agree with D
upvoted 3 times
...
Tehseen
2 years, 11 months ago
The answer is correct. Check API for model registering. https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.run.run?view=azure-ml-py#register-model-model-name--model-path-none--tags-none--properties-none--model-framework-none--model-framework-version-none--description-none--datasets-none--sample-input-dataset-none--sample-output-dataset-none--resource-configuration-none----kwargs-
upvoted 2 times
...
ACSC
3 years, 1 month ago
Answer is C. https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.dnn.pytorch?view=azure-ml-py#default-version----1-4-
upvoted 4 times
...
Haisheng_Zhang
3 years, 2 months ago
https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.dnn.pytorch?view=azure-ml-py
upvoted 1 times
...
dev2dev
3 years, 2 months ago
model_framework is Model's property https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.model.model?view=azure-ml-py
upvoted 1 times
...
dev2dev
3 years, 2 months ago
https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.webservice(class)?view=azure-ml-py#run-input-
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago