Data Engineer interview questions and answers

Data engineer interviews cover SQL and Python, data modelling, building reliable pipelines (batch and streaming), warehouses such as Snowflake or BigQuery, and tools such as Spark, Airflow, dbt and Kafka.

Skills and knowledge

  1. What is the difference between ETL and ELT?

    Sample answer: ETL extracts data, transforms it on a separate engine and then loads the clean result into the warehouse. ELT loads raw data first and transforms it inside the warehouse with SQL, often using dbt. ELT is common now because cloud warehouses are powerful and keeping raw data allows re-processing.

  2. What is a star schema?

    Sample answer: A data warehouse design with a central fact table holding measurable events such as sales, linked to dimension tables that describe them such as date, product, customer and store. It is simple to query and fast for reporting. A snowflake schema further splits dimensions into more tables.

  3. What is a slowly changing dimension?

    Sample answer: A dimension whose attributes change over time, such as a customer moving city. Type 1 overwrites the old value and keeps no history. Type 2 adds a new row with start and end dates so reports can show the value at any point in time. Type 2 is the most common when history matters.

  4. How do you make a pipeline idempotent?

    Sample answer: Design each run so running it again for the same period gives the same result: overwrite or merge a partition instead of appending, use unique keys to deduplicate, and keep inputs fixed for a run. Then failed runs can be retried and backfills are safe.

  5. Batch or streaming: when would you use each?

    Sample answer: Batch processes data on a schedule, such as hourly or daily, and is simpler and cheaper, ideal for reports. Streaming processes events within seconds using Kafka, Flink or Spark Streaming, needed for fraud detection, live dashboards or alerts. Many systems use both.

  6. How does Spark handle large data?

    Sample answer: Spark splits data into partitions spread across a cluster and runs tasks on them in parallel. Transformations are lazy and planned together for efficiency. Performance depends on good partitioning, avoiding large shuffles, broadcasting small tables in joins and handling skewed keys.

  7. What is Airflow used for?

    Sample answer: Airflow schedules and orchestrates data pipelines as DAGs, graphs of tasks with dependencies, written in Python. It handles retries, backfills, alerts and shows run history. The actual heavy work should run in tools such as Spark or the warehouse, with Airflow coordinating it.

  8. How do you ensure data quality?

    Sample answer: Add checks at each stage: row counts, nulls, uniqueness, accepted values and freshness, using dbt tests or tools such as Great Expectations. Alert owners when checks fail, stop bad data from reaching reports, document data contracts with source teams and track incidents.

  9. What is partitioning in a data warehouse or lake?

    Sample answer: Splitting a large table into parts by a column such as date or region, so queries that filter on it read only the relevant parts. It cuts cost and time. Choose partition columns that match common filters and avoid creating too many tiny partitions.

Past experience

  1. Tell me about a pipeline you built.

    Sample answer: Describe the sources, volume, tools, how data flowed and was transformed, how you handled failures and quality, who used the output and what it enabled. Add one design decision you would change now.

What would you do?

  1. The daily dashboard shows yesterday's numbers are missing. What do you do?

    Sample answer: Check the orchestrator for failed or late tasks, then source systems for late or missing files and API errors. Fix or re-run the failed step, backfill the missing data, tell dashboard users what happened and add freshness alerts so the team knows before users do.

  2. Warehouse costs have doubled in three months. How do you reduce them?

    Sample answer: Find the most expensive queries, users and tables from usage reports. Add partitioning and clustering, materialise heavy transformations once instead of re-running them in dashboards, right-size and auto-suspend compute, remove unused tables and set budgets and alerts per team.

Open Data Engineer jobs

CClera
Remote · Worldwide

Data Scientist

RemoteData & AIFull Time
Pay not listedToday · via Himalayas
AAlternative Payments
Remote · Worldwide

Lead Software Engineer - Alti (AI)

RemoteData & AIFull Time
USD 100,000–120,000Today · via Himalayas
HHouzz
Remote · Taiwan

Senior AI Engineer, AI-Native Full Stack (Houzz Pro)

RemoteData & AIFull Time
Pay not listedToday · via Himalayas
RRevenueBase Inc
Remote · Worldwide

Data Engineer

RemoteData & AIFull Time
Pay not listedToday · via Himalayas
GGrafana Labs
Remote · Germany

Senior Software Engineer - Databases SRE | UK | Remote

RemoteData & AIFull Time
GBP 94,508–113,410Today · via Himalayas
GGifthealth Inc
Remote · United States

Lead Data Analyst

RemoteData & AIFull Time
USD 132,000–165,000Today · via Himalayas

More interview guides