Data Engineer 路 Intern to senior

Data Engineer Interview Questions and Answers

Data engineering interviews lean heavily on SQL and Python. Expect to write queries by hand, explain how indexes and transactions work, and discuss how data is modelled and partitioned at scale.

64 questions

  • GitMedium

    What is the difference between git merge and git rebase?

    Both integrate changes from one branch into another: merge keeps both histories and joins them with a merge commit, while rebase rewrites your commits so they appear on top of the target branch, giving a linear history.

    Junior 路 Mid-level 路 Git
  • GitMedium

    How do you resolve a merge conflict in Git?

    Open the conflicted files, decide what the final code should be between the conflict markers, remove the markers, run the tests, then stage the files and continue the merge or rebase.

    Junior 路 Mid-level 路 Git
  • BehavioralMediumBehavioral

    How do you answer "Tell me about a production bug you fixed"?

    Walk through how you noticed the issue, limited the impact, found the root cause, fixed it, and what you changed afterwards so the same class of bug could not happen again.

    Junior 路 Mid-level 路 Behavioral Interviews
  • BehavioralMediumBehavioral

    Tell me about a project or decision that failed.

    Choose a genuine failure, explain why it failed, what you owned, how you recovered, and what you changed in future projects.

    Junior 路 Mid-level 路 Behavioral Interviews
  • BehavioralEasyBehavioral

    Why are you looking to leave your current company?

    Keep the answer professional and future-focused: explain what you are looking for next without attacking your current or former employer.

    Mid-level 路 Senior 路 Behavioral Interviews
  • SQLMedium

    What are ACID properties in a database?

    ACID stands for Atomicity, Consistency, Isolation and Durability: a transaction either fully succeeds or fully fails, keeps the data valid, does not interfere with other transactions, and survives crashes once committed.

    Mid-level 路 Senior 路 Database
  • PythonMedium

    What are decorators in Python and how do they work?

    A decorator is a function that takes another function and returns a modified version of it, letting you add behaviour such as logging, caching or access control without changing the original code.

    Mid-level 路 Senior 路 Functions & Scope
  • PythonMedium

    What are generators and the yield keyword in Python?

    A generator is a function that uses yield to produce values one at a time and remembers its state between calls, so it can process large or infinite sequences without holding everything in memory.

    Mid-level 路 Senior 路 Functions & Scope
  • PythonMedium

    How does Python manage memory and garbage collection?

    CPython frees objects mainly through reference counting, deleting an object as soon as nothing refers to it, and uses a cyclic garbage collector to clean up groups of objects that reference each other.

    Mid-level 路 Senior 路 Memory Management
  • System DesignMedium

    When should you use a SQL database vs a NoSQL database?

    Choose SQL when your data is relational and you need transactions, joins and strong consistency; choose NoSQL when you need flexible schemas, very high write throughput or horizontal scaling for a specific access pattern.

    Mid-level 路 Senior 路 Database
  • GitMedium

    What is the difference between git reset and git revert?

    git revert creates a new commit that undoes an earlier one and is safe on shared branches; git reset moves the branch pointer back to an earlier commit, effectively removing later commits from that branch鈥檚 history.

    Mid-level 路 Senior 路 Git
  • BehavioralMediumBehavioral

    How do you answer "Tell me about a time you disagreed with a teammate"?

    Describe a real technical or process disagreement, show that you listened and argued with evidence rather than opinion, explain how a decision was reached, and how you supported it afterwards even if it was not your idea.

    Mid-level 路 Senior 路 Behavioral Interviews