This question evaluates a candidate's ability to design a low-latency ads ranking machine learning system, including feature engineering and freshness, training-data construction under position and selection bias, multi-objective modeling and multi-task architectures, and production issues like cold start, delayed conversions, distribution shift, and feature leakage. It is commonly asked in ML System Design interviews for Machine Learning Engineer roles to assess trade-offs between long-term business metrics and user experience, evaluation and guardrails for offline and online experiments, and both conceptual understanding and practical application in engineering and modeling decisions.
You are designing an ads ranking system for a large consumer app (feed/search entry point). For each request, the system receives a user context and a set of eligible ads/candidates and must return a ranked list of ads.