All jobs / Data engineer / Data Lakes
Data engineer interview question · 3–5 years
BI wants to query Parquet files in the lake. External table over the files, or load them into the warehouse?
The strongest answer
External for exploration and rarely read data, since there is no copy to keep in sync; load, or use a managed lakehouse table, for dashboards hit all day, where native layout, statistics and caching pay for the copy
Why it works
Exactly — decide by access pattern: a hot dashboard wants native layout and statistics; the long tail wants no second copy.
What a good answer covers
- Hot: load or manage; cold: external.
- External avoids a second copy.
- Native tables bring layout and stats.
- Never point BI at raw files.
Answers that fall short
- Close, but not the strongest: External, always — one copy of the data is the whole point of a lake
One copy is a fine default, but a dashboard scanning raw files all day costs more than the copy it saves. - Weak: Load everything; external tables are a toy for demos
External tables are how most lakehouses work; the trade is native performance against a second copy. - Red flag: Give BI read access to the bucket and let them point their tool at the files directly
Tools reading files directly bypass access control, schema and every layer that makes the number trustworthy.
Who gets asked this
More Data Lakes questions
- What must stay true so you can rebuild gold from 90 days ago?
- Why bother with a table format (Iceberg/Delta/Hudi) instead of a pile of Parquet?
- How do you implement erasure in a lake that time-travels?
- Streaming writes leave a trail of tiny files. What do you schedule?
- Spark, a SQL engine and the BI tool each keep their own idea of which tables exist in the lake, and they…
- After a merger you have two lakes. How do you close it?
- Parquet or Avro — when do you use each in a pipeline?
- What is different about writing a table to S3 or GCS compared with writing to a local filesystem?