Anomaly and Fraud Detection Questions

Detecting rare, abnormal, or adversarial events in data. Covers anomaly-detection techniques, fraud and risk modeling, handling extreme class imbalance, and the precision/recall and latency tradeoffs of real-time detection systems. Focuses on the modeling patterns unique to needle-in-a-haystack detection problems.

MediumTechnical
56 practiced

Compare real-time, nearline, and batch scoring for fraud detection: for each, describe a use case where it is the right choice, its latency tolerance, and how the features available to it typically differ.

MediumTechnical
45 practiced

How would you distinguish a legitimate traffic or activity spike from a bot-driven or coordinated-attack spike, and separately, how would you design a detector for ad click-fraud at scale? Discuss the features and signals you would use for each, and how you would avoid blocking real users.

EasyTechnical
46 practiced

Describe three types of features commonly engineered for transactional fraud detection: a short-term velocity signal, a longer-term historical-ratio signal, and a device or network signal. For each, explain how you would compute it and why it is predictive.

MediumTechnical
48 practiced

Write a PySpark job that computes rolling 24-hour aggregates per user (transaction count, total amount, and count of distinct destination accounts) from a transaction stream stored as daily Parquet files. Describe how you would schedule this job and store the results so a serving system can look them up with low latency.

HardSystem Design
48 practiced

Design a graph-based approach to detect coordinated fraud, such as an account-takeover ring or a group of accounts working together. Describe how you would construct the graph from transaction or account data, what graph-level features or signals you would compute, how this would scale to millions of accounts, and how you would keep detecting new rings as they evolve.

Unlock Full Question Bank

Get access to all 49 Anomaly and Fraud Detection interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.