Data Engineer · interview questions
Data Engineer interview questions: how you'd do it
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
Data Engineering Core 7
- Most asked How do you implement incremental extraction, and what can go wrong?
- Most asked How do you deduplicate events, and what does 'exactly-once' really mean?
- Most asked How do you monitor data pipelines beyond job success?
- How do you run a safe backfill of two years of data?
- How do you make sure readers never see a half-loaded table?
- How would you reduce a data platform's warehouse bill?
- How do you handle late-arriving and out-of-order events in a streaming pipeline?
PostgreSQL Core 9
- Most asked How do you read EXPLAIN ANALYZE output in PostgreSQL?
- Most asked How do you build a job queue on PostgreSQL with SELECT ... FOR UPDATE SKIP LOCKED?
- Most asked How do you prevent lost updates in PostgreSQL under READ COMMITTED?
- How do you find the queries that cost the most in PostgreSQL?
- How do you make LIKE '%term%' searches fast in PostgreSQL?
- How should you store money in PostgreSQL?
- How do you detect and fix table and index bloat?
- How do you implement efficient pagination in PostgreSQL?
- How do you upgrade PostgreSQL to a new major version?
Database Concurrency & Scaling Core 12
- Most asked How do you choose a shard key for a multi-tenant SaaS?
- Most asked How do you rename a column with zero downtime?
- Most asked How do you prevent overselling in a flash sale with 50,000 buyers in the first minute?
- How would you prevent double-booking a meeting room?
- How do you build a reliable job queue on Postgres?
- How do you retry a transaction safely after a serialization failure or deadlock?
- How do you choose the column order of a composite index?
- How would you make webhook processing exactly-once from the database's point of view?
- How do you delete 90 days of old events every night without hurting production?
- How do you generate unique IDs across database shards?
- How do you safely backfill 50 million rows?
- How do you design user-facing features on top of eventually consistent data like search indexes?
Messaging & Queues Core 9
- Most asked How do you make message consumers idempotent?
- How do you guarantee message ordering?
- How do you design background job processing for a web application?
- How do you evolve message schemas safely?
- What should you monitor in a messaging system?
- How do you test asynchronous, message-driven code?
- How do you implement priority processing?
- How do you increase throughput of message processing?
- How do you secure message brokers?
Python Developer Recommended 4
MySQL Recommended 12
- Most asked How do you read EXPLAIN output in MySQL?
- Most asked What causes deadlocks in MySQL, and how do you handle them?
- Most asked How do you deal with replication lag when reading from replicas?
- Most asked How should you store money in MySQL?
- Most asked How do you find the slowest queries in a MySQL server?
- Most asked How do you delete or update millions of rows safely in production?
- How would you shard a MySQL database, and what problems does sharding create?
- How do you store and index JSON in MySQL?
- How do you manage users and privileges securely in MySQL?
- How do you route reads to replicas and writes to the primary?
- How would you plan an upgrade to a newer MySQL major version?
- How do you choose integer column sizes, and does INT(11) mean anything?
pandas Recommended 1
Databases & Transactions Recommended 6
- Most asked How do you choose between SQL and NoSQL databases?
- Most asked How do you run schema migrations without downtime?
- What causes deadlocks and how do you handle them?
- How do you read a query plan and optimize a slow query?
- How should you back up and restore databases?
- How should you test database code?