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

Choose EMR vs Kinesis Pipeline

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

Your question is Choose EMR vs Kinesis Pipeline. 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

ShopPulse, a retail analytics company on AWS, currently runs nightly Spark jobs on Amazon EMR to process order, inventory, and clickstream data into S3 and Redshift. Product and operations teams now need sub-minute visibility into checkout failures and inventory changes, so the company must decide when to keep Spark/EMR for batch ETL and when to introduce Kinesis Data Streams and Firehose for streaming ingestion.

You are asked to design a target-state architecture and explain the trade-offs between Spark on EMR and Kinesis/Firehose, including where each fits in the pipeline.

Scale Requirements

  • Batch data: 12 TB/day from transactional databases and application logs
  • Streaming data: 180K events/sec peak, 40K avg, ~1.5 KB/event JSON
  • Latency targets: batch SLA < 2 hours; streaming dashboards < 60 seconds
  • Retention: raw data in S3 for 180 days; curated warehouse data for 2 years
  • Availability: 99.9% for ingestion path

Requirements

  1. Design a pipeline that supports both nightly batch ETL and near-real-time event delivery.
  2. Clearly identify which workloads should use Spark on EMR versus Kinesis Data Streams / Firehose and why.
  3. Include transformations such as schema validation, deduplication, partitioning, and aggregation.
  4. Land raw and curated data in AWS storage layers that support replay and downstream analytics.
  5. Describe orchestration, monitoring, and recovery for failed jobs, late data, and malformed records.
  6. Show how analysts can query the output in Redshift or Athena with minimal operational overhead.

Constraints

  • AWS-native stack preferred; no Kafka unless strongly justified
  • Team has strong Spark skills but limited streaming operations experience
  • Incremental budget cap: $30K/month
  • PII in customer events must be encrypted at rest and in transit
  • Solution should minimize custom consumer management where possible