Designing and Implementing a Data Science Solution on Azure — Question 35

You plan to run a Python script as an Azure Machine Learning experiment.
The script must read files from a hierarchy of folders. The files will be passed to the script as a dataset argument.
You must specify an appropriate mode for the dataset argument.
Which two modes can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

Answer options

Correct answer: D

Explanation

The correct answer is D, as_mount(), because this mode allows the script to access files directly from their original location without copying them, which is ideal for reading from a hierarchy of folders. The other options, while useful for different purposes, either do not support the requirement of reading from a folder structure directly or involve data transfer that is not necessary in this scenario.