exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 172 discussion

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

HOTSPOT
-

You create an Azure Machine Learning workspace.

You are developing a Python SDK v2 noteboot to perform custom model training in the workspace. The notebook code imports all required packages.

You need to complete the Python SDK v2 code to include a training script, environment, and compute information.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
apz333
11 months, 4 weeks ago
Shouldn't box 2 be "component", I don't think create_or_update accepts anything like "command": https://learn.microsoft.com/en-us/python/api/azure-ai-ml/azure.ai.ml.mlclient?view=azure-python#azure-ai-ml-mlclient-create-or-update
upvoted 2 times
Karthikat
11 months, 1 week ago
You are correct create_or_update(entity: T, **kwargs) -> T entity Union[Job , Model, Environment, Component , Datastore]
upvoted 2 times
...
tamagochi13
11 months ago
component does not have experiment_name parameter. also here is example where create_or_update used for command: https://learn.microsoft.com/en-us/training/modules/run-training-script-command-job-azure-machine-learning/3-run-script-command-job
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 ...