exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 96 discussion

Actual exam question from Microsoft's DP-100
Question #: 96
Topic #: 3
[All DP-100 Questions]

You use the Azure Machine Learning Python SDK to define a pipeline to train a model.
The data used to train the model is read from a folder in a datastore.
You need to ensure the pipeline runs automatically whenever the data in the folder changes.
What should you do?

  • A. Set the regenerate_outputs property of the pipeline to True
  • B. Create a ScheduleRecurrance object with a Frequency of auto. Use the object to create a Schedule for the pipeline
  • C. Create a PipelineParameter with a default value that references the location where the training data is stored
  • D. Create a Schedule for the pipeline. Specify the datastore in the datastore property, and the folder containing the training data in the path_on_datastore property
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-trigger-published-pipeline

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
azurecert2021
Highly Voted 3 years, 3 months ago
given answer is correct. To create a file-reactive Schedule, you must set the datastore parameter in the call to Schedule.create. To monitor a folder, set the path_on_datastore argument. The polling_interval argument allows you to specify, in minutes, the frequency at which the datastore is checked for changes. If the pipeline was constructed with a DataPath PipelineParameter, you can set that variable to the name of the changed file by setting the data_path_parameter_name argument.
upvoted 12 times
...
evangelist
Most Recent 4 months, 3 weeks ago
Selected Answer: D
Nothing but D triggers automatically training when data changed
upvoted 1 times
...
james2033
1 year ago
Selected Answer: D
Quote 'To monitor a folder, set the path_on_datastore argument.' at https://learn.microsoft.com/en-us/azure/machine-learning/how-to-trigger-published-pipeline?view=azureml-api-1#create-a-change-based-schedule --> Choose D, where has path_on_datastore
upvoted 1 times
...
JTWang
2 years ago
Correct. https://learn.microsoft.com/en-us/azure/machine-learning/v1/how-to-trigger-published-pipeline
upvoted 3 times
AzureJobsTillRetire
1 year, 8 months ago
To run a pipeline on a recurring basis, you'll create a schedule. A Schedule associates a pipeline, an experiment, and a trigger. The trigger can either be aScheduleRecurrence that describes the wait between jobs or a Datastore path that specifies a directory to watch for changes.
upvoted 1 times
...
...
kkkk_jjjj
2 years, 7 months ago
on exam 18/03/2022
upvoted 3 times
...
AjoseO
2 years, 8 months ago
On 03 March 2022
upvoted 2 times
...
[Removed]
2 years, 8 months ago
On 20Feb2022
upvoted 1 times
...
jed_elhak
3 years, 1 month ago
D ..given answer is correct.
upvoted 3 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