exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 59 discussion

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

You manage an Azure Machine Learning workspace.

You build a custom model you must log with MLflow. The custom model includes the following:

• The model is not natively supported by MLflow.
• The model cannot be serialized in Pickle format.
• The model source code is complex.
• The Python library for the model must be packaged with the model.

You need to create a custom model flavor to enable logging with MLflow.

What should you use?

  • A. model loader
  • B. artifacts
  • C. model wrapper
  • D. custom signatures
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
evangelist
11 months, 2 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
kay1101
1 year ago
Selected Answer: A
A. model loader reference: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-log-mlflow-models?view=azureml-api-2&tabs=loader#logging-custom-models
upvoted 1 times
...
BR_CS
1 year, 9 months ago
Selected Answer: A
See comments by phdykd and damaldon. A is correct.
upvoted 3 times
...
phdykd
1 year, 10 months ago
A. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-log-mlflow-models?view=azureml-api-2&tabs=loader
upvoted 1 times
...
damaldon
1 year, 11 months ago
Ans. A Sometimes your model logic is complex and there are several source files that your model loads on inference time. This would be the case when you have a Python library for your model for instance. In this scenario, you want to package the library all along with your model so it can move as a single piece. Use this method when: Your model can't be serialized in Pickle format or there is a better format available for that. Your model artifacts can be stored in a folder where all the requiered artifacts are placed. Your model source code is complex and it requires multiple Python files. Potentially, there is a library that supports your model. You want to customize the way the model is loaded and how the predict function works. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-log-mlflow-models?view=azureml-api-2&tabs=loader
upvoted 2 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 ...