Design the Telemetry Ingestion Pipeline for Windows Diagnostic Data

Last updated: November 29, 2026

Quick Overview

Design the pipeline that collects diagnostic events from over a billion Windows devices, validates and enriches them, and makes them queryable by product teams within minutes while honoring privacy settings.

Microsoft
System Design
Data Engineer
Microsoft
November 29, 2026
Data Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the pipeline that collects diagnostic events from over a billion Windows devices, validates and enriches them, and makes them queryable by product teams within minutes while honoring privacy settings.

Windows and Office teams depend on device telemetry, and this question tests large-scale ingestion with privacy constraints that matter a lot at Microsoft (diagnostic data levels, regional boundaries, user deletion). The interviewer checks batching on device, backpressure, schema governance and the hot versus cold paths.

What the Interviewer Expects
  • Batches and compresses on the client with upload scheduling that avoids thundering herds
  • Uses a stateless collector tier in front of a partitioned log
  • Enforces schemas and drops events not allowed by the device's consent level
  • Splits into a low-latency hot path and a cheap cold path
  • Supports deleting all data for a device id on request
  • Keeps data in its geographic boundary
Key Topics to Cover
Client batching
Partitioned log
Schema registry
Hot and cold paths
Consent enforcement
Data residency
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you stop a buggy build from emitting 100x events and drowning the pipeline?
  • How do you handle a privacy request to delete one device's data across petabytes?
  • Teams want sampling for some events and full fidelity for others. How?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Events like app crashes, feature usage and update results arrive from 1B+ devices, trillions of events per day, each a few hundred bytes. Products need near-real-time dashboards (under 5 minutes) and ...

High-Level Design
  1. On-device SDK buffers events to disk, tags them with consent level and an event schema version, compresses, and uploads in batches when on network and idle, with jittered schedules.
  2. **Collec...

Submit Your Answer
Markdown supported