exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 5 question 34 discussion

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

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?

  • A. Enable Remote Desktop Protocol (RDP) access.
  • B. Modify role-based access control (RBAC) settings at the workspace level.
  • C. Enable Secure Shell Protocol (SSH) access.
  • D. Modify role-based access control (RBAC) settings at the compute instance level.
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
chevyli
Highly Voted 2 years, 7 months ago
Why not C? SSH is required to run and debug code in VSCode, right?
upvoted 11 times
...
avinyc
Most Recent 3 months, 2 weeks ago
Selected Answer: C
C. Enable Secure Shell Protocol (SSH) access.
upvoted 1 times
...
jefimija
6 months ago
Selected Answer: C
It is C
upvoted 2 times
...
GHill1982
1 year, 3 months ago
Selected Answer: B
The correct answer is B. Modify role-based access control (RBAC) settings at the workspace level. To use Visual Studio Code Remote with an Azure Machine Learning compute instance, you need to have the Contributor role at the workspace level. This role allows you to create, update, and delete compute instances, as well as launch Visual Studio Code remotely connected to them. You do not need to enable RDP or SSH access, as Visual Studio Code Remote uses a secure WebSocket connection to communicate with the compute instance. You also do not need to modify the RBAC settings at the compute instance level, as the workspace-level role is sufficient for accessing the compute instance.
upvoted 2 times
...
PI_Team
1 year, 4 months ago
Selected Answer: C
SSH is the correct answer
upvoted 3 times
...
SunilB
2 years, 1 month ago
SSH https://github.com/danielsc/azureml-debug-training/blob/master/Setting%20up%20VSCode%20Remote%20on%20an%20AzureML%20Compute%20Instance.md
upvoted 3 times
...
phdykd
2 years, 2 months ago
C. Enable Secure Shell Protocol (SSH) access. To interactively debug code running on a compute instance by using Visual Studio Code Remote, you need to enable Secure Shell (SSH) access on the compute instance. This will allow you to connect to the compute instance remotely using Visual Studio Code and the Remote - SSH extension. Enabling Remote Desktop Protocol (RDP) access (option A) is not necessary for debugging code using Visual Studio Code Remote. RDP is used for remote desktop access to a Windows machine. Modifying role-based access control (RBAC) settings at the workspace level (option B) or the compute instance level (option D) is not required for enabling Visual Studio Code Remote. RBAC is used to manage permissions and access to resources in Azure, but it is not related to remote debugging with Visual Studio Code.
upvoted 3 times
...
michaelmorar
2 years, 4 months ago
Selected Answer: B
I agree it is B - the question is about access from VS Code, not SSH.
upvoted 4 times
...
silva_831
2 years, 5 months ago
I think it should be D. Since it's mentioned "one checks are performed to make sure the user attempting to make a connection is authorized to use the compute instance."
upvoted 2 times
...
JTWang
2 years, 6 months ago
Selected Answer: B
Ref:https://learn.microsoft.com/en-us/azure/machine-learning/how-to-set-up-vs-code-remote?tabs=studio#configure-a-remote-compute-instance
upvoted 3 times
...
reddragondms
2 years, 6 months ago
Selected Answer: C
I agree it should be C
upvoted 3 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