Loading...
API Traffic by CDN Edge
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid
Problem
The CDN team is analyzing API traffic efficiency across edge locations. For request paths that include 'api', compute the average bytes served at each edge location and path combination. Only include edge locations that have delivered at least one cache hit across any path. Return the edge location, request path, and average bytes, from lowest average to highest.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.