BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-300 Exam - Topic 5 Question 8 Discussion

Posted by Cristal on Jun 26, 2026 at 02:01 PM

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?

Suggested Answer: B

Get Premium AI-300 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
EA
Earlean 14 hours ago
But it doesn't include the file name. It’s missing.
JA
Jannette 6 days ago
The command structure looks fine to me.
GE
Gerald 11 days ago
Really? Why do you think that?
JA
Jannette 16 days ago
I believe the answer is A.
LA
Lashawn 21 days ago
I agree with Elena. It needs the actual path to dataset1.csv.
EL
Elena 26 days ago
The command is incorrect. It should specify the file path.
JI
Jina 1 month ago
Why B?
EL
Elena 1 month ago
I think the answer is B.
JO
Joanne 1 month ago
I hope the next question is clearer.
RU
Rutha 2 months ago
Yes, definitely B.
TR
Tresa 2 months ago
So, we all lean towards B then?
TY
Tyisha 2 months ago
Exactly, it should be "dataset1.csv" in the command.
TR
Trinidad 2 months ago
But it doesn't include the file name!
CO
Corrina 2 months ago
The command looks fine to me.
CH
Chantay 2 months ago
Why A?
CO
Corrina 3 months ago
I believe the answer is A.
JO
Joanne 3 months ago
I feel confused about the parameters.
KI
Kiera 3 months ago
I agree with Rutha. It needs the actual path.
RU
Rutha 3 months ago
The command is incorrect. It should specify the file path.
TR
Tresa 3 months ago
Why B?
RU
Rutha 3 months ago
I think the answer is B.
TE
Terrilyn 4 months ago
Yeah, I thought it was supposed to be the file name, not just the variable name.
TR
Trina 4 months ago
Nope, that's not right. It should be something like `python train.py --training_data dataset1.csv`.
SH
Shasta 4 months ago
Wait, is "training_data" even a valid path? Seems off.
LE
Lenora 4 months ago
Totally agree, it needs the full path!
RO
Rosendo 4 months ago
The command should specify the actual path to dataset1.csv, not just the argument name.
NO
Noemi 4 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."
JE
Jennie 5 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.
NI
Nickie 5 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.
LA
Lashaunda 5 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."
0/2000 characters

Save Cancel