Duplicated User Event Messages
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Interview Prompt
We're building a load-testing replay tool that pushes twice the normal volume from the 'user-events' topic in stream_msgs. Emit each qualifying row twice as identical copies showing the message ID, topic, partition key, payload, produced timestamp, and consumer.
Summary
Duplicated messages from the alerts topic.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision