exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 84 discussion

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

HOTSPOT
-

You have an Azure Machine Learning workspace.

You need to use the Azure Machine Learning SDK for Python to create and register the Azure Data Lake Storage Generation 2 datastore for the workspace.

How should you complete the following code segment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

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
A_PL300
Highly Voted 9 months ago
On Exam 9-4-23
upvoted 5 times
...
PI_Team
Most Recent 10 months, 2 weeks ago
Answer is correct. Here is the link to the Microsoft document for it: https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.datastore(class)?view=azure-ml-py#azureml-core-datastore-register-azure-data-lake-gen2 SaM
upvoted 2 times
...
Ahmed_Gehad
10 months, 2 weeks ago
I think this question will be invalid in the new version of the exam. currently it's azure.ai.ml & we use abfs(s) now for data stores in an Azure Data Lake Storage Gen 2
upvoted 3 times
...
damaldon
11 months ago
Cprrect. static register_azure_data_lake_gen2(workspace, datastore_name, filesystem, account_name, tenant_id=None, client_id=None, client_secret=None, resource_url=None, authority_url=None, protocol=None, endpoint=None, overwrite=False, subscription_id=None, resource_group=None, grant_workspace_access=False)
upvoted 1 times
...
labriji
1 year, 1 month ago
Given answer is correct 😄 snippet code : datastore = Datastore.```register_azure_data_lake_gen2```(workspace=ws, datastore_name='datastore_name', account_name='account_name', ```filesystem```='test', tenant_id='tenant_id', client_id='client_id', client_secret='client_secret')
upvoted 1 times
...
bibabrian
1 year, 1 month ago
https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.datastore(class)?view=azure-ml-py#azureml-core-datastore-register-azure-data-lake-gen2
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 ...