Interview practice question
System design: email spam filter
Machine Learning · ML System Design · Beginner
Design a spam filter for an email service.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Labels: user "report spam"/"not spam", honeypots.
- Features: sender reputation, content, links, headers, user engagement.
- Model: GBDT or text classifier; fast inference.
- Thresholds: low false positives (legit email in spam is costly).
- Adversarial adaptation: frequent retraining, rules, monitoring.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.