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 4 Question 123 Discussion

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

You manage an Azure Machine Learning workspace. The Pylhon scrip! named scriptpy reads an argument named training_dat

a. The trainlng.data argument specifies the path to the training data in a file named datasetl.csv.

You plan to run the scriptpy Python script as a command job that trains a machine learning model.

You need to provide the command to pass the path for the datasct as a parameter value when you submit the script as a training job.

Solution: python script.py --training_data dataset1,csv

Does the solution meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Ashlee
2 months ago
Wait, did they say 'Pylhon' script? I hope the model doesn't turn out to be a 'Monty Python' kind of thing!
upvoted 0 times
Wenona
1 months ago
B) No
upvoted 0 times
...
Margarita
1 months ago
Haha, that would be funny!
upvoted 0 times
...
Mari
2 months ago
A) Yes
upvoted 0 times
...
...
Augustine
2 months ago
I think the solution is incorrect because it should be dataset1.csv instead of dataset1,csv.
upvoted 0 times
...
Avery
2 months ago
I agree with Pedro, the solution meets the goal.
upvoted 0 times
...
Rana
2 months ago
The solution is on point, but I hope the script can handle spaces in the file name too. You never know what users might throw at you!
upvoted 0 times
Rhea
1 months ago
We should test the script with file names containing spaces to be sure.
upvoted 0 times
...
Theola
1 months ago
I agree, the script should be able to handle spaces in the file name.
upvoted 0 times
...
Edelmira
2 months ago
Yes, the solution meets the goal.
upvoted 0 times
...
...
Carmen
2 months ago
This solution looks good to me. Passing the file path as an argument is the way to go.
upvoted 0 times
...
Pedro
3 months ago
But the solution specifies the path to the training data correctly.
upvoted 0 times
...
Maurine
3 months ago
I'm not sure about the comma in the file name. Shouldn't it be 'dataset1.csv' instead of 'dataset1,csv'?
upvoted 0 times
Heike
2 months ago
The correct command should be python script.py --training_data dataset1.csv
upvoted 0 times
...
Kiley
2 months ago
I agree, the solution should be python script.py --training_data dataset1.csv
upvoted 0 times
...
Rebbeca
2 months ago
Yes, it should be 'dataset1.csv' with a period instead of a comma.
upvoted 0 times
...
...
Yvette
3 months ago
I disagree, the solution has a typo in the file name.
upvoted 0 times
...
Tamekia
3 months ago
The solution seems to be correct. The command passes the training data file path as a parameter to the script.
upvoted 0 times
Edelmira
2 months ago
Perfect! The command passes the path for the training data as a parameter value.
upvoted 0 times
...
Tequila
2 months ago
Yes
upvoted 0 times
...
Oretha
2 months ago
Great! The solution meets the goal.
upvoted 0 times
...
Lashon
2 months ago
A) Yes
upvoted 0 times
...
...
Pedro
3 months ago
I think the solution is correct.
upvoted 0 times
...

Save Cancel