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 Safe Historical Pipeline Backfill

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

Your question is Design Safe Historical Pipeline Backfill. 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

FinSight, a fintech analytics company, runs daily ETL pipelines on AWS using Apache Airflow, Spark, S3, and Snowflake to build transaction, balance, and customer reporting tables. A bug in a transformation job caused 45 days of downstream aggregates to be incorrect, and the team needs a repeatable backfill process that can recompute historical data without corrupting current production tables.

Your task is to design a backfilling strategy and supporting pipeline architecture. Explain what backfilling means in this context and how you would safely reprocess historical data for a defined date range while preserving data quality, lineage, and operational stability.

Scale Requirements

  • Input volume: 2.5 TB/day of raw Parquet files in S3
  • Historical range: Up to 180 days of backfill per request
  • Daily records: ~900 million transaction events/day
  • Latency target: Backfill results available within 8 hours for a 45-day reprocessing job
  • Freshness requirement: Daily production pipeline must continue with <30 minute delay
  • Retention: Raw data stored for 2 years; curated warehouse tables retained indefinitely

Requirements

  1. Define a backfill mechanism for reprocessing a bounded historical date range.
  2. Ensure reruns are idempotent and do not create duplicate records in Snowflake.
  3. Separate backfill workloads from scheduled daily production runs.
  4. Support partition-level reprocessing by business_date.
  5. Include validation checks comparing backfilled outputs to source counts and prior snapshots.
  6. Provide rollback and recovery steps if a backfill introduces bad data.
  7. Describe orchestration, monitoring, and failure handling for long-running backfill jobs.

Constraints

  • Existing stack must remain AWS + Snowflake.
  • Team size is 3 data engineers; solution should avoid excessive operational complexity.
  • Budget allows temporary compute scaling during backfills, but no permanent 24/7 clusters.
  • Financial reporting tables require auditability and reproducible reruns.
  • Backfills must not overwrite unaffected partitions or block analyst access to current tables.