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 AI-300 Exam - Topic 5 Question 8 Discussion

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 have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.You manage an Azure Machine Learning workspace. The Python script named script.py reads an argument named training_data.The training_data argument specifies the path to the training data in a file named dataset1.csv.You plan to run the script.py Python script as a command job that trains a machine learning model.You need to provide the command to pass the path for the dataset as a parameter value when you submit the script as a training job.Solution: python train.py --training_data training_dataDoes the solution meet the goal?
B) No
A) Yes

Microsoft AI-300 Exam - Topic 5 Question 8 Discussion

Actual exam question for Microsoft's AI-300 exam
Question #: 8
Topic #: 5
[All AI-300 Questions]

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 have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.

You manage an Azure Machine Learning workspace. The Python script named script.py reads an argument named training_data.

The training_data argument specifies the path to the training data in a file named dataset1.csv.

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

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

Solution: python train.py --training_data training_data

Does the solution meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Chantay
3 days ago
Why A?
upvoted 0 times
...
Corrina
8 days ago
I believe the answer is A.
upvoted 0 times
...
Joanne
13 days ago
I feel confused about the parameters.
upvoted 0 times
...
Kiera
18 days ago
I agree with Rutha. It needs the actual path.
upvoted 0 times
...
Rutha
23 days ago
The command is incorrect. It should specify the file path.
upvoted 0 times
...
Tresa
29 days ago
Why B?
upvoted 0 times
...
Rutha
1 month ago
I think the answer is B.
upvoted 0 times
...
Terrilyn
1 month ago
Yeah, I thought it was supposed to be the file name, not just the variable name.
upvoted 0 times
...
Trina
1 month ago
Nope, that's not right. It should be something like `python train.py --training_data dataset1.csv`.
upvoted 0 times
...
Shasta
2 months ago
Wait, is "training_data" even a valid path? Seems off.
upvoted 0 times
...
Lenora
2 months ago
Totally agree, it needs the full path!
upvoted 0 times
...
Rosendo
2 months ago
The command should specify the actual path to dataset1.csv, not just the argument name.
upvoted 0 times
...
Noemi
2 months ago
I practiced a question like this, and I think we need to provide the full path to the CSV file. So, I would say "No."
upvoted 0 times
...
Jennie
2 months ago
I'm not entirely sure, but it seems like the command is missing the actual file path. I might go with "No" just to be safe.
upvoted 0 times
...
Nickie
3 months ago
I remember a similar question where we had to pass parameters, and I feel like we need to include the file name directly in the command.
upvoted 0 times
...
Lashaunda
3 months ago
I think the command should specify the actual path to the dataset, not just the argument name. So, I'm leaning towards "No."
upvoted 0 times
...

Save Cancel