
Real Interview Questions for the Data Engineer at Spotify
NewConcepts
The 25 concepts to know for Data Engineer interviews, in the order to study them. Each opens its guide, interview Q&A and practice MCQs.
1. SQL Fundamentals
SELECT, WHERE, and JOIN: retrieving and combining rows from relational tables.
2. Aggregations & GROUP BY
Collapsing many rows into one summary row per group (counts, sums, and averages) plus the HAVING clause that filters groups.
3. Window Functions
Per-row calculations across a related set of rows (running totals, rankings, and row-over-row comparisons) without collapsing rows like GROUP BY does.
4. Schema Design & Normalization
Structuring tables to avoid redundant, inconsistent data, and knowing when to deliberately break the rules for performance.
5. Indexing & Query Performance
Why some queries are instant and others scan the whole table, and how an index (usually a B-tree) changes that.
6. Transactions & Isolation Levels
ACID guarantees, and the isolation-level trade-off between correctness and concurrent throughput.
7. NoSQL, Graph & Key-Value Data Stores
When a relational database isn't the right fit: document, key-value, graph, and vector stores, and how to choose between them.
8. Core Data Structures
Lists, tuples, dicts, and sets: their underlying implementations and when each is the right choice.
9. Comprehensions & Generators
Concise, often faster ways to build sequences, and the lazy-evaluation alternative that avoids materializing them at all.
10. OOP & Data Classes
Classes, inheritance, and the @dataclass shortcut for the common case of a class that's mostly just data.
11. Decorators & Context Managers
Wrapping a function's behavior without changing its code, and guaranteeing setup/teardown runs even when something fails.
12. Concurrency (GIL, Threading, Asyncio)
Why Python threads don't parallelize CPU work, and the two real ways around it: multiprocessing and asyncio.
13. ETL vs. ELT
Transform-before-load versus load-then-transform, and why modern warehouses shifted the order.
14. Batch vs. Streaming Processing
Processing data in scheduled chunks versus continuously as it arrives, and the latency/complexity tradeoff.
15. Data Warehousing & Modeling
Star and snowflake schemas, and the fact/dimension split that makes analytical queries fast.
16. Data Pipeline Orchestration
Scheduling and sequencing interdependent pipeline steps as a DAG, with retries and backfills.
17. Data Quality & Validation
Catching bad data before it reaches downstream consumers: schema checks, freshness, and anomaly detection.
18. Distributed Data Processing
How frameworks like Spark parallelize work across a cluster: partitioning, shuffling, and their costs.
19. Scalability Fundamentals
Production scalability fundamentals for technical interviews: bottlenecks, scaling, load balancing, autoscaling, capacity, overload control, and failure behavior.
20. Caching Strategies
Production caching for technical interviews: placement, read/write patterns, freshness, stampedes, HTTP caching, observability, failure recovery, and decision tradeoffs.
21. Database Scaling (Sharding & Replication)
Splitting data across machines (sharding) and copying it across machines (replication): solving two different scaling problems.
22. Message Queues & Async Processing
Decoupling a slow or unreliable step from the request path by handing it to a queue and processing it separately.
23. CAP Theorem & Consistency Models
Why a distributed system can't have perfect consistency, availability, and partition tolerance all at once, and what real systems trade off.
24. API Design & REST Fundamentals
Designing HTTP APIs that are predictable to call and safe to retry: resource modeling, status codes, versioning, and idempotency.
25. API Authentication & Authorization
Verifying who's calling an API (authentication) and what they're allowed to do (authorization): API keys, OAuth, and JWTs.
Curated: · Written: · Reviewed: