PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Warner Bros Discovery

Design an ad content delivery system with A/B testing

Last updated: Mar 29, 2026

Quick Overview

This question evaluates system-design and distributed-systems competency, specifically real-time ad serving, targeting and campaign data modeling, high-throughput event logging, and A/B testing/experimentation infrastructure including experiment assignment and metric computation.

  • medium
  • Warner Bros Discovery
  • System Design
  • Software Engineer

Design an ad content delivery system with A/B testing

Company: Warner Bros Discovery

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

Design an **ad content delivery (ad serving) system** that selects and serves ads to users, and supports **A/B testing / experimentation**. ## Core scenario A client (web/mobile app) requests an ad for a placement (e.g., homepage banner). The system must choose an eligible ad and return creative metadata quickly. ## Requirements ### Functional - Create/manage campaigns and creatives (basic campaign metadata is enough). - Targeting (at least: country/device/app placement; optionally user segments). - Select an ad to serve for each request. - Impression and click tracking. - Basic delivery controls (at least one): pacing/budget, frequency capping, deduplication. - **A/B testing**: run experiments that change selection/ranking logic or creatives; assign users deterministically to variants; log outcomes. ### Non-functional - Very low latency for ad requests (typically tens of milliseconds). - High throughput (can assume millions of requests/day+). - High availability. - Accurate enough reporting (define what must be real-time vs eventually consistent). ## Deliverables - High-level architecture and key services. - Data model/storage choices for campaigns, targeting, and events. - Serving path (request → decision → response) including caching. - Event logging pipeline and metrics. - A/B test design: assignment, exposure logging, metric computation, and guardrails. - Key trade-offs and failure modes.

Quick Answer: This question evaluates system-design and distributed-systems competency, specifically real-time ad serving, targeting and campaign data modeling, high-throughput event logging, and A/B testing/experimentation infrastructure including experiment assignment and metric computation.

Warner Bros Discovery logo
Warner Bros Discovery
Nov 15, 2025, 12:00 AM
Software Engineer
Technical Screen
System Design
5
0

Design an ad content delivery (ad serving) system that selects and serves ads to users, and supports A/B testing / experimentation.

Core scenario

A client (web/mobile app) requests an ad for a placement (e.g., homepage banner). The system must choose an eligible ad and return creative metadata quickly.

Requirements

Functional

  • Create/manage campaigns and creatives (basic campaign metadata is enough).
  • Targeting (at least: country/device/app placement; optionally user segments).
  • Select an ad to serve for each request.
  • Impression and click tracking.
  • Basic delivery controls (at least one): pacing/budget, frequency capping, deduplication.
  • A/B testing : run experiments that change selection/ranking logic or creatives; assign users deterministically to variants; log outcomes.

Non-functional

  • Very low latency for ad requests (typically tens of milliseconds).
  • High throughput (can assume millions of requests/day+).
  • High availability.
  • Accurate enough reporting (define what must be real-time vs eventually consistent).

Deliverables

  • High-level architecture and key services.
  • Data model/storage choices for campaigns, targeting, and events.
  • Serving path (request → decision → response) including caching.
  • Event logging pipeline and metrics.
  • A/B test design: assignment, exposure logging, metric computation, and guardrails.
  • Key trade-offs and failure modes.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Warner Bros Discovery•More Software Engineer•Warner Bros Discovery Software Engineer•Warner Bros Discovery System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.