Google interview prep · updated Oct 2026

Google Backend Developer Interview Questions

Backend Developer 8 questions

Backend work at Google sits behind products that serve a very large number of requests: search, Gmail, YouTube, Maps and shared documents. Prepare to design systems that store and find huge amounts of data, that answer in a fraction of a second, and that keep working when machines fail. Also prepare stories about code reviews, about making a service simpler, and about a change that went wrong. What to show here: simple designs that stay correct at very large size. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.

System Design

1. Design the backend of a web crawler that revisits pages to keep a search index fresh, without putting too much load on any one website.

What they are checking
Checks whether you can design a large distributed job with fairness, priorities and failure handling.
Answer frame
  1. Clarify goals: freshness, coverage, politeness to sites.
  2. Describe the queue of addresses, grouped by site, with a rate limit for each.
  3. Decide how often each page is revisited.
  4. Cover duplicates, traps and machine failure.
Sample spoken answer

“I would split it into a store of known addresses, a scheduler and many fetch workers. The scheduler groups addresses by website and allows each site only a few requests in a given time, following the rules the site publishes for crawlers. How often a page is revisited depends on how often it changed before: a news front page often, an old article rarely. Workers fetch, store the content and extract new links. I would detect duplicate content with a hash of the page, and cap depth on each site to avoid endless generated pages. If a worker dies, its addresses return to the queue after a time-out.”

Red flag to avoid

Weak answers fetch as fast as possible with no limit per site, or revisit every page at the same interval.

System Design

2. A person uploads a long video to YouTube from a phone. Design what happens on the backend between the upload and the video being watchable in several qualities.

What they are checking
Checks whether you can design a pipeline of slow jobs with resumable steps, parallel work and clear status.
Answer frame
  1. Accept the upload in chunks so it can resume.
  2. Store the original and queue processing jobs.
  3. Split the video and convert the pieces in parallel to each quality.
  4. Publish when the first quality is ready and handle failures.
Sample spoken answer

“Uploads from phones break often, so I would accept the file in chunks and let the app resume from the last confirmed chunk. When complete, the original goes to durable storage and a message goes on a queue. Workers split the video into short segments and convert each segment to several qualities in parallel, so a long video does not wait on one machine. A failed segment is retried alone. I would make the video watchable as soon as a low quality is ready, and add higher qualities as they finish. A status record lets the uploader see progress. Other checks run as separate jobs from the same queue.”

Red flag to avoid

Weak answers convert the whole file on one machine in one step, or make the uploader start again after a broken connection.

Technical

3. Two people type in the same paragraph of a shared document at the same moment. How does the server make sure both end up seeing the same text?

What they are checking
Checks whether you understand concurrent edits, ordering and convergence, beyond simply locking the document.
Answer frame
  1. Explain why last write wins loses work.
  2. Send small operations, not whole documents.
  3. Let the server order operations and adjust each against those it has not seen.
  4. Mention offline edits and reconnecting.
Sample spoken answer

“Saving whole documents would mean the second save wipes out the first person's words. So each client sends small operations, like insert these letters at this position, along with the version it was based on. The server puts the operations in one order. If an operation was based on an older version, the server adjusts its position to account for the edits that came in between, then applies it and sends it to everyone. Each client does the same adjustment for its own pending edits. This way all copies reach the same text. For someone who was offline, the client replays its queued operations on reconnect.”

Red flag to avoid

Weak answers lock the whole document for one writer, or accept that the last save overwrites the other person's work.

Technical

4. How would you build the index that tells you which web pages contain a given word, and keep it up to date as pages change?

What they are checking
Checks your knowledge of inverted indexes, how they are split across machines, and how updates are handled.
Answer frame
  1. Describe the inverted index: word to list of pages.
  2. Explain how lists are stored sorted and compressed, and how two lists are intersected.
  3. Split the index across machines.
  4. Handle updates with small new indexes merged later.
Sample spoken answer

“I would build an inverted index: for each word, a sorted list of the pages that contain it, with positions if we want phrases. A query with two words intersects two lists, which is fast because both are sorted. The lists are compressed, since page numbers close together can be stored as small gaps. The index is too large for one machine, so I would split it by page across many machines, query them all and merge the results. Rewriting a huge index for each changed page is too costly, so new and changed pages go into a small fresh index that is searched as well, then merged into the main one.”

Red flag to avoid

Weak answers scan page text at query time, or cannot say how a changed page gets into the index.

Behavioral

5. Tell me about a time you made a service more reliable by removing something from it rather than adding to it.

What they are checking
Checks whether you value simplicity and can show judgment about what a system does not need.
Answer frame
  1. Describe the service and its reliability problem.
  2. Explain what you identified as not needed.
  3. Show how you removed it safely.
  4. Share the effect.
Sample spoken answer

“I worked on your project, a service that had two caches and a fallback path to an old database. Most of our incidents came from those parts disagreeing with each other. I measured and found the second cache saved very little time, and the fallback path had not been used for real in a long while. I proposed removing both. To be safe, I first logged every time they were used, then turned them off behind a flag for two weeks before deleting the code. Afterwards the service had your result, and new team members could understand it in a day.”

Red flag to avoid

Weak answers only ever add layers, such as more retries and more caches, to fix reliability problems.

Behavioral

6. Describe a code review where the reviewer asked for large changes to something you thought was finished. How did you respond?

What they are checking
Checks how you take criticism of your work and whether you use review to improve, not to defend.
Answer frame
  1. Describe the change and the feedback.
  2. Explain your first reaction honestly.
  3. Show how you worked through it with the reviewer.
  4. Share the outcome and what you learned.
Sample spoken answer

“I had written a batch job for your project and sent it for review feeling done. The reviewer asked me to restructure it so each step could be retried alone, which meant rewriting half. My first reaction was annoyance, because it worked. I waited a day, then asked for a short call to understand the concern. She showed me a past incident where a similar job failed at the last step and had to rerun for hours. I made the change. Two months later my job failed mid-way and resumed from the failed step. I now ask for design review before writing the code.”

Red flag to avoid

Weak answers argue until the reviewer gives up, or accept every comment without understanding the reason.

Scenario

7. After a configuration change, a spam filter starts moving real email into the spam folder for some people. What do you do?

What they are checking
Checks how you handle a fault that silently harms users: fast rollback, finding who was affected and repairing the harm.
Answer frame
  1. Confirm the link to the change and roll it back.
  2. Measure who was affected and for how long.
  3. Repair: move wrongly marked mail back.
  4. Add checks so a bad configuration is caught early.
Sample spoken answer

“People may be missing important mail, so I would first roll the configuration back, even before I fully understand the fault. Then I would measure the damage: which users, and which messages were marked as spam during that window that would not have been before. Stopping the fault is not enough. Those messages should be moved back to inboxes, or the users told clearly. Then I would find why the change passed checks. I would want configuration changes released to a small share of users first, with an alarm on any jump in the rate of mail marked as spam.”

Red flag to avoid

Weak answers stop at the rollback and leave wrongly filtered mail sitting in spam folders.

Why this company

8. Why do you want to build backend systems for products like search, Gmail and YouTube, where a request must be answered in a moment from a huge store of data?

What they are checking
Checks whether the specific engineering problems here attract you, and whether you can speak about them concretely.
Answer frame
  1. Name the backend problems you enjoy.
  2. Link them to storing and finding data at huge size.
  3. Give a related experience.
  4. Say what you hope to learn.
Sample spoken answer

“The problems I enjoy most are about finding the right small piece of data in a very large store, quickly. Search, mail and video all have that at their centre. In my current work on your project, I learned how much an index design or a storage layout changes what is possible. Here those choices matter at a size where a small waste is multiplied enormously, so engineers have to be careful and measure everything. I want that discipline. I also like that the products are used by ordinary people every day, so the work is easy to explain to my family.”

Red flag to avoid

Weak answers mention prestige or perks and cannot describe a technical problem they want to work on.

Salary questions come last

No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.

For the call itself

The questions above are the prep. On the real call, ClapAssist helps with the ones you did not practice.

ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.

Download with 10 free minutes
Mac and Windows · Stays out of screen share · No card