A Machine Learning Engineer must implement a simple solution, using as little code as possible, to monitor a regression model and ensure that the R2 score does not exceed a specified threshold. If that threshold is exceeded, the solution must send an email to a distribution list. Which proposed solution satisfies these requirements?
A Lakehouse Monitoring inference profile is designed for classification or regression model predictions and writes model-quality metrics to profile tables. A Databricks SQL alert can query those metrics on a schedule, evaluate whether the R2 value exceeds the threshold, and notify an email destination when its condition is met. This provides the required monitoring and notification without implementing a workflow or notebook.