Contoso serves a fraud-scoring model from an Azure Machine Learning managed online deployment. Data collection is not enabled on the deployment. The team must set up model monitoring that meets these requirements:
- Detect shifts in the distribution of the model's input features.
- Compare production data against the training data asset that was used to train the model.
- Calculate drift only for the 10 most important features.
Which configuration meets all the requirements?
A deployment is not monitored for drift by default. Data collection must be enabled on the online deployment so production requests are logged before a monitor can compare them with a reference. The data drift signal compares input feature distributions. Its default reference for an online deployment is recent production data, so you edit the signal to select the training data asset. You then choose Top N features and set N to 10 to monitor the 10 most important features.
- Correct: Enable data collection, then add a data drift signal that uses the training data asset as reference data and Top N features with N set to 10. Enabling data collection logs the production data the monitor needs. The data drift signal compares input feature distributions. Choosing the training data asset as reference and Top N features with N set to 10 meets the comparison and feature-scope requirements.
- Not correct: Enable data collection, then add a prediction drift signal that uses the training data asset as reference data. Prediction drift tracks shifts in the distribution of the model's outputs, not its input features. It therefore does not meet the input-feature requirement.
- Not correct: Create a monitor with a data drift signal that uses the training data asset as reference data and Top N features with N set to 10. The signal settings are right, but a monitor compares logged production data. Data collection must be enabled on the online deployment first so requests and responses are logged.
- Not correct: Enable data collection, then add a data drift signal that keeps the default reference data and uses Top N features with N set to 10. For an online deployment, the default data drift signal uses recent, past production data as its reference. The reference must be changed to the training data asset.