Design a fraud detection system for online payments

HardML design45 minASRSPro outline

The question

Design a system that flags fraudulent transactions at checkout in real time. Fraud is rare, labels arrive late through chargebacks, and fraudsters change tactics.

Walk me through features, model, thresholds, evaluation and how the system adapts.

What the interviewer is looking for

  • Handles extreme class imbalance and delayed labels
  • Designs real-time features such as velocity counts and device signals
  • Picks a fast model and a threshold based on cost of errors
  • Evaluates with precision and recall at the operating point and dollar impact
  • Plans for adversarial drift, retraining and human review

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Amazon (Applied Scientist / AGI) question type: Design an ML system for an Amazon-style problem such as spam detection, fraud detection, CTR prediction or review summarization.

Reported in: prachub.com, interviewquery.com, easylearnspace.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Amazon (Applied Scientist / AGI) question.