System Design Interview Questions

Review this list of 359 system design interview questions and answers verified by hiring managers and candidates.
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "FN Given text need to figure out is it following guidelines. Should notify the user in case of not following guidelines. Reason for failure should have misleading/spam/adult filters. NFN High availability High Scalability Low latency of processing Estimations 1M requests/min text - 10kb => 9.5GB/min => 14TB/day API fetchmoderationscore(text) score will be between 0 to 1 more than 0.8 => not following guidelines fetchmoderationscore(text, filter)"

    Deepak K. - "FN Given text need to figure out is it following guidelines. Should notify the user in case of not following guidelines. Reason for failure should have misleading/spam/adult filters. NFN High availability High Scalability Low latency of processing Estimations 1M requests/min text - 10kb => 9.5GB/min => 14TB/day API fetchmoderationscore(text) score will be between 0 to 1 more than 0.8 => not following guidelines fetchmoderationscore(text, filter)"See full answer

    Machine Learning Engineer
    System Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Functional Requirement Upload the file of any type POST v1/drive Upload the another version of file. POST v1/drive/{fileId} Delete the file. DELETE v1/drive/{fileId} Share the file. POST v1/drive/{fileId} Control the access level of the file. Provide the file accessibility following the directory structure. Non Functional Requirement Reliability: The file along with its versions uploaded should be"

    Vikash A. - "Functional Requirement Upload the file of any type POST v1/drive Upload the another version of file. POST v1/drive/{fileId} Delete the file. DELETE v1/drive/{fileId} Share the file. POST v1/drive/{fileId} Control the access level of the file. Provide the file accessibility following the directory structure. Non Functional Requirement Reliability: The file along with its versions uploaded should be"See full answer

    Software Engineer
    System Design
    +1 more
  • Visa logoAsked at Visa 
    Software Engineer
    System Design
  • Paytm logoAsked at Paytm 
    Backend Engineer
    System Design
    +1 more
  • Google logoAsked at Google 
    BizOps & Strategy
    System Design
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • +2

    "Clarifying questions: Q: So FB locals is a standalone app that has reviews of local businesses? What is the current state of the product? A: Yes. It recently relaunched and branded. Facebooks mission is to connect people and help them build community, FB local fits into this by using the power of the large social network to surface businesses and events and uses signals such as reviews to build trust and provide value. So its of the utmost importance that the reviews are authentic. Goal: I"

    Anonymous Hummingbird - "Clarifying questions: Q: So FB locals is a standalone app that has reviews of local businesses? What is the current state of the product? A: Yes. It recently relaunched and branded. Facebooks mission is to connect people and help them build community, FB local fits into this by using the power of the large social network to surface businesses and events and uses signals such as reviews to build trust and provide value. So its of the utmost importance that the reviews are authentic. Goal: I"See full answer

    System Design
    Product Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Machine Learning Engineer
    System Design
    +1 more
  • +4

    "Assumption: I’m estimating the minimum number of trains required to fulfil maximum demand I’m including all trains that’s serving NYC Formula: Before I state my formula, I would like to mention a few things I will be calculating the number of trains required to fulfill all demand at the peak time during a workday. I assume peak time lasts for 2 hours I’m assuming that a train takes 2 hours to complete one roundtrip on its route, which means any given train can service rider"

    Qusai B. - "Assumption: I’m estimating the minimum number of trains required to fulfil maximum demand I’m including all trains that’s serving NYC Formula: Before I state my formula, I would like to mention a few things I will be calculating the number of trains required to fulfill all demand at the peak time during a workday. I assume peak time lasts for 2 hours I’m assuming that a train takes 2 hours to complete one roundtrip on its route, which means any given train can service rider"See full answer

    System Design
    Estimation
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'Design a streaming service like Netflix.'

    "using a relational database isn't a good choice for this system! we need more availability here than consistency (CAP theorem)"

    Anonymous Capybara - "using a relational database isn't a good choice for this system! we need more availability here than consistency (CAP theorem)"See full answer

    Engineering Manager
    System Design
    +3 more
  • Twitter logoAsked at Twitter 
    Video answer for 'Design Twitter's API.'
    System Design
    Technical
  • "I've watched all the ML Systems designs interviews and this solution provides a clean baseline for predicting ETA using historical averages, but it falls short of addressing the broader problem of route planning. The system predicts ETA for a given segment and time interval, but it doesn’t explain how to compute the ETA for an entire route or how to integrate this into dynamic path selection. It also lacks depth on handling real-time data, adapting to distribution shift, or reacting to sudden"

    Clayton P. - "I've watched all the ML Systems designs interviews and this solution provides a clean baseline for predicting ETA using historical averages, but it falls short of addressing the broader problem of route planning. The system predicts ETA for a given segment and time interval, but it doesn’t explain how to compute the ETA for an entire route or how to integrate this into dynamic path selection. It also lacks depth on handling real-time data, adapting to distribution shift, or reacting to sudden"See full answer

    System Design
    Machine Learning
  • System Design
    Machine Learning
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Evication Strategy: LFU Access Pattern: Write Around"

    Yomna H. - "Evication Strategy: LFU Access Pattern: Write Around"See full answer

    Software Engineer
    System Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    +1

    "Question Design a product for P2P borrowing & lending money Clarifications Is this only P2P borrowing/lending or can financial entities participate too? - P2P only Is it to borrow/lend physical cash/digital money/cryptocurrency? - digital fiat money Are we focusing on specific geography? - US What’s the goal of this product? - Retention Are there any resource constraints? - No What’s the timeline to launch MVP? - 6 months FB Mission Empower people to build commun"

    Amit T. - "Question Design a product for P2P borrowing & lending money Clarifications Is this only P2P borrowing/lending or can financial entities participate too? - P2P only Is it to borrow/lend physical cash/digital money/cryptocurrency? - digital fiat money Are we focusing on specific geography? - US What’s the goal of this product? - Retention Are there any resource constraints? - No What’s the timeline to launch MVP? - 6 months FB Mission Empower people to build commun"See full answer

    Product Manager
    System Design
    +1 more
  • Amazon logoAsked at Amazon 
    Video answer for 'Design Prime Video.'
    +8

    "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"

    Nilanjan D. - "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"See full answer

    System Design
  • Amazon logoAsked at Amazon 
    Video answer for 'Design a URL shortener.'
    +19

    "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."

    Yag S. - "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."See full answer

    Engineering Manager
    System Design
    +1 more
  • Google logoAsked at Google 
    +2

    "Note: Modifying the question to reflect the storage cost as well. Question: Estimate the cost of storing google photos on the photos app? Clarifying questions: Google photos - an app that syncs automatically to your camera app and uploads photos to Google cloud and reduces the need to store it on your device Cost of 1GB storage $0.002 Time storage cost per year Equation: Cost of storage per year = average cost of storing photos per day x 30 days x 12 months The ave"

    P K. - "Note: Modifying the question to reflect the storage cost as well. Question: Estimate the cost of storing google photos on the photos app? Clarifying questions: Google photos - an app that syncs automatically to your camera app and uploads photos to Google cloud and reduces the need to store it on your device Cost of 1GB storage $0.002 Time storage cost per year Equation: Cost of storage per year = average cost of storing photos per day x 30 days x 12 months The ave"See full answer

    Product Manager
    System Design
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Machine Learning Engineer
    System Design
  • Technical Program Manager
    System Design
Showing 121-140 of 359