Loading interview...
CDN Traffic by Day and Hour
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
- mid
Interview Prompt
The infra team needs to plan CDN capacity by time of day. Calculate average net bytes per request (gross bytes minus 5% overhead) broken down by day of the week (as text, e.g. 'Monday') and hour. Round to 2 decimal places. Return the weekday name, hour, and average net bytes.
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