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…
Question
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)- A3% (1)
- B77% (30)
- C13% (5)
- D8% (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
Community Discussion
No community discussion yet for this question.