DataDriven
LearnPracticeInterviewDiscussDailyJobs

A pull-ingestion job extracts from a Postgres orders table with 200M rows that grows by 1M per day

A medium Pipeline Design mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
Pipeline Design
Difficulty
medium

Interview Prompt

A pull-ingestion job extracts from a Postgres orders table with 200M rows that grows by 1M per day. The full-table nightly scan takes four hours and is starting to fight 6am application traffic. The section's pattern is incremental pull with a high-water mark: WHERE updated_at >= last_watermark AND updated_at < this_run_started_at, ORDER BY updated_at, advance only after a successful write. Pick the high-water-mark column by replacing the full-load transform with one whose name states the bookmark column with inclusive lower bound, exclusive upper bound fixed at run launch, and ORDER BY, plus a bookmark-state node that persists the watermark between runs.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your pipeline design solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • System Design Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge