nerdexam
Microsoft

DP-100 · Question #280

You plan to create a compute instance as part of an Azure Machine Learning development workspace. You must interactively debug code running on the compute instance by using Visual Studio Code…

The correct answer is B. Modify role-based access control (RBAC) settings at the workspace level. To use Visual Studio Code Remote to interactively debug code on an Azure ML compute instance, you must first modify RBAC settings at the workspace level to grant the necessary permissions. Azure ML compute instances are accessed through the workspace, and the VS Code Remote…

Explore data and run experiments

Question

You plan to create a compute instance as part of an Azure Machine Learning development workspace. You must interactively debug code running on the compute instance by using Visual Studio Code Remote. You need to provision the compute instance. What should you do?

Options

  • AEnable Remote Desktop Protocol (RDP) access.
  • BModify role-based access control (RBAC) settings at the workspace level.
  • CEnable Secure Shell Protocol (SSH) access.
  • DModify role-based access control (RBAC) settings at the compute instance level.

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    77% (30)
  • C
    13% (5)
  • D
    8% (3)

Explanation

To use Visual Studio Code Remote to interactively debug code on an Azure ML compute instance, you must first modify RBAC settings at the workspace level to grant the necessary permissions. Azure ML compute instances are accessed through the workspace, and the VS Code Remote extension authenticates via the workspace. Without the correct workspace-level RBAC role assignment, the user cannot establish the remote connection. SSH (C) is used for direct terminal access but is not the mechanism VS Code Remote uses in the Azure ML context. RDP (A) is unrelated to VS Code Remote.

Topics

#Azure ML Compute#VS Code Remote#RBAC#Interactive Debugging

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice