Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-100 Topic 2 Question 57 Discussion

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

You plan to run a Python script as an Azure Machine Learning experiment.

The script contains the following code:

import os, argparse, glob

from azureml.core import Run

parser = argparse.ArgumentParser()

parser.add_argument('--input-data',

type=str, dest='data_folder')

args = parser.parse_args()

data_path = args.data_folder

file_paths = glob.glob(data_path + "/*.jpg")

You must specify a file dataset as an input to the script. The dataset consists of multiple large image files and must be streamed directly from its source.

You need to write code to define a ScriptRunConfig object for the experiment and pass the ds dataset as an argument.

Which code segment should you use?

Show Suggested Answer Hide Answer
Suggested Answer: A

If you have structured data not yet registered as a dataset, create a TabularDataset and use it directly in your training script for your local or remote experiment.

To load the TabularDataset to pandas DataFrame

df = dataset.to_pandas_dataframe()

Note: TabularDataset represents data in a tabular format created by parsing the provided file or list of files.


https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-datasets

Contribute your Thoughts:

Tenesha
5 days ago
I remember we discussed how to use datasets in Azure ML, but I'm not sure if I should use as_mount or as_download for large files.
upvoted 0 times
...
Tawanna
6 days ago
I think the vEdge2000 is the one that supports LTE and Wi-Fi, but I'm not entirely sure.
upvoted 0 times
...
Leota
13 days ago
I'm a bit confused; isn't changing the Rerouting CSS on the trunk a common solution for this type of issue?
upvoted 0 times
...
Vince
14 days ago
This seems like a straightforward management question. I'll carefully consider each option and try to identify the one that best aligns with effective management practices.
upvoted 0 times
...
Lawrence
17 days ago
I think the answer is B - running a query against the table. That should update the statistics, right? I'm not 100% confident, but that's my best guess.
upvoted 0 times
...

Save Cancel