mlprep
Hard35 min·3 rounds

How would you design the click-through rate prediction system for an ads platform?

Written by the mlprep team · Updated

Interviewer Mode
Interviewer

Design the system that predicts the probability a user clicks an ad, for an ads platform serving billions of impressions a day. Walk me through the data, features, model, and how the prediction is used.

Ready to compare your reasoning?
Interviewer

Your new model has better AUC offline, but advertisers' costs jumped and revenue moved unexpectedly after launch. What happened?

Ready to compare your reasoning?
Interviewer

New ads launch every hour and user behavior shifts quickly. How do you keep the model fresh, and how do you handle clicks that arrive late?

Ready to compare your reasoning?

The key takeaway unlocks after you reveal an expert answer.

Follow-up Questions to Test Yourself

Interviewers often pivot here once you cover the core concept.

  • How would you extend this to predict conversions after the click, when conversions are rare and can arrive days later?
  • How would you allocate exploration traffic to new ads without hurting short-term revenue too much?
  • How would you detect and handle click fraud polluting your training labels?

How confident do you feel explaining this?

Track your understanding or flag it to revisit before your next loop.

Related Questions