exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 158 discussion

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

HOTSPOT
-

You manage an Azure Machine Learning workspace named workspace1 by using the Python SDK v2. You create a General Purpose v2 Azure storage account named mlstorage1. The storage account includes a publicly accessible container named mlcontainer1.

The container stores 10 blobs with files in the CSV format.

You must develop Python SDK v2 code to create a data asset referencing all blobs in the container named mlcontainer1.

You need to complete the Python SDK v2 code.

How should you complete the code? 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 1 year, 8 months ago
On 4-Sept-2023 exam
upvoted 5 times
...
Sadhak
Most Recent 7 months ago
Microsoft has deprecated the Windows Azure Storage Blob driver (WASB) in favor of the Azure Blob Filesystem driver (ABFS). ABFS has numerous benefits over WASB. Use ABFS for both Blob Storage and Data Lake for newer workloads.
upvoted 3 times
...
PI_Team
1 year, 9 months ago
sample_dataset = Data( path="wasbs://[email protected]/", type=AssetTypes.URI_FOLDER, description="sample_dataset", name="sample_dataset", version='1.0' ) Answers: wasbs & URI_FOLDER https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-data-assets?view=azureml-api-2&tabs=cli By the way, abfss is used as the scheme identifier for the Hadoop Filesystem driver that is compatible with Azure Data Lake Storage Gen2. SaM
upvoted 4 times
sl_mslconsulting
1 year ago
Azure Data Lake Storage Gen2 is not Azure Blob Storage currently in V2. The answer provided is correct. https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction
upvoted 1 times
sl_mslconsulting
1 year ago
oops I meant your original answer is correct -> wasbs
upvoted 2 times
...
...
PI_Team
1 year, 5 months ago
Excuse me, abfss is the correct answer, the question clearly mentions that we have a gen2 storage SaM
upvoted 2 times
...
orionduo
1 year, 9 months ago
Agree with you A path on Azure Storage (Blob) wasbs://<containername>@<accountname>.blob.core.windows.net/<path_to_data>/ (ADLS gen2) abfss://<file_system>@<account_name>.dfs.core.windows.net/<path> (ADLS gen1) adl://<accountname>.azuredatalakestore.net/<path_to_data>/ Therefore, the first selection should be wasbs
upvoted 1 times
...
...
damaldon
1 year, 11 months ago
"abfss://<file_system>@<account_name>.dfs.core.windows.net/myimages/year=2023/week=1/**/*.jpeg" # Define the Data asset object my_data = Data( path=mltable_folder, type=AssetTypes.MLTABLE, description="My images. Version includes data through to 2023-Jan-15.", name="myimages", version="20230115", # update version to the date
upvoted 1 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 ...