exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 105 discussion

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

DRAG DROP
-

You create an Azure Machine Learning workspace and an Azure Synapse Analytics workspace with a Spark pool. The workspaces are contained within the same Azure subscription.

You must manage the Synapse Spark pool from the Azure Machine Learning workspace.

You need to attach the Synapse Spark pool in Azure Machine Learning by using the Python SDK v2.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Show Suggested Answer Hide Answer
Suggested Answer:

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
TA_
1 year, 2 months ago
On exam 15-03-2024
upvoted 1 times
...
Borjavvvvv
1 year, 5 months ago
To attach a Synapse Compute using Python SDK, first create an instance of azure.ai.ml.MLClient class. This provides convenient functions for interaction with Azure Machine Learning services. The following code sample uses azure.identity.DefaultAzureCredential for connecting to a workspace in resource group of a specified Azure subscription. In the following code sample, define the SynapseSparkCompute with the parameters: name - user-defined name of the new attached Synapse Spark pool. resource_id - resource ID of the Synapse Spark pool created earlier in the Azure Synapse Analytics workspace. An azure.ai.ml.MLClient.begin_create_or_update() function call attaches the defined Synapse Spark pool to the Azure Machine Learning workspace.
upvoted 3 times
...
Mikku123
1 year, 10 months ago
My Bad - The correct sequence is: Create an instance of the azure.ai.MLClient class Define the spark pool configuration with the SparkResourceConfiguration class Attach the Synapse Spark pool with the azure.ai.ml.MLClient.begin_create_or_update() function
upvoted 3 times
Sadhak
7 months ago
Not SparkResourceConfiguration calss but SynapseSparkCompute class.
upvoted 1 times
...
...
Mikku123
1 year, 10 months ago
correct answer!
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 ...