Free DP-100 Exam Braindumps
Designing and Implementing a Data Science Solution on Azure Questions 141–145 (page: 30)

Updated On: 10-Feb-2026

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?

  1. constructor of the azure.ai.ml.ComputeSchedule class
  2. constructor of the azure.ai.ml.ComputePowerAction enum
  3. begin_create_or_update method of an instance of the azure.ai.ml.MLCIient class
  4. set_resources method of an instance of the azure.ai.ml.Command class

Answer(s): C



HOTSPOT (Drag and Drop is not supported)

You manage an Azure Machine Learning workspace.
You must define the execution environments for your jobs and encapsulate the dependencies for your code.
You need to configure the environment from a Docker build context.
How should you complete the code segment? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



HOTSPOT (Drag and Drop is not supported)

You create an Azure Machine Learning workspace. You use the Azure Machine Learning Python SDK v2 to create a compute cluster.
The compute cluster must run a training script. Costs associated with running the training script must be minimized.
You need to complete the Python script to create the compute cluster.
How should you complete the script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



You create a workspace to include a compute instance by using Azure Machine Learning Studio. You are developing a Python SDK v2 notebook in the workspace.
You need to use Intellisense in the notebook.
What should you do?

  1. Stop the compute instance.
  2. Start the compute instance.
  3. Run a %pip magic function on the compute instance.
  4. Run a !pip magic function on the compute instance.

Answer(s): B



DRAG DROP (Drag and Drop is not supported)

You manage an Azure Machine Learning workspace named workspace1 with a compute instance named compute1. You connect to compute1 by using a terminal window from workspace1. You create a file named "requirements.txt” containing Python dependencies to include Jupyter.
You need to add a new Jupyter kernel to compute1.
Which four commands should you use? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Viewing page 30 of 102
Viewing questions 146 - 150 out of 432 questions


Post your Comments and Discuss Microsoft DP-100 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!