On this page
Data engineering has moved from monolithic Hadoop clusters and fragile hand-written ETL scripts towards a set of focused, interoperable tools. Storage lives in cheap object stores like Amazon S3 or Google Cloud Storage. Open table formats add database-like guarantees on top. Declarative transformation tools manage business logic in version-controlled SQL. Streaming platforms move events between systems in near real time. And fast in-process engines make local analytics easy.
This guide to the modern data stack for data engineers explains four tools that represent each of those layers: Apache Iceberg, dbt, Apache Kafka and DuckDB. For each one you will learn the problem it solves, the core concepts interviewers ask about, and how it fits with the others. The final section outlines a portfolio project that ties them together.
How the layers fit together
| Layer | Problem it solves | Example tools |
|---|---|---|
| Ingestion and streaming | Moving events and change data between systems | Kafka, Redpanda, Debezium, Kinesis |
| Storage and table format | Reliable, queryable tables on object storage | Apache Iceberg, Delta Lake, Apache Hudi |
| Compute | Running queries and transformations | Spark, Trino, Flink, DuckDB, warehouses |
| Transformation and modelling | Turning raw data into trusted, documented tables | dbt, SQLMesh |
| Orchestration | Scheduling and dependency management | Airflow, Dagster, Prefect |
| Serving and BI | Dashboards, APIs, reverse ETL | Superset, Metabase, Looker, Power BI |
You do not need every tool in every row. Employers mostly want to see that you understand the role of each layer and have used at least one tool in several of them.
Apache Iceberg: tables on object storage
The problem
Storing Parquet files in a bucket is cheap, but a folder of files is not a table. Without extra metadata, you cannot safely update or delete rows, two jobs writing at once can corrupt results, and queries have to list thousands of files to find the ones they need.
What Iceberg adds
Apache Iceberg is an open table format that keeps a layer of metadata alongside your data files. That metadata tracks which files belong to each version of a table, enabling:
- ACID transactions: writers commit atomically, so readers never see half-written data.
- Snapshots and time travel: every commit creates a snapshot you can query or roll back to.
- Schema evolution: add, rename or drop columns without rewriting the whole table.
- Hidden partitioning: the table knows how it is partitioned, so queries filter efficiently without users writing partition paths by hand, and partitioning can change over time.
- Engine independence: Spark, Trino, Flink and several warehouses can read and write the same tables through a shared catalog.
Interview concepts
Be ready to explain what a catalog does, how snapshot isolation works at a high level, why small files hurt performance and how compaction helps, and the difference between Iceberg and alternatives like Delta Lake and Hudi.
dbt: transformations as software
The problem
Business logic spread across hundreds of untested SQL scripts and stored procedures is hard to trust and harder to change.
What dbt adds
dbt lets you write transformations as SQL select statements called models, then handles building them in the right order. Key ideas:
- `ref()` and `source()` declare dependencies, so dbt builds a lineage graph and runs models in order.
- Tests check assumptions such as
unique,not_null, accepted values and relationships between tables. - Materialisations control whether a model becomes a view, a table or an incremental table that only processes new data.
- Documentation is generated from model descriptions and the lineage graph.
- Version control and CI apply to analytics code the same way they do to application code.
A common project structure separates staging models (light cleaning of raw sources), intermediate models (joins and business logic) and marts (tables shaped for consumption).
Apache Kafka: events in motion
The problem
When many systems need the same data quickly, point-to-point integrations multiply and break. Batch exports introduce delays.
What Kafka adds
Kafka is a distributed, durable log of events. Producers write to topics; consumers read from them at their own pace.
- Partitions split a topic for parallelism; ordering is guaranteed within a partition, not across the whole topic.
- Consumer groups let several instances share the work of reading a topic.
- Offsets record how far each consumer has read, so it can resume after a failure.
- Retention keeps events for a configured time, allowing replay.
- Change data capture tools such as Debezium stream database changes into Kafka topics.
Interviewers often ask about delivery semantics (at-most-once, at-least-once, exactly-once), how to choose a partition key, and how to handle schema changes, typically with a schema registry.
DuckDB: fast analytics in-process
DuckDB is an embedded analytical database: it runs inside your Python process or CLI with no server to manage. It reads Parquet, CSV and JSON directly, including from object storage, and executes columnar, vectorised queries quickly on a single machine.
Data engineers use it to explore data locally, test transformations, run lightweight pipelines and power small analytics apps. It also pairs well with dbt through an adapter, which makes it ideal for a portfolio project that runs on a laptop without cloud costs.
Batch or streaming?
| Choose batch when | Choose streaming when |
|---|---|
| Hourly or daily freshness is acceptable | Decisions depend on data within seconds or minutes |
| Logic involves large historical joins | Many consumers need the same event feed |
| You want simple debugging and backfills | You are reacting to events (fraud, alerts, inventory) |
| Cost and operational simplicity matter most | The business value of freshness justifies the complexity |
Many real systems combine both: streaming ingestion into a lakehouse table, then batch dbt models on top.
A portfolio project that ties it together
Build a small, realistic pipeline you can run locally and explain end to end:
- Ingest: a Python producer publishes simulated or public events (for example, city bike trips or e-commerce orders) to a Kafka or Redpanda topic running in Docker.
- Land: a consumer writes events in micro-batches to Parquet files or an Iceberg table.
- Transform: dbt models, using DuckDB or a local Spark/Trino setup, build staging, intermediate and mart layers with tests.
- Orchestrate: schedule the dbt run and data quality checks with Airflow, Dagster or a simple cron job.
- Serve: a small dashboard in Streamlit, Superset or Metabase.
- Document: a README with an architecture diagram, data model, test strategy and the trade-offs you made.
This single project covers ingestion, storage, transformation, testing and serving, which is exactly what data engineering interviews probe.
Next steps
Put the project on GitHub using the structure in our GitHub portfolio guide for junior developers, describe it on your resume with measurable details, and check the wording against real postings with the free ATS resume checker. Then explore current data engineering jobs and internships. If you are weighing data engineering against ML roles, our machine learning engineer job market analysis shows where the skill sets overlap.
FAQs
Do I need to learn Spark before Apache Iceberg?
No. Iceberg is a table format, not a compute engine, and it works with several engines including Spark, Trino, Flink and, increasingly, DuckDB and cloud warehouses. Learn SQL and one engine well, then learn how Iceberg tables behave underneath.
Is dbt only for analytics engineers?
dbt started in analytics engineering, but data engineers use it widely for the transformation layer of pipelines. Knowing how to structure models, write tests and manage incremental builds is useful in most data engineering roles.
When should a pipeline use Kafka instead of batch jobs?
Use streaming when data must be acted on within seconds or minutes, or when many systems need the same event feed. If daily or hourly freshness is acceptable, batch pipelines are usually simpler, cheaper and easier to debug.
Can DuckDB replace a data warehouse?
For single-machine analytics, local development and moderate data sizes, DuckDB can do a lot of what a warehouse does. It is not designed for many concurrent users or shared, governed enterprise access, so most teams use it alongside a warehouse or lakehouse rather than instead of one.
Which of these tools should a fresher learn first?
SQL first, then dbt, because it builds directly on SQL and teaches testing and modelling discipline. Add Kafka concepts and a lakehouse table format once you are comfortable building batch pipelines end to end.
Check your resume before you apply
Score your resume against any job description and see exactly which keywords are missing. Free.