DP-100 · Question #342
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 proposed solution does not correctly pass the training_data path argument to the command job script in Azure ML SDK v2.
Question
Options
- AYes
- BNo
How the community answered
(32 responses)- A16% (5)
- B84% (27)
Why each option
The proposed solution does not correctly pass the training_data path argument to the command job script in Azure ML SDK v2.
The solution does not properly configure the command job to pass the training_data path, so it cannot be considered a valid approach to meeting the stated requirement.
To correctly pass a file path to a script in an Azure ML command job, the job definition must declare an Input() referencing the data asset and the command string must embed ${{inputs.training_data}} so the path to dataset1.csv is resolved and injected at runtime. Any solution that deviates from this pattern will fail to deliver the correct path to the script argument.
Concept tested: Azure ML SDK v2 command job data input passing
Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-train-model
Topics
Community Discussion
No community discussion yet for this question.