exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 29 discussion

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

HOTSPOT -
You create an Azure Machine Learning workspace.
You need to detect data drift between a baseline dataset and a subsequent target dataset by using the DataDriftDetector class.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: create_from_datasets -
The create_from_datasets method creates a new DataDriftDetector object from a baseline tabular dataset and a target time series dataset.

Box 2: backfill -
The backfill method runs a backfill job over a given specified start and end date.
Syntax: backfill(start_date, end_date, compute_target=None, create_compute_target=False)
Incorrect Answers:
List and update do not have datetime parameters.
Reference:
https://docs.microsoft.com/en-us/python/api/azureml-datadrift/azureml.datadrift.datadriftdetector(class)

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
AjoseO
Highly Voted 2 years, 9 months ago
On Exam: 03 March 2022
upvoted 5 times
...
Lion007
Most Recent 11 months, 1 week ago
Given answer is correct: create_from_datasets and backfill # Instantiate a DataDriftDetector object with the necessary parameters for data drift detection monitor = DataDriftDetector.create_from_datasets(ws, 'drift-monitor', baseline, target, compute_target='cpu-cluster', frequency='Week', feature_list=None, drift_threshold=6, latency=24) # Run the data drift analysis over the specified time period from the start date to today complete = monitor.backfill(datetime(2021, 1, 1), datetime.today())
upvoted 1 times
...
james2033
1 year, 1 month ago
azureml.datadrift.DataDriftDetector.backfill() --> Run a backfill job over a given specified start and end date. azureml.datadrift.DataDriftDetector.create_from_dataset() --> Create a new DataDriftDectector object from baseline tabular dataset and set a target time series dataset. https://learn.microsoft.com/en-us/python/api/azureml-datadrift/azureml.datadrift.datadriftdetector.datadriftdetector?view=azure-ml-py#methods choose 1) create_from_datasets(...) 2) backfill(...) . Very clear.
upvoted 1 times
...
Tsardoz
2 years, 10 months ago
Agree with answer.
upvoted 4 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 ...