Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Healthcare Data Ingestion Pipeline

Design a secure, replayable pipeline that turns millions of healthcare records into trustworthy curated datasets.

Problem statement

For this exercise, assume healthcare producers send versioned streaming records and encrypted bulk files.

The platform must durably accept millions of records, validate and transform them into curated datasets, protect sensitive data, and make every failed, late, duplicate, or unprocessed record observable and recoverable.

What to build

  1. Accept authenticated streaming events and bulk objects with durable acknowledgement and idempotent record identity.
  2. Validate versioned schemas and produce traceable, query-ready curated records.
  3. Expose, quarantine, replay, and reconcile failed, duplicate, late, or unprocessed records.
  4. Encrypt sensitive payloads and enforce least-privilege, audited access across raw and curated zones.

At scale

  • Ingest up to 5,000,000 records per hour across streaming and bulk producers.
  • Make streaming records available to curated consumers within five minutes and bulk batches within one hour.
  • Retain immutable encrypted raw records for seven years while allowing curated retention to vary by dataset.
  • Support at-least-once delivery with deterministic deduplication and no silent record loss.