Data Engineer · interview questions

Data Engineer interview questions: why

From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.

Data Engineering Core 1

  1. Why are columnar formats like Parquet preferred for analytics?

SQL & Databases Core 1

  1. Why are indexes important in a database?

PostgreSQL Core 3

  1. Most asked Why are long-running and 'idle in transaction' sessions harmful in PostgreSQL?
  2. Why is count(*) slow on large PostgreSQL tables, and what can you do?
  3. Why can an operating-system upgrade corrupt PostgreSQL indexes, and how do you avoid it?

Database Concurrency & Scaling Core 4

  1. Most asked Why shouldn't you call a payment API inside a database transaction?
  2. Why do 'get or create' operations deadlock on MySQL under load?
  3. Why does changing `id % 8` to `id % 12` make resharding painful, and what's the alternative?
  4. Why might you avoid running reports on the primary database?

Messaging & Queues Core 1

  1. Most asked Why use message queues, and what problems do they solve?

MySQL Recommended 3

  1. Most asked Why might MySQL not use an index you created?
  2. Most asked Why is OFFSET pagination slow on large tables, and what is keyset pagination?
  3. Why is SELECT COUNT(*) slow on a big InnoDB table?

Databases & Transactions Recommended 2

  1. Why should data integrity be enforced in the database, not only in application code?
  2. Why shouldn't analytics queries run on the production OLTP database?

Was this page helpful?

Report a mistake