All specialtiesTechnology · Job interview

Data engineering

Data engineering questions are about moving data safely, and about what happens when a job fails at night. Learn to describe a pipeline in clear spoken English, from source to dashboard.

Words → phrases → sentences → speaking

Try SpeakRole ↗
Job interviewData engineering
V

How would you design a reliable ETL pipeline for daily reports?

0:18
Interviewer question

Data engineering

Interviewers for data engineering roles usually ask about pipeline design, SQL and how you handle failure. Some questions are theory, such as batch versus streaming or ETL versus ELT. Others are stories about late data, duplicates and broken dashboards. You do not need to name every tool. You need to show that you understand the problem each tool solves.

A good way to answer is to follow the data: where it comes from, how it is processed, where it is stored and who uses it. Say that path aloud, in order. Then add one sentence about failure, for example "if the job fails, we can safely run it again". That single sentence often separates experienced engineers from candidates who have only read about the topic.

  • ✓Words → phrases → sentences → speaking
  • ✓Answer meaning
  • ✓Language

Common questions and sample answers

What is the difference between ETL and ELT, and how do a data lake and a warehouse fit in?

What the interviewer wants to hear. The order of the steps, why ELT became popular, and a balanced view with a case where ETL is still the better choice.

Sample answer to practise aloud

In ETL, we transform the data before we load it into the target. In ELT, we load the raw data first and transform it inside the warehouse. Today I usually choose ELT, because modern warehouses are powerful and storage is cheap. I keep the raw data in a lake or in a raw layer, so I can rebuild everything if the business rules change. Then I write the transformations in SQL, with a tool like dbt, and I test them. ETL is still a good choice when sensitive data must be cleaned or masked before it lands. The warehouse holds clean, modelled tables for analysts. The lake holds raw files of any shape.

How do you decide between batch and streaming?

What the interviewer wants to hear. A decision based on the business need and cost, not on fashion, plus awareness of late and duplicate events.

Sample answer to practise aloud

I start from the business need, not from the technology. If people look at a dashboard once a day, a nightly batch job is simpler, cheaper and easier to debug. I choose streaming when the value of the data falls quickly with time, for example fraud checks or live alerts. Streaming has a cost. I have to handle late and out-of-order events, state and duplicates, and operations are harder. A middle path is micro-batches every few minutes. Often I move only one pipeline to streaming and keep the rest in batch. I always ask: what is the cost of waiting one hour for this data?

What does it mean for a pipeline to be idempotent, and how do you achieve it?

What the interviewer wants to hear. A clear definition, the duplicate problem on retries, and concrete techniques such as overwriting a partition or merging on a key.

Sample answer to practise aloud

An idempotent job gives the same result if I run it once or ten times with the same input. This matters, because jobs fail and we rerun them, and backfills are a normal part of the work. A bad job appends rows on every run, so a retry creates duplicates. To make it safe, I overwrite the whole partition for one date, or I use a merge, also called an upsert, with a stable business key. I pass the run date as a parameter and do not use the current time inside the logic. I also write to a temporary location and swap the result in only when the job succeeds.

How do you make sure the data in your pipelines is correct?

What the interviewer wants to hear. Checks at several stages, a decision about what blocks the pipeline, and ownership of the data.

Sample answer to practise aloud

I check the data at several points, not only at the end. At ingestion, I check the schema, so a changed column does not break everything silently. After each transformation, I run tests: not null, unique keys, accepted values, row counts compared with the source, and freshness. If a critical check fails, the pipeline stops and does not publish bad data, and the owner gets an alert. For smaller problems, I quarantine the bad records instead of deleting them. I also agree on a contract with the data producers, so they tell us before they change a field. And every dataset has an owner.

What is partitioning, and how do you choose a partition key?

What the interviewer wants to hear. Partition pruning, a sensible key such as date, and the problem of too many small partitions or files.

Sample answer to practise aloud

Partitioning splits a large table into smaller parts, usually by one column, so queries read only the parts they need. The most common key is the event date, because most queries filter by time, and it also makes retention and backfills easy: I can drop or rewrite one day. A good key has a reasonable number of values. If I partition by user ID, I get millions of tiny files, and everything becomes slow. If the partitions are too big, I lose the benefit. I also keep the files at a healthy size, and I check in the query plan that my filter really skips the partitions I do not need.

How to say the key terms

pipeline
PYPE-line
data lake
DAY-tuh layk
warehouse
WAIR-hows
idempotent
eye-dem-POH-tent
schema
SKEE-muh
partition
par-TISH-un
orchestration
or-kes-TRAY-shun

Useful phrases for answering

  • The pipeline reads from… and writes to…
  • It runs every night, and a rerun is safe.
  • The main trade-off is freshness against cost.
  • We validate the data before we publish it.
  • I would add a check and an alert here.
  • Who owns this dataset?
  • Let me describe the data flow from the source to the dashboard.

Common mistakes to avoid

  • Using "datas" or "informations". Both words are uncountable in normal English: say "a lot of data", "some information" or "a data point".
  • Saying "the job is failed". The correct forms are "the job failed" or "the job has failed".
  • Listing tools such as Airflow, Spark and Kafka without saying what problem each one solves. Name the problem first, then the tool.
  • Saying that streaming is always better because it is real time. Explain the cost and ask whether the business really needs fresh data.
  • Forgetting failure. Say what happens when a job fails halfway, when data arrives late, or when the same file arrives twice.

Frequently asked questions

Do I need to know Spark for a data engineering interview?

Often at a basic level, yes: how work is split across a cluster, and why moving data between nodes is expensive. If your last team used only SQL and a warehouse, say so honestly and explain what you would learn first.

How much SQL will I be asked?

Usually a lot. Expect joins, grouping and window functions on a shared screen or on paper. Say your plan aloud before you write: "First I deduplicate the events, then I group them by day."

How do I describe a pipeline when the details are confidential?

Describe it in general terms: the type of source, the rough volume, the schedule, the checks and one thing that broke. Interviewers care about your reasoning, not about names or exact company numbers.

Reading an answer is not the same as saying it. Practise each question out loud, then compare the meaning and the language of your own answer.

Try SpeakRole ↗

Other topics in this area