AI & Technical question

How would you decrease the amount of storage needed for storing e-mail messages for Gmail?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

AI and technical product thinking: can you propose concrete storage-reduction mechanisms and reason about their tradeoffs for a mail product at massive scale.

How to approach it

  1. Identify the biggest storage drivers: attachments (images, documents) typically dwarf plain text in storage footprint.
  2. Propose deduplication: many users receive identical attachments (e.g. newsletters, shared files) that could be stored once and referenced, not duplicated per mailbox.
  3. Propose compression and format optimization: more aggressive compression for older, rarely-accessed attachments and images, with a tradeoff of slightly slower retrieval.
  4. Propose tiered storage: move old, rarely-accessed emails to cheaper, slower cold storage automatically, reserving fast storage for recent/active mail.
  5. Consider a policy lever: default auto-archiving or prompting users to delete old large attachments they no longer need, with user consent and control.
  6. Define success: total storage cost per user reduced, while keeping retrieval latency for recently accessed mail unaffected.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from Google

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank