nerdexam
Microsoft

DP-100 · Question #179

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might h

The correct answer is A. Yes. The solution meets the goal. The script correctly configures the run to execute locally on the Surface Book's GPU by setting compute_target to 'local' in the ScriptRunConfig or RunConfiguration. The local environment is configured with GPU support, either through a Docker image w

Explore data and run experiments

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. An IT department creates the following Azure resource groups and resources: The IT department creates an Azure Kubernetes Service (AKS)-based inference compute target named aks-cluster in the Azure Machine Learning workspace. You have a Microsoft Surface Book computer with a GPU. Python 3.6 and Visual Studio Code are installed. You need to run a script that trains a deep neural network (DNN) model and logs the loss and accuracy metrics. Solution: Attach the mlvm virtual machine as a compute target in the Azure Machine Learning workspace. Install the Azure ML SDK on the Surface Book and run Python code to connect to the workspace. Run the training script as an experiment on the mlvm remote compute resource. Does the solution meet the goal?

Exhibit

DP-100 question #179 exhibit

Options

  • AYes
  • BNo

How the community answered

(45 responses)
  • A
    76% (34)
  • B
    24% (11)

Explanation

The solution meets the goal. The script correctly configures the run to execute locally on the Surface Book's GPU by setting compute_target to 'local' in the ScriptRunConfig or RunConfiguration. The local environment is configured with GPU support, either through a Docker image with CUDA drivers or a local conda environment with the appropriate GPU-enabled framework packages. The AKS cluster (aks-cluster) created by the IT department is intended for inference/deployment and is not required for local training. Running locally allows the experiment to leverage the physical GPU on the Surface Book while still logging metrics and artifacts to the Azure ML workspace for tracking and comparison.

Topics

#Azure Machine Learning#Compute Targets#DNN Training#Experiments

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice