How can you design an anomaly detection system in Spark Structured Streaming that adapts thresholds based on machine learning models, enabling real-time model retraining and threshold adjustment? | Databricks Certified Data Engineer - Professional Quiz - LeetQuiz