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

  1. Most asked What is change data capture (CDC), and why is log-based CDC preferred over polling?
  2. Most asked What does it mean for a data pipeline to be idempotent, and how do you achieve it?
  3. Most asked What is a star schema, and why is it used in data warehouses?
  4. Most asked What is the grain of a table, and what is join fan-out?
  5. Most asked What is dbt, and what problems does it solve?
  6. What is an Airflow DAG, and what is the logical date (data interval)?
  7. What is a data contract?
  8. What is a surrogate key, and why do dimensions use them?
  9. What is the small files problem, and how do you fix it?
  10. What is the medallion (bronze, silver, gold) architecture?
  11. What are watermarks and windows in stream processing?
  12. What is data lineage, and why does it matter?
  13. What is reverse ETL?
  14. What skills does a data engineer need compared with a backend engineer?

SQL & Databases Core 1

  1. What are the different types of JOINs in SQL?

PostgreSQL Core 22

  1. Most asked What does VACUUM do, and how does autovacuum work?
  2. Most asked What index types does PostgreSQL support, and when do you use each?
  3. Most asked What isolation levels does PostgreSQL provide, and how do they behave?
  4. Most asked What is a partial index, and when is it useful?
  5. Most asked What do shared_buffers, work_mem and effective_cache_size control?
  6. What is transaction ID wraparound, and how do you prevent it?
  7. What are expression indexes?
  8. What are covering indexes and index-only scans in PostgreSQL?
  9. What are advisory locks in PostgreSQL?
  10. What are WAL and checkpoints, and why do they matter for performance?
  11. What is row-level security, and when would you use it?
  12. What are exclusion constraints? Give an example.
  13. What are materialized views, and how do you refresh them without blocking reads?
  14. What is logical decoding, and how is it used for change data capture?
  15. What is the fastest way to bulk-load data into PostgreSQL?
  16. What does the RETURNING clause give you?
  17. What does synchronous replication guarantee in PostgreSQL?
  18. What is TOAST?
  19. What are LISTEN and NOTIFY used for?
  20. What are HOT updates, and how does fillfactor help?
  21. What are generated columns in PostgreSQL?
  22. What are deferrable constraints?

Database Concurrency & Scaling Core 2

  1. What risks come with automatic cross-region database failover?
  2. What does `idle in transaction` in pg_stat_activity tell you, and why is it dangerous?

Messaging & Queues Core 6

  1. Most asked What is the dual-write problem and how do you avoid it?
  2. What is backpressure and how do message systems handle it?
  3. What are event sourcing and CQRS?
  4. What is change data capture (CDC) and how is it used?
  5. What is the inbox pattern?
  6. What is stream processing and when do you need it?

Python Developer Recommended 16

  1. Most asked What is the late-binding closure gotcha in Python?
  2. Most asked What do EAFP and LBYL mean, and which is more Pythonic?
  3. What is free-threaded Python (PEP 703) and how does it change the GIL story?
  4. What are exception groups and `except*` (Python 3.11)?
  5. What does the Python 3.12 generic syntax (PEP 695) look like, and how do `TypeVar`, `ParamSpec` and `Self` fit in?
  6. What are metaclasses, and when is `__init_subclass__` a simpler alternative?
  7. What does a modern Python toolchain look like?
  8. What is the walrus operator (`:=`) and when is it useful?
  9. What notable improvements came in Python 3.11 through 3.14?
  10. What are template strings (t-strings) in Python 3.14?
  11. What are weak references in Python and when do you use them?
  12. What are the pitfalls of `multiprocessing`?
  13. What are common security pitfalls in Python applications?
  14. What do `send()`, `throw()`, `close()` and `yield from` do with generators?
  15. What goes into a modern `pyproject.toml`?
  16. What are subinterpreters in Python 3.14?

MySQL Recommended 18

  1. Most asked What is a clustered index in InnoDB, and why does primary key choice matter so much?
  2. Most asked What are the transaction isolation levels, and which does InnoDB use by default?
  3. Most asked What are gap locks and next-key locks, and why do they surprise developers?
  4. Most asked What are window functions, and give an example where they help.
  5. Most asked What is the InnoDB buffer pool, and how do you size it?
  6. What is a covering index?
  7. What do SELECT ... FOR UPDATE, FOR SHARE, NOWAIT and SKIP LOCKED do?
  8. What does EXPLAIN ANALYZE add over EXPLAIN?
  9. What are CTEs and recursive CTEs?
  10. What is ONLY_FULL_GROUP_BY and why did queries break when it was enabled?
  11. What do innodb_flush_log_at_trx_commit and sync_binlog control?
  12. What is InnoDB Cluster / Group Replication?
  13. What is strict SQL mode, and why should it be on?
  14. What are the redo log and the doublewrite buffer for?
  15. What happened to the MySQL query cache?
  16. What are the pros and cons of stored procedures and triggers?
  17. What are invisible indexes and descending indexes in MySQL 8?
  18. What are optimizer histograms in MySQL 8?

Databases & Transactions Recommended 11

  1. Most asked What does ACID mean?
  2. Most asked What is the N+1 query problem and how do you fix it?
  3. Most asked What is connection pooling and how do you size a pool?
  4. What is normalization, and when should you denormalize?
  5. What are partitioning and sharding, and what are their trade-offs?
  6. What is the transactional outbox pattern?
  7. What are the pros and cons of using an ORM?
  8. What are the trade-offs of soft deletes?
  9. What is MVCC and how does it affect performance?
  10. What is read-your-writes consistency and how do you provide it?
  11. What are key database security practices?

Was this page helpful?

Report a mistake