Interview's MateData Engineer
Interview's Mate

Data Engineer

SQL · Spark · Lakehouse · Streaming

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
Data Engineer topics
Lesson 101/ 160
06. Data Transformation (dbt) & Workflow Orchestration

ETL vs ELT in Modern Cloud Data Platforms

Prefer ELT on elastic warehouses: load raw first, transform with SQL where compute is cheap.

BeginnerETL · ELT · Cloud WH3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidQuiz (3)Practice

In plain words

Source-specific cleansing versus shared analytics. Next, transform engine, privacy, and replay. Finally, same contract and reconciliation regardless of order.

Think of it like…

ETL is cooking at a staging kitchen before delivery; ELT unloads sealed ingredients into a powerful destination kitchen where each recipe can be rerun without fetching them again.

Where you’ve seen it

Legacy ETL tokenizes PII before a warehouse insert; a modern ELT path loads append-only CDC into a restricted bronze table, then dbt transforms typed, masked silver models using warehouse compute.

Words you’ll hear

ETL
Extract, transform, then load: the intermediate processor owns staging computation before target persistence.
ELT
Extract, load, then transform: the target platform stores raw evidence and executes SQL transformation at scale.
Cloud WH
A managed analytical engine whose elastic SQL compute and storage make in-place transformations operationally attractive.
Operational boundary
ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation. Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

Visual diagram

Loading interactive diagram

Theory & deep dive

ETL: the working mechanism

ETL cleans and models data before loading the target, while ELT lands source data first and pushes transformation into an elastic warehouse or lakehouse where SQL can scale.

Source-specific cleansing versus shared analytics. Transform engine, privacy, and replay, then either order with explicit checkpoint; this exposes the state governed by Cloud WH.

ETL vs ELT in Modern Cloud Data Platforms in one concrete design

Legacy ETL tokenizes PII before a warehouse insert; a modern ELT path loads append-only CDC into a restricted bronze table, then dbt transforms typed, masked silver models using warehouse compute.

Key takeaway: ETL cleans and models data before loading the target, while ELT lands source data first and pushes transformation into an elastic warehouse or lakehouse where SQL can scale

ETL vs ELT in Modern Cloud Data Platforms: failure mode and production response

ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation.

Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms. Track Raw retention as "enough to replay corrected ELT logic", and make Transform dwell visible to the dataset owner.

Key takeaway: Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

How it works, step by step

Step 1 of 4
ETL

1. Classify rules

Source-specific cleansing versus shared analytics. ETL cleans and models data before loading the target, while ELT lands source data first and pushes transformation into an elastic warehouse or lakehouse where SQL can scale.

source-specific cleansing versus shared analytics
Key numbers at this step
Raw retention
enough to replay corrected ELT logic
ELT
Extract, load, then transform: the target platform stores raw evidence and executes SQL transformation at scale.

When to use it & trade-offs

What it is

ETL cleans and models data before loading the target, while ELT lands source data first and pushes transformation into an elastic warehouse or lakehouse where SQL can scale. Legacy ETL tokenizes PII before a warehouse insert; a modern ELT path loads append-only CDC into a restricted bronze table, then dbt transforms typed, masked silver models using warehouse compute.

Why it matters: ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation. Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

When to reach for it

  • Prefer ELT on elastic warehouses: load raw first, transform with SQL where compute is cheap.
  • Choose ETL because it provides this capability: Extract, transform, then load: the intermediate processor owns staging computation before target persistence.
  • Keep evidence for Raw retention at "enough to replay corrected ELT logic" so the last production stage-Validate - same contract and reconciliation regardless of order-remains testable.

When to avoid or be careful

  • ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation.
  • Do not conflate ELT with ETL. The second concept contributes different behavior: Extract, load, then transform: the target platform stores raw evidence and executes SQL transformation at scale.
  • Release only after this guardrail is in place: Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

ETL / ELT / Cloud WH - roles, limits, and operating cost

ETL
Best for: Extract, transform, then load: the intermediate processor owns staging computation before target persistence.

Strengths: Extract, transform, then load: the intermediate processor owns staging computation before target persistence. ETL cleans and models data before loading the target, while ELT lands source data first and pushes transformation into an elastic warehouse or lakehouse where SQL can scale.

Watch out: ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation.

ELT
Best for: Extract, load, then transform: the target platform stores raw evidence and executes SQL transformation at scale.

Strengths: Extract, load, then transform: the target platform stores raw evidence and executes SQL transformation at scale. In this workflow it supports: Load/transform - either order with explicit checkpoint.

Watch out: The operating cost is real: time from source snapshot to trusted target.

Cloud WH
Best for: A managed analytical engine whose elastic SQL compute and storage make in-place transformations operationally attractive.

Strengths: A managed analytical engine whose elastic SQL compute and storage make in-place transformations operationally attractive. Its output can be checked with Data residency.

Watch out: Operating guardrail: Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

Interview signals & numbers to know

When this topic comes up

  • “Where is the failure boundary for ETL, and how would Raw retention reveal it?”
  • “Why is ELT distinct from this behavior: a managed analytical engine whose elastic SQL compute and storage make in-place transformations operationally attractive?”
  • Production clue: ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation.
  • Design probe: Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

Benchmarks & rules of thumb

Raw retention -
enough to replay corrected ELT logic
Transform dwell -
time from source snapshot to trusted target
Data residency -
which layer and region may contain raw PII

Common mistakes & follow-ups

Common interview mistakes

  • ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation.
  • Reporting success from a job exit code without checking Raw retention and Transform dwell.
  • Treating this example as complete without replay, rollback, or access boundaries: Legacy ETL tokenizes PII before a warehouse insert; a modern ELT path loads append-only CDC into a restricted bronze table, then dbt transforms typed, masked silver models using warehouse compute.

Likely interviewer follow-ups

  • How would you prove this contract instead of only checking that the command ran: Extract, transform, then load: the intermediate processor owns staging computation before target persistence.
  • What does the recovery plan do when this occurs? ELT can copy sensitive or noisy raw data into a governed platform, and ETL middleware can become a bottleneck that requires both source and target changes to fix a transformation.
  • When is ETL insufficient for Transform dwell, and what does adding ELT cost in Raw retention?
Interview tip: Lead with the data path and failure boundary: ETL cleans and models data before loading the target, while ELT lands source data first and pushes transformation into an elastic warehouse or lakehouse where SQL can scale. Then make the answer operational: Choose the boundary by data residency/security, transformation cost, engine primitives, replay needs, and consumer freshness; encrypt/quarantine raw ELT landings and preserve original payloads for corrected transforms.

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply ETL vs ELT in Modern Cloud Data Platforms with data engineer interview Q&A and hands-on practice.

Open Data Engineer Q&A →Machine Learning Q&A
Previous topic
Building an End-to-End Medallion Lakehouse Pipeline
Next topic
Introduction to dbt (Data Build Tool) & Analytics Engineering Workflow