A meal-kit subscription company has two raw inputs: a Postgres orders database where rows accumulate
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 meal-kit subscription company has two raw inputs: a Postgres orders database where rows accumulate all day until a job processes the chunk, and a Kafka topic of mobile-app clickstream events where each event flows through as it arrives. Apply the two-rhythms framing this section just taught and name each source's rhythm by setting its slaFreshness label. The Postgres source travels in scheduled chunks (a daily-tier batch label like < 24h), and the Kafka source travels continuously (a real-time-tier label like real-time or < 1min). The two sources must end up with distinct labels so the diagram does not collapse the two rhythms onto one cadence.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your pipeline design solution with real code execution
- Get instant feedback and a hire/no-hire decision