exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 98 discussion

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

You manage an Azure Machine Learning workspace named workspace1.

You must develop Python SDK v2 code to add a compute instance to workspace1. The code must import all required modules and call the constructor of the ComputeInstance class.

You need to add the instantiated compute instance to workspace1.

What should you use?

  • A. constructor of the azure.ai.ml.ComputeSchedule class
  • B. constructor of the azure.ai.ml.ComputePowerAction enum
  • C. begin_create_or_update method of an instance of the azure.ai.ml.MLCIient class
  • D. set_resources method of an instance of the azure.ai.ml.Command class
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
evangelist
5 months ago
Selected Answer: C
begin_create_or_update create instance asynchrounously, given answer is correct
upvoted 1 times
...
mackcsc
1 year, 1 month ago
Correct
upvoted 2 times
...
Batman160591
1 year, 4 months ago
Seems correct. To add a compute instance to an Azure Machine Learning workspace using the Python SDK v2, you should use: C. begin_create_or_update method of an instance of the azure.ai.ml.MLCIient class
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago