Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Design Real-Time Event Processing Platform

HardPipelines00:00
Practice interviewer
In session
5 left
00:00

Your question is Design Real-Time Event Processing Platform. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Context

PulsePay, a global payments platform, currently processes transaction and fraud telemetry with hourly batch ETL into Snowflake. This architecture is too slow for fraud detection, operational dashboards, and partner-facing settlement visibility, so the data team needs a real-time pipeline with strong failure recovery and observability.

Data arrives from payment APIs, mobile apps, and internal services as JSON events. The new system must support low-latency enrichment and delivery to analytical and operational consumers without sacrificing correctness.

Scale Requirements

  • Ingress throughput: 250K events/sec peak, 80K avg
  • Event size: 1-4 KB JSON
  • Daily volume: ~12 TB raw compressed
  • Latency target: P95 end-to-end < 60 seconds, P99 < 3 minutes
  • Retention: Kafka 7 days, raw lake 180 days, curated warehouse 3 years
  • Availability: 99.95% for ingestion and processing

Requirements

  1. Design a streaming pipeline that ingests events from APIs and service logs with horizontal scalability.
  2. Validate schemas, deduplicate by event_id, and quarantine malformed or poison messages.
  3. Enrich events with merchant, user, and geo reference data before writing curated outputs.
  4. Deliver data to both a low-cost raw data lake and Snowflake for analytics.
  5. Support replay, backfill, and idempotent reprocessing from durable storage.
  6. Define monitoring for lag, latency, data quality, throughput, and cost.
  7. Explain failure handling for broker outages, processor crashes, schema changes, and downstream warehouse failures.
  8. Describe orchestration for deployments, schema migrations, and periodic reconciliation jobs.

Constraints

  • AWS is mandatory; existing footprint includes S3, EKS, and Snowflake.
  • Incremental platform budget is capped at $40K/month.
  • PCI-sensitive fields must be tokenized before landing in analytics stores.
  • Team size is small: 5 data engineers, 1 platform engineer.
  • The design should prefer managed services where operational burden is materially reduced.