exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 105 discussion

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

You plan to run a Python script as an Azure Machine Learning experiment.
The script contains the following code:

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?

  • A. arguments = ['--input-data', ds.to_pandas_dataframe()]
  • B. arguments = ['--input-data', ds.as_mount()]
  • C. arguments = ['--data-data', ds]
  • D. arguments = ['--input-data', ds.as_download()]
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Xsytt419
Highly Voted 2 years, 5 months ago
should be B?
upvoted 24 times
J_AR
2 years, 5 months ago
Yes. Because 1) the data are images, not tabular, 2) the data are large and so should be mounted not downloaded.
upvoted 15 times
...
rgdk
2 years, 5 months ago
Yes - also because it says "must be streamed directly from its source"
upvoted 9 times
...
...
dp100uber
Highly Voted 2 years, 5 months ago
Incorrect, it's B
upvoted 8 times
...
evangelist
Most Recent 6 days, 13 hours ago
Selected Answer: B
The main reasons cited include: The data are large image files. The requirement to stream data directly from the source. The as_mount() method is suitable for streaming large datasets without downloading them.
upvoted 1 times
...
Matt2000
4 months ago
A is only defined for instances of the TabularDataset class.
upvoted 1 times
...
Ran2025
8 months, 2 weeks ago
B is correct!
upvoted 1 times
...
BR_CS
10 months ago
Selected Answer: B
Clearly B
upvoted 1 times
...
JTWang
1 year, 7 months ago
Selected Answer: B
Answer is B
upvoted 2 times
...
pancman
2 years, 2 months ago
Selected Answer: B
The correct answer is B. Because the question states "for streaming data". To stream data, you mount the dataset.
upvoted 5 times
...
kkkk_jjjj
2 years, 2 months ago
on exam 18/03/2022
upvoted 4 times
...
danku
2 years, 3 months ago
Selected Answer: B
Must be "B", as_mount() is for streaming data from data sources
upvoted 5 times
...
TheCyanideLancer
2 years, 4 months ago
Selected Answer: B
streaming is the key
upvoted 5 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