Google data engineer interview questions and how the loop runs
Google data engineer interview questions center on SQL and Python over very large datasets, data modeling for analysts, and pipeline design where volume, late data and cost all matter. Candidates usually describe a recruiter call, a technical screen, then several interviews that mix coding, design and a Googleyness conversation. Prepare to reason about scale out loud, because interviewers write down how you think, not only where you land.
By Evin JohnPublished 7 min read
Which data engineering job is this?
Before you prepare, work out which kind of data engineer the posting describes. Some roles sit in Google Cloud and face customers: you help companies design warehouses, migrate pipelines and get value from BigQuery and Dataflow. Others sit inside a product, finance, sales or operations group and build the tables and pipelines that internal analysts depend on. The first kind leans on Google Cloud product depth and explaining designs to a client. The second leans on modeling, SQL quality and knowing how a metric gets from a log line to a dashboard.
Either way, this loop differs from the software engineer loop in the Google software engineer guide. Candidates report less emphasis on hard algorithm puzzles and more on data manipulation, modeling and pipeline judgment. The role-agnostic fundamentals (idempotent loads, slowly changing dimensions, ETL versus ELT) are on the data engineer interview questions page; this page assumes them and adds what Google tends to probe.
How the Google data engineer loop tends to run
Google publishes a general description of how it hires on its careers site, including structured interviews and the broad qualities it assesses. Round counts and order are not published for this role and vary by team, level and country, so treat the steps below as the pattern candidates most often describe.
- Recruiter conversationYour background, the kind of data work you want, and logistics. Ask whether the role is Cloud-facing or internal, and which languages the screen uses.
- Technical screenUsually a video call with SQL, Python or both in a shared editor. Many candidates say the code is read rather than run, so syntax care and talking through test cases matter.
- Interview loopSeveral interviews, often virtual: coding on data problems, a modeling or pipeline design discussion, role knowledge, and a conversation on Googleyness and leadership.
- Review and team fitGoogle has long been reported to decide through a review of interviewers' written feedback rather than one person's call, sometimes followed by conversations with specific teams.
What Google tends to look for in data engineers
- Reasoning at scale. You estimate rows, bytes and growth before choosing a design, and you know what a full scan of a large table costs in time and money.
- Correctness when jobs rerun. Late events, duplicate deliveries and backfills do not change the answer, because you designed for them up front.
- SQL that others can read. Named steps, clear grain, and comments where a business rule hides, so an analyst can trust the table without asking you.
- Modeling for the reader. Tables shaped around the questions analysts ask, with partitioning and clustering chosen from real query patterns.
- Clarity with people. You turn a vague request into a written definition and keep stakeholders informed when data is wrong. This is where Googleyness questions land; the Google behavioral guide covers the themes in depth.
30 Google data engineer interview questions by round
These are common question types for the role, in our own words. Read the middle column first: it names the skill the interviewer is scoring, which tells you what to say out loud.
Technical screen: SQL on event data
| Question | What it tests | What a strong answer shows |
|---|---|---|
| From a table of video plays, return each user's three most-watched channels this month. | Ranking within groups | A ranked window partitioned by user, a tie rule stated aloud, and a date filter applied before the ranking. |
| Compute seven-day rolling active users from a daily login table. | Window frames and distinct counts | You notice a distinct count cannot slide cheaply and join each day to its trailing window, or build a per-user daily table first. |
| Find search sessions where the user searched again within two minutes without clicking. | Sequencing with LAG/LEAD | Ordering by timestamp per user, checking the next event type, and saying how you would treat clock skew. |
| A daily revenue query doubles one day. How do you find out why? | Debugging joins | You check for a fan-out join first, compare row counts before and after each join, and isolate the duplicated key. |
| Write a query that returns the median order value per country. | Percentiles in SQL | An approximate quantile function where acceptable, or an exact method with row numbering, and why approximate is often fine at this size. |
| A query scans a whole year of data to report one day. Fix it. | Partition pruning | Filter directly on the partition column without wrapping it in a function, and check the bytes estimate before running. |
Coding round: Python for data work
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Merge several sorted log files into one sorted stream without loading them all. | Streaming and heaps | A min-heap holding one line per file, constant memory per file, and the time complexity stated. |
| Parse nested JSON events and flatten them into rows, keeping bad records aside. | Robust parsing | Explicit handling of missing keys, a dead-letter list for bad input, and a small test with one broken record. |
| Deduplicate a stream of events by ID when duplicates can arrive hours apart. | State and memory limits | You ask about the time window, bound the state with expiry, and mention a probabilistic structure if memory is tight. |
| Given user sessions as start and end times, find the peak number of concurrent sessions. | Sweep-line thinking | Sort start and end points, walk them once, and handle a session that ends exactly when another begins. |
| Write a function that splits a date range into daily partitions for a backfill. | Practical correctness | Inclusive or exclusive ends decided out loud, time zones considered, and an empty range handled. |
| Sample one record uniformly from a stream of unknown length. | Reservoir sampling | The algorithm, why each record ends with equal probability, and how it extends to k records. |
Data modeling
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Model the tables behind an ads performance dashboard. | Grain and conformed dimensions | Impression and click facts at a stated grain, shared campaign and date dimensions, and where conversions join late. |
| Analysts want a single wide table. When would you give them one? | Denormalization judgment | Yes for a stable, heavily queried use case in a columnar warehouse; no when attributes change often and history matters. |
| When would you use nested and repeated fields instead of a separate table? | Columnar modeling | Nesting for data that is always read with its parent, like order lines, and a separate table when it is queried on its own. |
| How would you keep history of a store's opening hours as they change? | Slowly changing data | Validity dates per version, a current flag, and how a fact joins to the version true at that time. |
| How do you choose the partitioning and clustering for a large events table? | Physical design from usage | Partition on the date most queries filter by, cluster on the columns used in filters and joins, and check the query logs to confirm. |
| Two teams define "active user" differently. What do you do in the model? | Metric governance | One documented definition in a shared layer, named variants if both are needed, and an owner for each. |
Pipeline and system design
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Design a pipeline from mobile app events to an hourly metrics table. | End-to-end design | Ingestion through a message queue, a streaming or micro-batch job, a landing table and a modeled table, with freshness and cost targets stated. |
| Events can arrive up to a day late. How does your streaming job handle them? | Event time and watermarks | Windows by event time, an allowed lateness, updates to already-written results, and a daily reconciliation batch. |
| Pub/Sub delivered a message twice. Where do duplicates get removed? | Delivery semantics | At-least-once delivery assumed, a unique event ID, and deduplication or idempotent writes at the sink. |
| Batch with scheduled queries, or a Dataflow streaming job? | Choosing complexity | Start from the freshness the business needs; choose the simpler batch path unless minutes truly matter. |
| A customer wants to move a large on-premises Hadoop warehouse to Google Cloud. Plan it. | Migration judgment | Inventory and dependencies, a first low-risk dataset, parallel runs with reconciliation, and a cutover plan per consumer. |
| Your warehouse bill tripled this quarter. Investigate. | Cost ownership | Find the top queries by bytes processed, fix missing partition filters, materialize repeated work, and set budgets with alerts. |
Googleyness and leadership for data roles
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Tell me about a time a number you published turned out to be wrong. | Ownership and humility | You told the users quickly, corrected it, explained the cause, and added a check that would have caught it. |
| Describe a request where nobody could say what they needed. | Comfort with ambiguity | You wrote a draft definition, checked it against a decision the requester faced, and iterated. |
| When did you push back on a data request because it would mislead? | Doing right by users | Evidence for the concern, an alternative that answered the real question, and respect for the final call. |
| Tell me about work you did that made another team faster. | Collaboration | A shared table, tool or document others adopted, and how you know it helped. |
| What would you do if an executive asked for a metric by tomorrow that needs a week of work? | Hypothetical: trade-offs | A labelled rough version now, the caveats in writing, and the reliable version on a stated date. |
| Tell me about something you automated that nobody asked you to. | Initiative | The time or error it removed, how you got others to rely on it, and who maintains it now. |
Walking through a design prompt
A design prompt for this role often sounds like: "Build the data behind a daily dashboard of watch time by country and device." Interviewers are listening for an order of thinking more than a diagram, so say each step before you draw it.
- Pin down the questionWho reads the dashboard, what decision it drives, how fresh it must be, and how watch time is defined when a video is paused or replayed.
- Estimate the volumeEvents per day, bytes per event and retention. The numbers decide whether you can rescan raw data daily or need incremental processing.
- Lay out the layersRaw events kept as received, a cleaned table with deduplication and types, and an aggregate partitioned by date for the dashboard.
- Handle the hard casesLate events, device clocks that are wrong, users who change country, and a backfill after a bug fix.
- Make it trustworthyRow-count and freshness checks between layers, an owner on call for failures, and documentation of the metric definition.
Fictional example
- Interviewer
- Tell me about a time a number you published turned out to be wrong.
- Candidate
- I owned the weekly retention table for a subscription app. A product manager noticed retention jumped six points in one week with no launch to explain it.
- Candidate
- I traced it within a day. A logging change had started sending a background refresh as an app open, so dormant users looked active. I posted a note in the team channel that afternoon, marked the affected weeks as unreliable on the dashboard, and rebuilt them by filtering on the event's foreground flag.
- Candidate
- Then I added a check that alerts when daily opens per user move more than a set amount week over week. It caught a similar change two months later before anyone saw the numbers. What I would do differently is ask to review logging changes that touch core events; I set that up afterwards.
A three-week practice plan
- Week 1, SQL and Python. One window-function problem and one data-processing function a day, written in a plain editor and checked by hand before running.
- Week 2, modeling and design. Model three businesses you know (a video app, a delivery service, an ad platform) and talk through one pipeline design per day with volume numbers.
- Week 3, Google context. For Cloud-facing roles, review BigQuery partitioning and pricing, Dataflow windowing and Pub/Sub delivery. For every role, prepare six stories for the Googleyness themes and run two full mock loops.
When you run those mock loops, record them with Natively, an AI interview assistant for Mac and Windows. It transcribes both sides of the call so you can see whether you stated volumes and grain before designing, and in practice it can suggest an answer drawing on the résumé and job description you add (Pro or the free trial). For a SQL or Python problem shared as an image, it can read the screenshot and propose an approach, which helps you check your reasoning between attempts. If you also have an Amazon data engineer process running, compare how differently the two loops weigh stories and design.
Questions people ask
What questions are asked in a Google data engineer interview?
Mostly SQL with window functions on event data, practical Python, a data modeling question, a pipeline design discussion and behavioral questions on Googleyness themes such as ambiguity and collaboration. Cloud-facing roles add questions on BigQuery, Dataflow and Pub/Sub.
How many rounds is the Google data engineer interview?
Google does not publish a fixed count for this role. Candidates usually describe a recruiter call, a technical screen and then a loop of several interviews, and the format varies by team, level and country.
Do I need to know Google Cloud for a Google data engineer interview?
For customer-facing Google Cloud roles, yes: expect questions on BigQuery design, Dataflow and Pub/Sub. For internal data roles, interviewers care more about modeling, SQL quality and pipeline principles than product names.
How should I prepare for the Google data engineer loop?
Practice SQL and Python in a plain editor without running the code, model a few familiar businesses, rehearse pipeline designs with volume estimates, and prepare six true stories for the behavioral conversation.
Where to go next
Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.
Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.
