DP-100 · Question #194
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is B. No. The answer is No - the solution does not correctly create the required dataset. The datastore contains CSV files spread across subdirectories (/data/2018/ and /data/2019/). To register a TabularDataset that covers all these files, the correct approach uses…
Question
Exhibit
Options
- AYes
- BNo
How the community answered
(22 responses)- A23% (5)
- B77% (17)
Explanation
The answer is No - the solution does not correctly create the required dataset. The datastore contains CSV files spread across subdirectories (/data/2018/ and /data/2019/). To register a TabularDataset that covers all these files, the correct approach uses Dataset.Tabular.from_delimited_files() with a wildcard path pattern such as (datastore, '/data/**/*.csv'). The failing solution likely uses an incorrect path (e.g., pointing to only one subdirectory, or using a FileDataset instead of a TabularDataset), which means not all quarterly files are included, or the dataset is not registered with the correct name. Proper registration also requires calling .register(workspace, name='training_data', ...) after defining the dataset.
Topics
Community Discussion
No community discussion yet for this question.
