AI Interview Assistant for Data Engineers
Data engineering interviews test whether you can design a pipeline that recovers safely and write SQL that keeps totals correct. Use Hiintly to capture a schema, query or pipeline diagram and get response suggestions based on spoken questions and the discussion so far.
What to rehearse before a data engineering interview
- Trace a batch that fails after a warehouse write. Say what the retry reads and which rows it can still change.
- Work through a join on paper. Name what one row represents in each input and check the total against the source rows.
- Capture the diagram or query in Hiintly, then ask for a follow-up suggestion after adding a late record or changing the reporting grain aloud.
Recover an orders pipeline after a failed run
Finance wants a daily report of paid order value by order date. The source sends an order ID, a version and the full state of the order on each change. Events may arrive out of order, and yesterday’s paid order can be canceled today.
“The warehouse write succeeded, but the job failed before saving its checkpoint. What happens on retry?”
Monday: merge the batch before saving the checkpoint
Keep raw events for replay and read new batches by source offset. Within a batch, keep the highest version of each order and merge it into a current-state table keyed by order ID. Update existing rows only when the incoming version is newer. Save the source checkpoint after the merge succeeds.
On restart: replay without double counting
The job reads the same events because the checkpoint has not moved. The same version leaves the existing row as it is. If an older version arrives later, the version check also prevents it from restoring stale state.
Tuesday: apply a cancellation to the original date
Monday closes at $1,000. An $80 order was paid at version 1, but its cancellation arrives on Tuesday at version 2. The merge changes the order to canceled. Since the report groups the current paid rows by original order date, Monday’s total drops to $920. Replaying version 2 or receiving version 1 again leaves it at $920.
Rehearse the handoff to Finance
Capture the diagram and order fields in Hiintly. Say where the failure occurred and ask for a suggestion that traces the same batch through the retry. Introduce the late cancellation aloud and explain why Monday changes once. For a round that also asks you to estimate load or defend the architecture, see the system design interview assistant.
Reconcile a SQL report that overcounts revenue
A report joins order items to refunds on order ID. It then sums item amounts and subtracts refunds. One order has items worth $60 and $40 and two refunds of $10 and $5. The dashboard shows $170 in net revenue for that order.
Count the rows before summing amounts
Both tables have two rows for the order, so joining them creates four rows. Each item and each refund gets counted twice. Aggregate items and refunds separately to one row per order, then left join refund totals to item totals. Treat a missing refund total as zero. This order now comes out to $100 minus $15, or $85. Test an order with no refunds too. It should still appear with its full item total.
In Hiintly, capture the query and sample rows. Ask for a suggestion that walks through the four joined rows and names the grain of each input before proposing a fix.
Check whether the data can answer the follow-up
The interviewer asks for net revenue by product. Items carry a product ID, but refunds only carry an order ID, so the query cannot determine which product was refunded. Ask for item-level refund data. If Finance accepts a proportional allocation and the items are different products, allocate $9 to the $60 item and $6 to the $40 item. The allocated net amounts are $51 and $34 and still sum to $85. Label them as allocated amounts so they aren’t mistaken for actual product-level refunds.
Say the new reporting requirement aloud and request a follow-up suggestion that checks what the schema can support. To practice the joins and aggregations separately, use the SQL interview questions guide. To work through a spoken change to a query requirement, follow the SQL assistant’s ranking and left-join example.
Bring a pipeline incident from your own work
Add your resume and the job description when you set up the session. Use Extra Instructions to describe a pipeline you worked on, the part you owned and a decision you can defend. If you handled late events, say how late they could arrive, how you reprocessed them and what you checked before publishing corrected data.
Start with a written schema or design prompt. Capture it, explain your first approach aloud, then change one requirement and request a suggestion for the follow-up. For a Python round, use Hiintly’s coding interview copilot with sample input that includes a malformed record or a duplicate event.
Data engineer interview FAQ
What data engineer interview questions should I practice?
Practice writing SQL at a specified grain, modeling data for a reporting question and designing a pipeline you can rerun safely. For each exercise, ask what changes when a source record is missing, duplicated or corrected. For a project round, prepare an example where you diagnosed a data issue and verified the fix.
What Python questions come up in data engineering interviews?
Practice parsing input records, handling malformed values and processing a file in batches. One exercise is to validate a stream of JSON records against required fields, send invalid rows to a separate output and report how many rows failed. Explain how your approach handles an input larger than memory.
How should I explain batch versus streaming in a system design interview?
Start with how fresh the data needs to be. If Finance closes its report once a day, a scheduled batch may meet the requirement. If an operations dashboard needs changes within a few seconds, explain how a continuously running pipeline would handle out-of-order events, recovery and monitoring.
How would you backfill a table without interrupting the live pipeline?
Start with a bounded date range and build the historical data in a separate table or partition. Validate counts and totals against the source, then publish the corrected range with a partition replacement or a keyed merge. Agree on how the backfill and live jobs will handle overlapping records before running them together.
What do I check when a data pipeline is late but its jobs are green?
Compare the latest source event available with the latest event in the output, and check when each stage last received input. A scheduled job can finish successfully after processing zero rows. Track data freshness and row counts alongside job status so that an upstream delay is visible.
Can Hiintly help when a SQL prompt is on screen and the follow-up is spoken?
Yes. Use the screenshot action to submit the written query, table schema or sample rows. When the interviewer changes the requirement aloud, request another suggestion using the spoken question and the conversation so far.
Practice a data engineer interview
Bring a SQL prompt or a pipeline you’ve built and rehearse what you would do when the requirements change.