ETL vs ELT: when to prefer each for ML?

Tests architecture tradeoffs. Contrast ETL's pre-load transformation with ELT's in-warehouse transformation, map structured legacy to ETL and raw lakes to ELT, and cite ML iteration needs. Red flag: calling one better ignoring compute placement or volume.
What's really being asked
Your understanding of data integration patterns and whether you can reason about transformation timing, compute location, and schema rigidity. Interviewers want to see that you know ETL uses a secondary processing server to transform data before loading it into a target database, while ELT loads raw data in its natural state into a data warehouse or data lake and transforms it within the target system. They also want to hear you connect these mechanics to analytical requirements, including the iterative nature of data science work.
The full answer
First, the process sequence: ETL extracts raw data, transforms it on a secondary processing server, and loads it into the target database only after it meets structural requirements. ELT extracts raw data, loads it directly into the target warehouse or lake, and performs cleansing, enrichment, and restructuring inside that system. Second, the data and schema implications: ETL requires more definition at the beginning, with analytics teams involved from the start to define target data types, structures, and relationships, making it well suited for structured legacy databases. ELT stores unlimited raw data at scale and lets teams analyze it later as required, which supports semi-structured or unstructured sources. Third, the ML relevance: because ELT allows you to interact with and transform raw data as many times as needed, data scientists can experiment with different feature aggregations or filters without rebuilding external pipelines or re-extracting source data. Fourth, the historical context: ETL has been around since the 1970s and was popular with traditional data warehouses, while ELT has become the modern norm with cloud technologies.
The mistakes people make
Claiming ETL is universally cheaper or faster while ignoring that cloud data warehouses now make ELT efficient at scale. Saying ELT is always superior without acknowledging that legacy systems or strict compliance needs may demand upfront transformation. Describing the difference only as letter order rather than explaining the distinct compute locations and timing. Failing to note that ETL is mainly used for legacy databases while ELT is the current standard.
What usually comes next
How would you handle repeated transformations of the same raw extract for different models? When would you still require a secondary processing server instead of in-warehouse compute? How do you manage schema definition when loading unstructured data into a lake? What governance challenges arise when raw data lands before cleansing?
A concrete example
Suppose you are preparing customer transaction records for a fraud detection model. With ETL, you would define the target schema, data types, and cleansing rules on a secondary server before loading, which works well if the source is a structured legacy database with stable columns. If the fraud team later wants to include additional raw fields or change aggregation logic, you must modify the ETL job and reprocess. With ELT, you load the raw transactions into a data warehouse in their natural state, then apply transformations, deduplication, and feature creation inside the warehouse, allowing you to rerun different transformation logic on the same loaded data as the model evolves.
Interview question
Why does ELT better support iterative ML experimentation than ETL?
- a.It enforces strict schemas and data types before any data is loaded
- b.It is primarily designed for structured legacy databases with stable columns
- c.It transforms data on a secondary server before loading it into the warehouse
- d.It allows repeated transformations of raw data within the warehouse without re-extractionCorrect
Why? this is the answer
ELT loads raw data into the target warehouse first, so data scientists can run and revise transformations repeatedly without rebuilding external pipelines or re-extracting source data. Option C describes ETL, which transforms data on a secondary server before loading and requires pipeline changes for new logic.
Just read this? Test yourself on what you have been reading.
Read the original → aws.amazon.com
- #data engineering
- #etl
- #elt
- #mlops
- #data pipelines
You just looked this up. Could you explain it out loud?
That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Open roles that interview on data engineering — each one lists the topics its interview covers.
See open roles