Explain an Overnight Spike in Gmail Spam Reports

Last updated: November 29, 2026

Quick Overview

The number of emails Gmail users mark as spam doubled overnight. Walk through how you would figure out whether this is an attack, a classifier regression, or something else.

Google
Analytics & Experimentation
Data Scientist
Google
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

0

0 solved


The number of emails Gmail users mark as spam doubled overnight. Walk through how you would figure out whether this is an attack, a classifier regression, or something else.

Gmail's trust and safety analysts handle sudden shifts in abuse signals, and interviewers use this to test structured diagnosis under time pressure. They check whether you separate volume of spam, classifier misses, and user behaviour changes.

What the Interviewer Expects
  • Separates more spam arriving from more spam reaching the inbox
  • Checks classifier changes and model pushes
  • Slices by sender domain, IP range, and content cluster
  • Considers UI changes that make reporting easier
  • Proposes immediate mitigation
Key Topics to Cover
Abuse detection
Spam classifier
Root cause analysis
Sender reputation
Alerting
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • What if reports come mostly from one sender domain that is a legitimate company?
  • How would you tell a classifier regression from a new attack?
  • What metric would you alert on going forward?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

Spam reports == inbox emails ×\times share that is spam ×\times share of spam users report. A spike can come from any factor: a new spam wave, the classifier letting more through, or users reportin...

Approach
  1. Check classifier pushes and config changes in the last 24 hours.
  2. Measure incoming spam volume (caught in the spam folder) vs reported inbox spam.
  3. Cluster reported emails by sender domain, sen...

Submit Your Answer
Markdown supported