Data Engineer · interview questions
Data Engineer interview questions: definition
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
Data Engineering Core 14
- Most asked What is change data capture (CDC), and why is log-based CDC preferred over polling?
- Most asked What does it mean for a data pipeline to be idempotent, and how do you achieve it?
- Most asked What is a star schema, and why is it used in data warehouses?
- Most asked What is the grain of a table, and what is join fan-out?
- Most asked What is dbt, and what problems does it solve?
- What is an Airflow DAG, and what is the logical date (data interval)?
- What is a data contract?
- What is a surrogate key, and why do dimensions use them?
- What is the small files problem, and how do you fix it?
- What is the medallion (bronze, silver, gold) architecture?
- What are watermarks and windows in stream processing?
- What is data lineage, and why does it matter?
- What is reverse ETL?
- What skills does a data engineer need compared with a backend engineer?
SQL & Databases Core 1
PostgreSQL Core 22
- Most asked What does VACUUM do, and how does autovacuum work?
- Most asked What index types does PostgreSQL support, and when do you use each?
- Most asked What isolation levels does PostgreSQL provide, and how do they behave?
- Most asked What is a partial index, and when is it useful?
- Most asked What do shared_buffers, work_mem and effective_cache_size control?
- What is transaction ID wraparound, and how do you prevent it?
- What are expression indexes?
- What are covering indexes and index-only scans in PostgreSQL?
- What are advisory locks in PostgreSQL?
- What are WAL and checkpoints, and why do they matter for performance?
- What is row-level security, and when would you use it?
- What are exclusion constraints? Give an example.
- What are materialized views, and how do you refresh them without blocking reads?
- What is logical decoding, and how is it used for change data capture?
- What is the fastest way to bulk-load data into PostgreSQL?
- What does the RETURNING clause give you?
- What does synchronous replication guarantee in PostgreSQL?
- What is TOAST?
- What are LISTEN and NOTIFY used for?
- What are HOT updates, and how does fillfactor help?
- What are generated columns in PostgreSQL?
- What are deferrable constraints?
Database Concurrency & Scaling Core 2
Messaging & Queues Core 6
Python Developer Recommended 16
- Most asked What is the late-binding closure gotcha in Python?
- Most asked What do EAFP and LBYL mean, and which is more Pythonic?
- What is free-threaded Python (PEP 703) and how does it change the GIL story?
- What are exception groups and `except*` (Python 3.11)?
- What does the Python 3.12 generic syntax (PEP 695) look like, and how do `TypeVar`, `ParamSpec` and `Self` fit in?
- What are metaclasses, and when is `__init_subclass__` a simpler alternative?
- What does a modern Python toolchain look like?
- What is the walrus operator (`:=`) and when is it useful?
- What notable improvements came in Python 3.11 through 3.14?
- What are template strings (t-strings) in Python 3.14?
- What are weak references in Python and when do you use them?
- What are the pitfalls of `multiprocessing`?
- What are common security pitfalls in Python applications?
- What do `send()`, `throw()`, `close()` and `yield from` do with generators?
- What goes into a modern `pyproject.toml`?
- What are subinterpreters in Python 3.14?
MySQL Recommended 18
- Most asked What is a clustered index in InnoDB, and why does primary key choice matter so much?
- Most asked What are the transaction isolation levels, and which does InnoDB use by default?
- Most asked What are gap locks and next-key locks, and why do they surprise developers?
- Most asked What are window functions, and give an example where they help.
- Most asked What is the InnoDB buffer pool, and how do you size it?
- What is a covering index?
- What do SELECT ... FOR UPDATE, FOR SHARE, NOWAIT and SKIP LOCKED do?
- What does EXPLAIN ANALYZE add over EXPLAIN?
- What are CTEs and recursive CTEs?
- What is ONLY_FULL_GROUP_BY and why did queries break when it was enabled?
- What do innodb_flush_log_at_trx_commit and sync_binlog control?
- What is InnoDB Cluster / Group Replication?
- What is strict SQL mode, and why should it be on?
- What are the redo log and the doublewrite buffer for?
- What happened to the MySQL query cache?
- What are the pros and cons of stored procedures and triggers?
- What are invisible indexes and descending indexes in MySQL 8?
- What are optimizer histograms in MySQL 8?
Databases & Transactions Recommended 11
- Most asked What does ACID mean?
- Most asked What is the N+1 query problem and how do you fix it?
- Most asked What is connection pooling and how do you size a pool?
- What is normalization, and when should you denormalize?
- What are partitioning and sharding, and what are their trade-offs?
- What is the transactional outbox pattern?
- What are the pros and cons of using an ORM?
- What are the trade-offs of soft deletes?
- What is MVCC and how does it affect performance?
- What is read-your-writes consistency and how do you provide it?
- What are key database security practices?