Data Engineer · interview questions

Data Engineer interview questions

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

Data Engineering Core 47

  1. Most asked What is the difference between ETL and ELT, and when would you choose each?
  2. Most asked Batch or streaming: how do you decide?
  3. Most asked How do you implement incremental extraction, and what can go wrong?
  4. Most asked What is change data capture (CDC), and why is log-based CDC preferred over polling?
  5. Most asked What does it mean for a data pipeline to be idempotent, and how do you achieve it?
  6. Most asked How do you deduplicate events, and what does 'exactly-once' really mean?
  7. Most asked What is a star schema, and why is it used in data warehouses?
  8. Most asked What is the grain of a table, and what is join fan-out?
  9. Most asked Explain slowly changing dimensions, especially Type 1 and Type 2.
  10. Most asked What is dbt, and what problems does it solve?
  11. Most asked Why use an orchestrator like Airflow or Dagster instead of cron?
  12. Most asked Which data quality checks would you put on a critical pipeline?
  13. Most asked How do you monitor data pipelines beyond job success?
  14. Most asked Scenario: warehouse revenue is 4% higher than the payment provider's settlements. How do you investigate?
  15. Most asked Design a daily pipeline that loads orders from an operational database into a warehouse for analytics.
  16. Most asked How do you handle late-arriving data in a daily batch pipeline?
  17. Most asked Data warehouse, data lake or lakehouse: what is the difference?
  18. Most asked How do you handle personal data (PII) in a data warehouse?
  19. Most asked Scenario: a nightly job ran successfully but the dashboard shows zero sales for yesterday. What happened and how do you prevent it?
  20. Most asked Scenario: two dashboards show different numbers for the same metric. What do you do?
  21. How do you run a safe backfill of two years of data?
  22. What is the difference between append, overwrite and merge (upsert) load strategies?
  23. How do partitioning and clustering improve warehouse performance and cost?
  24. How does a dbt incremental model work, and what are its pitfalls?
  25. What is an Airflow DAG, and what is the logical date (data interval)?
  26. What is a data contract?
  27. How do you handle schema changes from source systems?
  28. How do you make sure readers never see a half-loaded table?
  29. Why are columnar formats like Parquet preferred for analytics?
  30. How would you reduce a data platform's warehouse bill?
  31. Write SQL to keep only the latest version of each record in a table of change rows.
  32. How do you test a data pipeline before deploying changes?
  33. Scenario: you must move a nightly full-copy pipeline to 5-minute freshness. How do you approach it?
  34. Yesterday's dashboard numbers are double what they should be. How do you investigate?
  35. How do you handle late-arriving and out-of-order events in a streaming pipeline?
  36. Write SQL that calculates a 7-day rolling average of daily revenue, including days with no orders.
  37. What is a surrogate key, and why do dimensions use them?
  38. What is the small files problem, and how do you fix it?
  39. What is the difference between a view, a table and a materialised view in a warehouse?
  40. What is the medallion (bronze, silver, gold) architecture?
  41. How do Kafka and stream processors fit into data pipelines?
  42. What are watermarks and windows in stream processing?
  43. What is data lineage, and why does it matter?
  44. Scenario: a dashboard query is slow and expensive. How do you optimise it?
  45. Scenario: a customer asks to be deleted. How does your data platform comply?
  46. What is reverse ETL?
  47. What skills does a data engineer need compared with a backend engineer?

SQL & Databases Core 42

  1. Most asked SQL interview: explain INNER JOIN.
  2. Most asked SQL interview: explain LEFT JOIN.
  3. Most asked SQL interview: explain GROUP BY.
  4. Most asked SQL interview: explain HAVING.
  5. Most asked SQL interview: explain window functions.
  6. Most asked SQL interview: explain ACID.
  7. Most asked SQL interview: explain isolation levels.
  8. Most asked Data modeling: normalization 1NF/2NF/3NF?
  9. Most asked Indexing/performance: B-tree index?
  10. Most asked Indexing/performance: EXPLAIN / EXPLAIN ANALYZE?
  11. SQL interview: explain SELECT filtering.
  12. SQL interview: explain NULL semantics.
  13. SQL interview: explain transactions.
  14. Data modeling: primary key?
  15. Data modeling: foreign key?
  16. Data modeling: many-to-many?
  17. Indexing/performance: composite index?
  18. Indexing/performance: index write overhead?
  19. SQL interview: explain RIGHT / FULL JOIN.
  20. SQL interview: explain ORDER BY / LIMIT.
  21. SQL interview: explain subqueries.
  22. SQL interview: explain CTEs (WITH).
  23. SQL interview: explain UNION vs UNION ALL.
  24. SQL interview: explain EXISTS vs IN.
  25. SQL interview: explain CASE expressions.
  26. SQL interview: explain dirty/nonrepeatable/phantom reads.
  27. Data modeling: denormalization?
  28. Data modeling: surrogate vs natural keys?
  29. Data modeling: OLTP vs OLAP?
  30. Data modeling: constraints?
  31. Indexing/performance: covering index?
  32. Indexing/performance: sequential vs index scan?
  33. Indexing/performance: cardinality?
  34. Indexing/performance: vacuum / analyze (Postgres)?
  35. SQL interview: explain CROSS JOIN.
  36. SQL interview: explain DISTINCT.
  37. Data modeling: star schema?
  38. Data modeling: 1:1 relationships?
  39. Indexing/performance: hash index?
  40. Indexing/performance: partial index?
  41. What are the different types of JOINs in SQL?
  42. Why are indexes important in a database?

PostgreSQL Core 58

  1. Most asked How does MVCC work in PostgreSQL?
  2. Most asked What does VACUUM do, and how does autovacuum work?
  3. Most asked What index types does PostgreSQL support, and when do you use each?
  4. Most asked How do you read EXPLAIN ANALYZE output in PostgreSQL?
  5. Most asked What isolation levels does PostgreSQL provide, and how do they behave?
  6. Most asked Which schema changes take heavy locks in PostgreSQL, and how do you avoid outages during migrations?
  7. Most asked JSON or JSONB in PostgreSQL, and how do you index JSONB?
  8. Most asked Why do PostgreSQL deployments need connection pooling, and how do PgBouncer's modes differ?
  9. Most asked What is a partial index, and when is it useful?
  10. Most asked How do you build a job queue on PostgreSQL with SELECT ... FOR UPDATE SKIP LOCKED?
  11. Most asked How does CREATE INDEX CONCURRENTLY work, and what are its caveats?
  12. Most asked How does INSERT ... ON CONFLICT work in PostgreSQL?
  13. Most asked How does declarative partitioning work in PostgreSQL, and when should you use it?
  14. Most asked Streaming (physical) replication or logical replication: what is the difference?
  15. Most asked How do backups and point-in-time recovery work in PostgreSQL?
  16. Most asked What do shared_buffers, work_mem and effective_cache_size control?
  17. Most asked text or varchar(n)? timestamp or timestamptz?
  18. Most asked Why are long-running and 'idle in transaction' sessions harmful in PostgreSQL?
  19. Most asked How do you prevent lost updates in PostgreSQL under READ COMMITTED?
  20. Most asked Which PostgreSQL extensions do you find most useful?
  21. How should an application handle serialization failures and deadlocks in PostgreSQL?
  22. Give a practical example of window functions in PostgreSQL.
  23. How do you find the queries that cost the most in PostgreSQL?
  24. What is transaction ID wraparound, and how do you prevent it?
  25. What are expression indexes?
  26. What are covering indexes and index-only scans in PostgreSQL?
  27. Sequential scan, index scan, or bitmap scan: how does the planner choose?
  28. Explain nested loop, hash and merge joins.
  29. How do planner statistics work, and what are extended statistics?
  30. What are advisory locks in PostgreSQL?
  31. Are CTEs optimisation fences in PostgreSQL?
  32. How do you generate UUID keys in PostgreSQL, and which version should you use?
  33. What are WAL and checkpoints, and why do they matter for performance?
  34. How does full-text search work in PostgreSQL?
  35. How do you make LIKE '%term%' searches fast in PostgreSQL?
  36. What is row-level security, and when would you use it?
  37. How should you store money in PostgreSQL?
  38. What are exclusion constraints? Give an example.
  39. What are materialized views, and how do you refresh them without blocking reads?
  40. How do you detect and fix table and index bloat?
  41. Why is count(*) slow on large PostgreSQL tables, and what can you do?
  42. How do you implement efficient pagination in PostgreSQL?
  43. How do you scale PostgreSQL writes beyond one server?
  44. What is logical decoding, and how is it used for change data capture?
  45. How do you upgrade PostgreSQL to a new major version?
  46. What is the fastest way to bulk-load data into PostgreSQL?
  47. When would you use array columns in PostgreSQL?
  48. What does the RETURNING clause give you?
  49. serial or identity columns? And how do sequences behave?
  50. What does synchronous replication guarantee in PostgreSQL?
  51. How is high availability usually achieved for self-managed PostgreSQL?
  52. How do roles, privileges and schemas work in PostgreSQL, and what is the search_path risk?
  53. What is TOAST?
  54. What are LISTEN and NOTIFY used for?
  55. What are HOT updates, and how does fillfactor help?
  56. Why can an operating-system upgrade corrupt PostgreSQL indexes, and how do you avoid it?
  57. What are generated columns in PostgreSQL?
  58. What are deferrable constraints?

Database Concurrency & Scaling Core 41

  1. Most asked Two customers buy the last item at the same moment and both orders are confirmed. What happened, and how do you prevent it?
  2. Most asked After a deploy, logs show hundreds of 'deadlock detected' errors per hour on checkout. Walk through how you'd investigate.
  3. Most asked Your service throws 'connection pool exhausted' errors but database CPU is only 20%. What's going on?
  4. Most asked Why shouldn't you call a payment API inside a database transaction?
  5. Most asked What's the difference between Read Committed and Repeatable Read in practice?
  6. Most asked Database CPU is at 85%. How do you decide what to optimise before buying a bigger server?
  7. Most asked A user saves their profile and the next page shows the old data. Reads go to replicas. How do you fix it?
  8. Most asked How do you choose a shard key for a multi-tenant SaaS?
  9. Most asked How do you rename a column with zero downtime?
  10. Most asked An order is saved but the 'OrderPlaced' event sometimes never reaches Kafka. How do you fix it?
  11. Most asked How do you prevent overselling in a flash sale with 50,000 buyers in the first minute?
  12. Most asked A Spring @Transactional method threw an exception but the data was still saved. What are the likely causes?
  13. Scale a read-heavy product catalog 100× — where do you start?
  14. Explain write skew with a real example and how to prevent it.
  15. How would you prevent double-booking a meeting room?
  16. When would you choose optimistic locking over SELECT … FOR UPDATE?
  17. How do you build a reliable job queue on Postgres?
  18. A customer has two active subscriptions created 40 ms apart. How do you make that impossible?
  19. A 20 ms ALTER TABLE caused a multi-minute outage. Explain and prevent it.
  20. A viral post's like counter makes requests slow. How do you handle hot rows?
  21. How do you retry a transaction safely after a serialization failure or deadlock?
  22. How do you choose the column order of a composite index?
  23. An API's deep pages are slow and a sync job sees duplicate and missing rows. What would you change?
  24. What risks come with automatic cross-region database failover?
  25. How would you make webhook processing exactly-once from the database's point of view?
  26. A scheduled job runs on every app instance and double-bills customers. How do you fix it?
  27. Why do 'get or create' operations deadlock on MySQL under load?
  28. You have 14 services autoscaling against one Postgres and hit 'too many clients'. What's the long-term fix?
  29. A dashboard aggregates years of data on every view. How would you speed it up?
  30. How do you delete 90 days of old events every night without hurting production?
  31. Why does changing `id % 8` to `id % 12` make resharding painful, and what's the alternative?
  32. How do you generate unique IDs across database shards?
  33. How do you safely backfill 50 million rows?
  34. How do you design user-facing features on top of eventually consistent data like search indexes?
  35. What is the difference between partitioning and sharding?
  36. When should you NOT use SKIP LOCKED?
  37. Why might you avoid running reports on the primary database?
  38. What does `idle in transaction` in pg_stat_activity tell you, and why is it dangerous?
  39. What's the difference between a deadlock and a lock wait timeout?
  40. How does Postgres SERIALIZABLE differ from MySQL SERIALIZABLE?
  41. Your read replicas lag 40 seconds during a nightly import. What do you do?

Messaging & Queues Core 29

  1. Most asked Why use message queues, and what problems do they solve?
  2. Most asked Explain at-most-once, at-least-once and exactly-once delivery.
  3. Most asked How do you make message consumers idempotent?
  4. Most asked Compare Kafka and RabbitMQ (and managed queues like SQS).
  5. Most asked How should retries and dead-letter queues work?
  6. Most asked What is the dual-write problem and how do you avoid it?
  7. How do you guarantee message ordering?
  8. What is backpressure and how do message systems handle it?
  9. What is the difference between a work queue and publish/subscribe?
  10. How do you design background job processing for a web application?
  11. What are event sourcing and CQRS?
  12. How do you evolve message schemas safely?
  13. How do Kafka partitions and consumer groups work?
  14. Choreography vs orchestration for multi-service workflows?
  15. How do you schedule delayed or future work with queues?
  16. What should you monitor in a messaging system?
  17. How would you design a notification system using queues?
  18. When is Redis (lists or streams) good enough as a queue?
  19. How does Kafka achieve exactly-once semantics?
  20. How do you handle large payloads in messages?
  21. How do you test asynchronous, message-driven code?
  22. How do you implement priority processing?
  23. What is change data capture (CDC) and how is it used?
  24. When would you use a workflow engine like Temporal instead of plain queues?
  25. How do you increase throughput of message processing?
  26. When should a request be handled synchronously versus asynchronously?
  27. How do you secure message brokers?
  28. What is the inbox pattern?
  29. What is stream processing and when do you need it?

Python Developer Recommended 104

  1. Most asked Explain mutable vs immutable in Python.
  2. Most asked Explain is vs == in Python.
  3. Most asked Explain generators in Python.
  4. Most asked Explain decorators in Python.
  5. Most asked Explain context managers in Python.
  6. Most asked Explain GIL in Python.
  7. Most asked Explain threading vs multiprocessing vs asyncio in Python.
  8. Most asked Backend Python interview: explain N+1 queries.
  9. Most asked Backend Python interview: explain authN vs authZ.
  10. Most asked Backend Python interview: explain SQL injection prevention.
  11. Most asked What is the late-binding closure gotcha in Python?
  12. Most asked Explain LEGB scoping in Python.
  13. Most asked Explain *args and **kwargs in Python.
  14. Most asked Explain list/dict/set comprehensions in Python.
  15. Most asked Explain dataclasses in Python.
  16. Most asked Explain dunder methods in Python.
  17. Most asked Explain deepcopy vs copy in Python.
  18. Most asked Explain structural pattern matching (`match`/`case`).
  19. Most asked What do EAFP and LBYL mean, and which is more Pythonic?
  20. Most asked Walk through the request/response lifecycle in Django, and explain why middleware order matters.
  21. Most asked Explain MRO / C3 in Python.
  22. Explain __name__ == '__main__' in Python.
  23. When do you use the `asyncio` module/package?
  24. When do you use the `logging` module/package?
  25. When do you use the `unittest / pytest` module/package?
  26. When do you use the `venv` module/package?
  27. Python packaging: virtualenv why?
  28. Backend Python interview: explain REST API design.
  29. Backend Python interview: explain migrations.
  30. How does asyncio work internally: event loop, coroutines, tasks and futures?
  31. Which pytest features do you use most?
  32. Explain typing / type hints in Python.
  33. Explain exceptions hierarchy in Python.
  34. When do you use the `pathlib` module/package?
  35. When do you use the `collections` module/package?
  36. When do you use the `itertools` module/package?
  37. When do you use the `functools` module/package?
  38. When do you use the `json` module/package?
  39. When do you use the `concurrent.futures` module/package?
  40. When do you use the `secrets` module/package?
  41. Python packaging: requirements.txt vs pyproject.toml?
  42. Python packaging: dependency pinning?
  43. Backend Python interview: explain FastAPI / Starlette.
  44. Backend Python interview: explain Django ORM vs SQLAlchemy.
  45. Backend Python interview: explain connection pooling.
  46. Backend Python interview: explain caching strategies.
  47. Backend Python interview: explain JWT pitfalls.
  48. Backend Python interview: explain idempotent APIs.
  49. Backend Python interview: explain background jobs.
  50. Backend Python interview: explain observability.
  51. Backend Python interview: explain 12-factor config.
  52. What is free-threaded Python (PEP 703) and how does it change the GIL story?
  53. How do cancellation and timeouts work in asyncio?
  54. What are exception groups and `except*` (Python 3.11)?
  55. What does the Python 3.12 generic syntax (PEP 695) look like, and how do `TypeVar`, `ParamSpec` and `Self` fit in?
  56. When do you use `TypedDict`, `Literal`, `Protocol` and `@overload`?
  57. Compare dataclasses, attrs and Pydantic models.
  58. Explain the iterator protocol and the difference between iterables and iterators.
  59. What are metaclasses, and when is `__init_subclass__` a simpler alternative?
  60. What's the difference between `__new__` and `__init__`?
  61. How does CPython manage memory?
  62. How do you profile and optimize Python code?
  63. What does a modern Python toolchain look like?
  64. What's the difference between `str` and `bytes`, and how do you handle encodings?
  65. Why is `pickle` dangerous, and what should you use instead?
  66. What is the walrus operator (`:=`) and when is it useful?
  67. What is the difference between WSGI and ASGI, and how does it affect how a Python web app handles concurrent requests?
  68. Explain slots in Python.
  69. Explain ABC / Protocol in Python.
  70. Explain property / descriptor in Python.
  71. When do you use the `argparse` module/package?
  72. When do you use the `dataclasses.asdict` module/package?
  73. When do you use the `enum` module/package?
  74. When do you use the `hashlib` module/package?
  75. Python packaging: semantic versioning?
  76. Python packaging: wheels vs sdist?
  77. Python packaging: editable installs?
  78. Python packaging: entry points / scripts?
  79. Backend Python interview: explain rate limiting.
  80. How do you mock correctly in Python tests?
  81. How do you handle dates and time zones correctly in Python?
  82. Why can floating-point math surprise you, and when should you use `Decimal` or `Fraction`?
  83. How do `functools.cache`, `lru_cache` and `cached_property` work, and what are the pitfalls?
  84. How do you run external commands safely with `subprocess`?
  85. What notable improvements came in Python 3.11 through 3.14?
  86. What are template strings (t-strings) in Python 3.14?
  87. How did annotation evaluation change in Python 3.14?
  88. How do sorting, `heapq` and `bisect` help with common algorithmic tasks?
  89. What are weak references in Python and when do you use them?
  90. Which `contextlib` utilities are worth knowing?
  91. How do classic design patterns look in idiomatic Python?
  92. What are the pitfalls of `multiprocessing`?
  93. How do descriptors power properties, methods and ORMs?
  94. How do you implement structured logging in Python services?
  95. What are common security pitfalls in Python applications?
  96. What do `send()`, `throw()`, `close()` and `yield from` do with generators?
  97. Compare f-strings, `str.format` and `%` formatting.
  98. Which built-ins make Python loops cleaner?
  99. What goes into a modern `pyproject.toml`?
  100. How do Django, Flask and FastAPI compare for a new backend project?
  101. What are subinterpreters in Python 3.14?
  102. Python packaging: namespace packages?
  103. What is the difference between a list and a tuple in Python?
  104. How does Python's garbage collection work?

MySQL Recommended 59

  1. Most asked What is a clustered index in InnoDB, and why does primary key choice matter so much?
  2. Most asked How does a composite index work, and what is the leftmost-prefix rule?
  3. Most asked How do you read EXPLAIN output in MySQL?
  4. Most asked Why might MySQL not use an index you created?
  5. Most asked What are the transaction isolation levels, and which does InnoDB use by default?
  6. Most asked What causes deadlocks in MySQL, and how do you handle them?
  7. Most asked Why is OFFSET pagination slow on large tables, and what is keyset pagination?
  8. Most asked Why is InnoDB the default storage engine, and how does it differ from MyISAM?
  9. Most asked What are gap locks and next-key locks, and why do they surprise developers?
  10. Most asked How does MySQL replication work? Explain the binary log, asynchronous and semi-synchronous replication, and GTIDs.
  11. Most asked How do you deal with replication lag when reading from replicas?
  12. Most asked How do you back up a MySQL database, and how does point-in-time recovery work?
  13. Most asked How do you change the schema of a large MySQL table without downtime?
  14. Most asked What is the difference between utf8 and utf8mb4 in MySQL, and why does it matter?
  15. Most asked How should you store money in MySQL?
  16. Most asked AUTO_INCREMENT or UUID primary keys in MySQL?
  17. Most asked What are window functions, and give an example where they help.
  18. Most asked Explain INNER, LEFT and RIGHT joins. What is the classic LEFT JOIN mistake?
  19. Most asked What is the InnoDB buffer pool, and how do you size it?
  20. Most asked How do you find the slowest queries in a MySQL server?
  21. Most asked How do you delete or update millions of rows safely in production?
  22. Most asked MySQL or PostgreSQL: how would you choose for a new project?
  23. What is a covering index?
  24. How does MVCC work in InnoDB?
  25. What do SELECT ... FOR UPDATE, FOR SHARE, NOWAIT and SKIP LOCKED do?
  26. Optimistic or pessimistic locking: when do you use each in MySQL applications?
  27. How would you shard a MySQL database, and what problems does sharding create?
  28. How do prepared statements prevent SQL injection?
  29. What does EXPLAIN ANALYZE add over EXPLAIN?
  30. DATETIME or TIMESTAMP: which should you use?
  31. How do you store and index JSON in MySQL?
  32. What are CTEs and recursive CTEs?
  33. What is ONLY_FULL_GROUP_BY and why did queries break when it was enabled?
  34. Why is SELECT COUNT(*) slow on a big InnoDB table?
  35. What do innodb_flush_log_at_trx_commit and sync_binlog control?
  36. How does MySQL handle connections, and why do applications use connection pooling?
  37. When does table partitioning help in MySQL, and when does it not?
  38. Should you use foreign keys in MySQL?
  39. How do you manage users and privileges securely in MySQL?
  40. How do NULLs behave in MySQL comparisons, indexes and unique constraints?
  41. Is it worth indexing a low-cardinality column such as status or a boolean flag?
  42. A query shows 'Using filesort' and 'Using temporary'. What does that mean and how do you fix it?
  43. How do you handle a 'hot row', such as a global counter updated on every request?
  44. How do you route reads to replicas and writes to the primary?
  45. How do upserts work in MySQL, and why should you avoid REPLACE?
  46. What are the binary log formats (ROW, STATEMENT, MIXED), and which should you use?
  47. What is InnoDB Cluster / Group Replication?
  48. CHAR, VARCHAR or TEXT: which do you use?
  49. Subquery or JOIN: which is faster in MySQL?
  50. What is strict SQL mode, and why should it be on?
  51. What are the redo log and the doublewrite buffer for?
  52. What happened to the MySQL query cache?
  53. What are the pros and cons of stored procedures and triggers?
  54. What is the difference between DELETE, TRUNCATE and DROP?
  55. What are invisible indexes and descending indexes in MySQL 8?
  56. How would you plan an upgrade to a newer MySQL major version?
  57. Surrogate or natural primary keys?
  58. How do you choose integer column sizes, and does INT(11) mean anything?
  59. What are optimizer histograms in MySQL 8?

pandas Recommended 6

  1. What is the difference between loc and iloc in pandas, and what is the SettingWithCopyWarning?
  2. How do you handle missing data in pandas?
  3. Explain groupby in pandas: split-apply-combine, agg, transform and filter.
  4. A pandas script runs out of memory or takes too long on a large file. How do you fix it?
  5. Write pandas code that finds each customer's latest order and their 30-day rolling spend.
  6. When would you use merge, join or concat in pandas?

Databases & Transactions Recommended 30

  1. Most asked What does ACID mean?
  2. Most asked Explain transaction isolation levels and the anomalies they prevent.
  3. Most asked How do database indexes work and when do they help or hurt?
  4. Most asked What is the N+1 query problem and how do you fix it?
  5. Most asked How do you choose between SQL and NoSQL databases?
  6. Most asked What is connection pooling and how do you size a pool?
  7. Most asked How do you run schema migrations without downtime?
  8. Most asked How do you keep data consistent across services without distributed transactions?
  9. What is normalization, and when should you denormalize?
  10. Compare optimistic and pessimistic locking.
  11. What causes deadlocks and how do you handle them?
  12. How does database replication work, and what is replication lag?
  13. What are partitioning and sharding, and what are their trade-offs?
  14. How do you read a query plan and optimize a slow query?
  15. What is the transactional outbox pattern?
  16. What are the pros and cons of using an ORM?
  17. What are the trade-offs of soft deletes?
  18. Should primary keys be auto-increment integers or UUIDs?
  19. Why should data integrity be enforced in the database, not only in application code?
  20. What is MVCC and how does it affect performance?
  21. How should you back up and restore databases?
  22. How do you scale a relational database?
  23. When do you need a dedicated search engine instead of SQL LIKE queries?
  24. When is storing JSON in a relational database appropriate?
  25. Why shouldn't analytics queries run on the production OLTP database?
  26. What is read-your-writes consistency and how do you provide it?
  27. How do you perform large data updates or backfills safely?
  28. How does the CAP theorem apply to databases?
  29. What are key database security practices?
  30. How should you test database code?

Behavioral & STAR Recommended 41

  1. Most asked Tell me about a time you worked with a difficult teammate.
  2. Most asked Describe a disagreement you had with a coworker and how you resolved it.
  3. Most asked Tell me about a time you disagreed with your manager's decision.
  4. Most asked Tell me about a time you failed at something important.
  5. Most asked Describe a mistake that had a significant impact and how you handled it.
  6. Most asked Tell me about a time you had to work with unclear or changing requirements.
  7. Most asked Tell me about a time you missed a deadline.
  8. Most asked Tell me about a time you received critical feedback and how you responded.
  9. Most asked Describe a project you owned from start to finish.
  10. Most asked Tell me about a time you had to juggle multiple competing deadlines.
  11. Tell me about a time you led a project without formal authority.
  12. Tell me about a time you took responsibility for a team failure.
  13. Describe a time you had to collaborate with someone whose working style was very different from yours.
  14. Tell me about a successful project you completed as part of a team.
  15. Tell me about a time you helped a struggling teammate.
  16. Describe a time you had to push back on a stakeholder's request.
  17. Describe a time you had to deliver unwelcome feedback to a peer.
  18. Describe a time you had to motivate a team through a difficult period.
  19. Tell me about a decision you made that was unpopular with your team.
  20. Tell me about a time you had to make a decision with incomplete information as a leader.
  21. Tell me about a project that didn't go as planned.
  22. Tell me about a time you went above and beyond your job description.
  23. Describe a time you identified a problem no one had asked you to solve.
  24. Describe a situation where you had to make a decision without all the information you wanted.
  25. Tell me about a time priorities shifted midway through a project.
  26. Describe how you decide what to work on when everything feels urgent.
  27. Tell me about a time you helped a colleague grow their skills.
  28. Tell me about a time you received feedback that was hard to hear.
  29. Describe a time you had to rely on a team member you didn't fully trust yet.
  30. Tell me about a conflict between two people on your team and how you handled it.
  31. Describe a time you delegated an important task.
  32. Tell me about a time you had to say no to your manager.
  33. Describe how you handle working on something without a clear owner.
  34. Tell me about a time you had to say no to a request to protect a deadline.
  35. Describe a time you had to deprioritize something important.
  36. Describe your approach to onboarding a new team member.
  37. Tell me about a time you gave someone feedback that changed their behavior.
  38. Describe a time you learned something valuable from someone more junior than you.
  39. Describe how you typically respond to criticism.
  40. Tell me about a time you gave feedback that was poorly received.
  41. Describe a time feedback from a peer changed how you approached your work.

Was this page helpful?

Report a mistake