exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 78 discussion

Actual exam question from Microsoft's DP-100
Question #: 78
Topic #: 3
[All DP-100 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 in the review screen.
You create a model to forecast weather conditions based on historical data.
You need to create a pipeline that runs a processing script to load data from a datastore and pass the processed data to a machine learning model training script.
Solution: Run the following code:

Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Haet
Highly Voted 3 years, 6 months ago
The Answer should be No.
upvoted 12 times
...
SwaggyCD2
Highly Voted 2 years, 10 months ago
Deprecated as now we use FileOutputDatasetConfig
upvoted 7 times
...
deyoz
Most Recent 9 months ago
this is a correct code precess_step = PythonScriptStep(name = 'Data Processing', source_directory ='.', script_name ="process.py", inputs = [input_ds.as_named_input('raw_data')], outputs = [dataFolder], runconfig = run_config, arguments = ['--datafolder', dataFolder]) where, dataFolder = PipelineData(name = 'datafolder', datastore = ws.get_default_datastore()) so the answer is NO.
upvoted 1 times
...
snegnik
1 year, 5 months ago
I think input argument were losted for proces_ step, and output argument for the train_step
upvoted 1 times
...
synapse
2 years, 7 months ago
The answer is correct (A). But no need to look into this. DataReference is deprecated
upvoted 2 times
...
synapse
2 years, 7 months ago
Selected Answer: A
Skip this question. DataReference is deprecated
upvoted 6 times
pancman
2 years, 6 months ago
I also checked and I confirm this information. Microsoft documentation says DataReference is no longer the recommended way.
upvoted 1 times
...
...
mis96
2 years, 8 months ago
Deprecated
upvoted 1 times
...
YipingRuan
3 years, 3 months ago
Why in training step we need "data_output" twice?
upvoted 1 times
snegnik
1 year, 5 months ago
one for console input, and another input by default. and they lost output for the training step at all.
upvoted 1 times
...
Roszu
2 years, 8 months ago
once as input and then as output
upvoted 1 times
...
...
prashantjoge
3 years, 5 months ago
the answer is correct.
upvoted 6 times
snsnsnsn
3 years, 1 month ago
The answer should be yes.
upvoted 2 times
...
...
ac45863
3 years, 6 months ago
I'm not sure if it's correct. Maybe data_output should be passed as an argument also in the 1st step?
upvoted 5 times
scipio
3 years, 5 months ago
I agree with that. The script "process.py" on the first step does not know the output folder data_output (-> reference to datastore) if it is not passed by argument.
upvoted 5 times
deyoz
8 months, 2 weeks ago
this is what i exactly thought
upvoted 1 times
...
...
...
medsimus
3 years, 7 months ago
https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.data.data_reference.datareference?view=azure-ml-py
upvoted 2 times
...
kty
3 years, 7 months ago
DataReference() exist?
upvoted 2 times
treadst0ne
3 years, 4 months ago
Yes. https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.data.data_reference.datareference?view=azure-ml-py
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago