Running Node Pairs
An easy SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
A data-center team planning failover coverage wants to know which hosts are up together in the same region. Return every unique pair of hostnames that both have a running node in the same region, listing the alphabetically-earlier hostname first.
Summary
Two servers, same region, both alive.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your SQL against a real database
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision