Design a system that supports two workloads simultaneously: (1) real-time (online) fraud detection — scoring/classifying transactions or user actions with low latency as they happen; and (2) offline analytics — batch processing and analysis of historical data for reporting, model training, and business…