Data Engineer Interview Questions
Practice 140 real Data Engineer interview questions for 2026. Covers companies like Meta, TikTok, Rbcroyalbank, Capital One, and Amazon — real Data Engineer interview questions from actual interviews with detailed solutions to help your interview preparation. Expect the loop to emphasize production-grade SQL, scalable ETL and pipeline design, distributed-processing tooling (Spark/Kafka), data modeling for analytics and OLAP, and data-quality/observability trade-offs alongside behavioral and product-sense conversations tied to metrics. What’s distinctive: hiring teams now prioritize shipping reliable pipelines and diagnosing failures in production over pure algorithmic puzzles, so you’ll be evaluated on writing efficient windowed SQL, designing fault-tolerant pipelines, choosing storage and partitioning strategies, and explaining trade-offs around latency, cost, and observability. To prepare, practice timed SQL and Python exercises, sketch end-to-end pipeline designs with concrete components (Airflow, Kafka, S3/BigQuery/Redshift), rehearse STAR stories about ownership and incident response, and run mock interviews that simulate debugging a broken pipeline under time pressure.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Define success metrics for a social feed
Define Success Metrics for a Social Feed Feature You are evaluating a change to the main social feed in a large-scale consumer app. Assume events are ...
Visualize Netflix metric trends
Visualizing a Streaming Metric for Netflix Prompt Choose one streaming metric (for example, Daily Active Viewers or Average Watch Duration) and descri...
Generate All Well-Formed Parenthesis Strings
A string of parentheses is called well-formed if every opening bracket ( has a matching closing bracket ) and the brackets are correctly nested. For e...
Design a Pipeline to Process a Billion Clickstream Events Per Day
You are designing the data infrastructure for a large consumer web/mobile product. The product emits a clickstream: every page view, tap, scroll, and ...
Implement a Weighted Eviction Cache
Design an in-memory cache whose capacity is limited by total weight rather than by the number of entries. Each entry has: - a key - a value - a positi...
Design a scalable URL shortener
Question Design a highly scalable URL shortening service (like bit.ly / TinyURL) that converts long URLs into short links and supports redirection. Co...
Compute User Login Streaks
Given a table user_login_log with the following columns: - user_id: the user identifier - login_date: the calendar date of a login event A user may ha...
Implement RotatingFileSink in hierarchy
You are given an existing Python 3.10 codebase with an abstract base class RecordSink (from abc import ABC, abstractmethod) that defines open() -> Non...
Write SQL and merge linked lists
The technical interview included two coding-style tasks: 1. SQL analytics task You are given three tables: - customers(customer_id, customer_nam...
Compute Max Score From Up to 3 Categories
You are implementing a scoring function for a library summer reading program. Each book a student read is represented as a tuple (category: str, point...
Count Special Index Pairs
Given an integer array nums of length n, count the number of index pairs (i, j) such that: - 0 <= i < j < n - nums[i] * nums[j] is even - j - i is odd...
Solve library coding tasks in Python
Implement the following Python tasks: 1) Given a list of (category, points) for books, choose up to 3 books with all different categories to maximize ...
Compute unique duration by merging intervals
Problem You have an autonomous-driving clip dataset where each row represents a time interval from a driving run. Table: clips | column | type | descr...
Check carpool trip feasibility
You are given a list of trips where each trip i is (passengers_i, start_i, end_i) with start_i < end_i on a one-dimensional route. A single vehicle wi...
Find top 3 books by total borrowed time
Using copies(copy_id, book_id) and checkouts(copy_id, checkout_date, return_date), compute for each book_id the total borrowed duration as the sum ove...
Solve Python and SQL data tasks
Complete both tasks: 1) Python: Implement a function flatten(nested) that takes a list whose elements are integers or arbitrarily nested lists of inte...
Compute capacities after site closures
You are given a nested dictionary redistribution where redistribution[closed_site][dest_site] equals the additional capacity required at dest_site if ...
Solve four algorithmic library problems
Solve the following coding tasks: 1) Maximum Points from Different Categories: Given an array of items (category, points) and an integer k, choose exa...
Discuss conflicts, deadlines, and persuasion
Behavioral and Leadership Prompts for a Data Engineer (Onsite) Context: You are interviewing for a Data Engineer role. Answer each prompt with specifi...
Write SQL for Transactions and Customers
You are given two tables: - customers(customer_id INT PRIMARY KEY, signup_date DATE, region VARCHAR, segment VARCHAR) - transactions(transaction_id IN...