Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Design Real-Time Fraud Risk Scoring

HardSystem Design00:00
I
Practice interviewer
Your interviewer
In session
I
Interviewer

Welcome to your interview.

The question is on your right: Design Real-Time Fraud Risk Scoring. Take a moment with it first.

Talk your thinking through with me if you like - when you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes). Discussion and graded submissions share your five interviewer interactions, so spend them well.

You need to log in / sign up to chat or submit.

Problem

Scenario

You are designing a real-time ML system for a digital payments platform that scores every card transaction for fraud before authorization. The score is used to approve, decline, or step up transactions, so the model directly affects both fraud losses and customer conversion. Fraud patterns shift quickly, labels are delayed by chargebacks and investigations, and the business wants decisions to incorporate the latest user and merchant behavior. The system must support low-latency predictions globally while remaining robust to drift, outages, and feature inconsistencies.

Scale

SignalValue
Daily active cardholders18M
Peak transaction scoring QPS45K
Average transaction scoring QPS18K
Distinct merchants9M
User + merchant feature lookups per request40-80
End-to-end decision latency budget (p99)120ms
Fraud label delay7-45 days

Question

How would you design this end-to-end system so it can make accurate real-time predictions at this scale while handling delayed labels, feature freshness, training-serving skew, and operational failures?