This question evaluates system design competencies in building scalable, reliable distributed services—covering high-throughput event ingestion and aggregation, real-time analytics, idempotency and out-of-order handling for ad click processing, and cloud file storage, synchronization, versioning and secure sharing for a Dropbox-like service, and it falls under the System Design domain. It is commonly asked to assess architectural thinking about APIs, data models, major components, scaling strategies and operational trade-offs, and focuses primarily on conceptual architectural understanding with practical application constraints like latency, consistency, throughput, storage efficiency and security.
You have two system design prompts.
Design a service that ingests ad click events at very high QPS and supports aggregated analytics.
ad_id
/
campaign_id
/
advertiser_id
Design a cloud file sync product where users can upload files, keep folders in sync across devices, and share files.
For both prompts, explain APIs, data model, major components, scaling strategy, and key trade-offs.