System Design Interview Questions

Review this list of 375 System Design interview questions and answers verified by hiring managers and candidates.
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Engineering Manager
    System Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    +1

    " import lombok.*; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java."

    Yash G. - " import lombok.*; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java."See full answer

    Engineering Manager
    System Design
    +2 more
  • +1

    "It depends on how computers are distributed. Are they located within same network (behind same switch or router) or distributed across globally? Also, it depends upon if there are any security related encryption or decryption algorithms being executed. Similarly, there are so many factors involved in it. However, if a system is highly responsive then this time might be less than 1 second. For example, any google search responds in less than 1 sec. It is an interesting question and I am eager t"

    Rashmi T. - "It depends on how computers are distributed. Are they located within same network (behind same switch or router) or distributed across globally? Also, it depends upon if there are any security related encryption or decryption algorithms being executed. Similarly, there are so many factors involved in it. However, if a system is highly responsive then this time might be less than 1 second. For example, any google search responds in less than 1 sec. It is an interesting question and I am eager t"See full answer

    System Design
    Technical
  • Stripe logoAsked at Stripe 

    "TCP server/client to facilitate high throughput of incoming metrics.(This is the standard used in the industry by Datadog etc). NoSQL or timeseries database for storing metrics. Timeseries databases are better for aggregating metrics in a given time period. REST API for serving metrics data to visualization frontend."

    Abhi R. - "TCP server/client to facilitate high throughput of incoming metrics.(This is the standard used in the industry by Datadog etc). NoSQL or timeseries database for storing metrics. Timeseries databases are better for aggregating metrics in a given time period. REST API for serving metrics data to visualization frontend."See full answer

    Software Engineer
    System Design
  • "import lombok.*; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.time.LocalDateTime; import java.util.*; @SpringBootApplication public class LldPracticeApplication { public static void main(String[] args) t"

    Yash G. - "import lombok.*; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.time.LocalDateTime; import java.util.*; @SpringBootApplication public class LldPracticeApplication { public static void main(String[] args) t"See full answer

    Engineering Manager
    System Design
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Machine Learning Engineer
    System Design
  • Google logoAsked at Google 

    "What is a "cache controller"? With no more details it's difficult to tell what this question is about."

    Claudia S. - "What is a "cache controller"? With no more details it's difficult to tell what this question is about."See full answer

    System Design
  • " can we use blomfilters to check existing usernames? and if both are creating at a time, like both are choosing some abcd , here system checks whether user with that name exists or not. so while checking , it will add an entry on redis (example) with this name as key and obtain lock using some distributed lock. , it will lock on that name. (like seat booking in bookmyshow) with some TTL value. so this check will happen once user enters his interest username and also while submit .. 2 times che"

    Gk K. - " can we use blomfilters to check existing usernames? and if both are creating at a time, like both are choosing some abcd , here system checks whether user with that name exists or not. so while checking , it will add an entry on redis (example) with this name as key and obtain lock using some distributed lock. , it will lock on that name. (like seat booking in bookmyshow) with some TTL value. so this check will happen once user enters his interest username and also while submit .. 2 times che"See full answer

    Engineering Manager
    System Design
    +2 more
  • "It might not be a good idea to predict stock prices only based on reddit comments. You could create a signal from reddit comments that can indicate "social media interest" and feed it into a ML system (along with other features) that predicts prices. Collecting good data to train the model and evaluating it correctly are going to be huge challenges."

    Satyajit G. - "It might not be a good idea to predict stock prices only based on reddit comments. You could create a signal from reddit comments that can indicate "social media interest" and feed it into a ML system (along with other features) that predicts prices. Collecting good data to train the model and evaluating it correctly are going to be huge challenges."See full answer

    Machine Learning Engineer
    System Design
  • "May I know which tool is being used to draw flow diagram?"

    Tamil selvan R. - "May I know which tool is being used to draw flow diagram?"See full answer

    System Design
  • Amazon logoAsked at Amazon 

    "Functional Requirement Monitor health, metrics Alert in case of failure/anomaly Visualize the live health Analyse machines on periodic basis Non Functional Should not exert load on machines low latency Highly scalable Logs/Metrics Gathering push - machine gather and send to system and low priority background thread along with batching pull - heart beat check (for offline machines) Processing Real time streaming using Kafka/kinesis + Flink TimeSeries database for stor"

    Sourabh G. - "Functional Requirement Monitor health, metrics Alert in case of failure/anomaly Visualize the live health Analyse machines on periodic basis Non Functional Should not exert load on machines low latency Highly scalable Logs/Metrics Gathering push - machine gather and send to system and low priority background thread along with batching pull - heart beat check (for offline machines) Processing Real time streaming using Kafka/kinesis + Flink TimeSeries database for stor"See full answer

    Engineering Manager
    System Design
    +2 more
  • Zillow logoAsked at Zillow 
    Video answer for 'Design Zillow.'

    "What about sharding by Real Estate companies that are listing the homes? Because the homes can span zip codes. Then further shard by zip codes?"

    Adrian V. - "What about sharding by Real Estate companies that are listing the homes? Because the homes can span zip codes. Then further shard by zip codes?"See full answer

    Engineering Manager
    System Design
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Start your stream Use the Post tab to: Choose where to post your live broadcast. Write a description. Select a camera, mic and screen (if screen sharing). Add a title for your live broadcast (optional). Select the primary language of the stream. ... Once everything is set, select Go Live."

    Abdurhman M. - "Start your stream Use the Post tab to: Choose where to post your live broadcast. Write a description. Select a camera, mic and screen (if screen sharing). Add a title for your live broadcast (optional). Select the primary language of the stream. ... Once everything is set, select Go Live."See full answer

    Technical Program Manager
    System Design
    +1 more
  • Technical Program Manager
    System Design
    +1 more
  • System Design
    Product Design
  • "Lyft mission. What do we mean by engagement here? We want higher rides , not just time spent on app. What does social mean? When we create interactions between riders. Lyft line is social. Ideas: Idea: Can we maintain interactions between riders by letting them ride with same people again? Benefit: Increases repeat rides. Idea: Giving riders an option to request a driver they rode with. Benefits: Increases social interaction between riders and drivers. Increases retention and # rides as"

    M N. - "Lyft mission. What do we mean by engagement here? We want higher rides , not just time spent on app. What does social mean? When we create interactions between riders. Lyft line is social. Ideas: Idea: Can we maintain interactions between riders by letting them ride with same people again? Benefit: Increases repeat rides. Idea: Giving riders an option to request a driver they rode with. Benefits: Increases social interaction between riders and drivers. Increases retention and # rides as"See full answer

    System Design
    Product Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Assumptions: This is an entirely new app and not part of FB Clarification questions: Q: What type of doctors are they looking for? It seems like an app would be for a more generalist doctor to establish relationship and not some type of emergency situation A: Yes Q: When we say looking for doctors whats the scope of this? Should we include making the actual appointment, does this happen on platform? A: Yes, initial appointment Ok thanks based on that I think we have enough to get started. "

    Anonymous Hummingbird - "Assumptions: This is an entirely new app and not part of FB Clarification questions: Q: What type of doctors are they looking for? It seems like an app would be for a more generalist doctor to establish relationship and not some type of emergency situation A: Yes Q: When we say looking for doctors whats the scope of this? Should we include making the actual appointment, does this happen on platform? A: Yes, initial appointment Ok thanks based on that I think we have enough to get started. "See full answer

    Product Manager
    System Design
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Clarification: Explain the product - Facebook marketplace is a platform that helps connect buyers with sellers, usually to purchase used products but not limited to the same How do you define improve - Improve discovery and engagement on the platform Geography - India Why would Meta want to invest here ? Commerce is a growing space, and can help monetized beyond ads Leverage social graph to seek user feedback on products / sellers Competitors - OLX, E-c"

    Bik D. - "Clarification: Explain the product - Facebook marketplace is a platform that helps connect buyers with sellers, usually to purchase used products but not limited to the same How do you define improve - Improve discovery and engagement on the platform Geography - India Why would Meta want to invest here ? Commerce is a growing space, and can help monetized beyond ads Leverage social graph to seek user feedback on products / sellers Competitors - OLX, E-c"See full answer

    Product Manager
    System Design
    +1 more
  • "While all branches should ideally be tested, some are more critical than others based on the following factors: A. High-Risk or Business-Critical Logic Branches that handle authentication & authorization (e.g., login, role-based access control) Financial transactions or payment processing logic (e.g., tax calculations, refunds, invoice generation) Security-related branches (e.g., encryption/decryption, token verification) B. Error Handling & Exception Paths Branches that deal with error conditi"

    Adesegun K. - "While all branches should ideally be tested, some are more critical than others based on the following factors: A. High-Risk or Business-Critical Logic Branches that handle authentication & authorization (e.g., login, role-based access control) Financial transactions or payment processing logic (e.g., tax calculations, refunds, invoice generation) Security-related branches (e.g., encryption/decryption, token verification) B. Error Handling & Exception Paths Branches that deal with error conditi"See full answer

    Software Engineer
    System Design
  • Pinterest logoAsked at Pinterest 
    Machine Learning Engineer
    System Design
Showing 161-180 of 375