This question evaluates knowledge of designing a low-latency search-plus-ads ranking pipeline and related competencies in retrieval, filtering, multi-stage ranking, ad auction mechanics, pacing/budget constraints, result mixing, experimentation, and monitoring.
Design a high-level search + ads ranking system for an app where a user issues a query and the product shows a mix of organic search results and sponsored ads.