Interview practice

Data Engineer

2–5 years · Mid — SQL · Python · Spark · Airflow · Warehousing · ETL / ELT

0–2 years 2–5 years 5–8 years 8+ years
technical Data Warehousing 1 of 6
You need to design a new fact table for a sales data warehouse that includes 100 million rows. What considerations do you have regarding indexing and partitioning?
What a strong answer covers

Decides on appropriate partition keys based on query patterns and data access frequency; considers using a composite index for common query filters; evaluates the trade-offs of partitioning versus performance; plans for future growth and archiving strategies; tests performance with sample queries before full implementation.

The follow-up you would get

What partitioning strategies would you consider for time-based data?

Could you have answered that?
scenario Data Quality 2 of 6
A downstream team reports that the data they received is incorrect, but your pipeline shows successful execution. What do you investigate first?
What a strong answer covers

Checks the integrity of the data source against the expected schema; verifies transformation logic for anomalies; reviews logs for warnings or errors during processing; confirms the data lineage to identify where the issue may have arisen; engages with the downstream team for specific examples of discrepancies.

The follow-up you would get

You discover a transformation step that misapplied business rules. How do you prevent this from happening in future iterations?

Could you have answered that?
ownership A failure you managed 3 of 6
Describe a time when a data pipeline you built failed. How did you respond to the failure?
What a strong answer covers

Identifies the pipeline and context; explains the specific error encountered and its immediate impact; details the investigation process and tools used; outlines steps taken to fix the issue and prevent recurrence; reflects on lessons learned and how this shaped future work.

The follow-up you would get

What would you do differently if faced with a similar failure again?

Could you have answered that?
scenario Performance Tuning 4 of 6
A business user complains that the reports generated from your data warehouse are taking too long to load. What steps do you take to resolve the issue?
What a strong answer covers

Analyses the query execution plans for bottlenecks; checks for inefficient joins or missing indexes in the queries; evaluates the hardware resources and database configuration; considers caching strategies for frequently accessed data; consults with stakeholders to understand usage patterns.

The follow-up you would get

You identify a query that is poorly optimized. How do you approach rewriting it to improve performance?

Could you have answered that?
ownership A migration you led 5 of 6
Can you describe a migration project you led, including any challenges faced and how you overcame them?
What a strong answer covers

Names the system migrated and rationale for the migration; discusses specific technical challenges encountered; describes the strategies used to mitigate risks; details the testing process to ensure data integrity; reflects on the overall impact of the migration on the team or business.

The follow-up you would get

What unexpected issues arose during the migration?

Could you have answered that?
scenario Data Pipeline Design 6 of 6
You need to implement a new feature that requires you to aggregate data from multiple sources in real-time. What considerations do you have in your design?
What a strong answer covers

Assesses the throughput and latency requirements of the end-users; selects appropriate data streaming technologies; designs for idempotency to handle duplicate messages; ensures schema evolution compatibility between source systems; plans for dynamic scaling based on load.

The follow-up you would get

You realise one of the sources is not real-time capable. How do you adapt your design to accommodate this?

Could you have answered that?
That is this set.

Load six more — you will get questions you have not seen first.

Give me six more →

Say your answer out loud before revealing. Reading the answer first feels like learning and is not.