System Design Interview Questions

Review this list of 346 system design interview questions and answers verified by hiring managers and candidates.
  • Better.com logoAsked at Better.com 
    Video answer for 'How would you design a relational schema for a calendar application?'

    "Here are the key entities to design a relational schema for a calendar application: User - userid, email, firstname, lastname Calendar - calendarID, calendarName, caledanUserID, defaultUIView, created, updated, status Event - eventID, eventName, eventUserID, isRecurrence, startDateTime, endDatetime EventReminder - eventID, reminderMethod(email, notification), reminderTime, reminderTimeUnit(min, hr, day) Event guest - eventID, userID, isRequired, acceptStatus"

    Chris C. - "Here are the key entities to design a relational schema for a calendar application: User - userid, email, firstname, lastname Calendar - calendarID, calendarName, caledanUserID, defaultUIView, created, updated, status Event - eventID, eventName, eventUserID, isRecurrence, startDateTime, endDatetime EventReminder - eventID, reminderMethod(email, notification), reminderTime, reminderTimeUnit(min, hr, day) Event guest - eventID, userID, isRequired, acceptStatus"See full answer

    System Design
    Technical
  • Wealthfront logoAsked at Wealthfront 
    Video answer for 'Design YouTube.'
    +24

    "What software is being used to draw the design?"

    Farhan I. - "What software is being used to draw the design?"See full answer

    System Design
    Product Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'Design a fake news detection system.'

    " Functional Requirements Content Ingestion\: Ingest news articles from various sources (websites, social media, etc.). Handle different types of content (text, images, videos). Content Analysis\: Extract and preprocess text from articles. Analyze the content for potential indicators of fake news. Model Training and Prediction\: Use machine learning models to classify content as fake or real. Continuously improve models with new data and f"

    Scott S. - " Functional Requirements Content Ingestion\: Ingest news articles from various sources (websites, social media, etc.). Handle different types of content (text, images, videos). Content Analysis\: Extract and preprocess text from articles. Analyze the content for potential indicators of fake news. Model Training and Prediction\: Use machine learning models to classify content as fake or real. Continuously improve models with new data and f"See full answer

    Technical Program Manager
    System Design
    +3 more
  • Dropbox logoAsked at Dropbox 
    Video answer for 'Design Dropbox.'
    +3

    "Why skip defining the data model? Or did I just miss it?"

    Kurt K. - "Why skip defining the data model? Or did I just miss it?"See full answer

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

  • Amazon logoAsked at Amazon 
    Video answer for 'Design Amazon's Kindle payment system.'
    +3

    "Payment system requirement assumption: Need to be ACID Amount limitation - some validation for max input size can be done at client level/ API level. Need to store historic info - GDPR The information to be stored for database assumed can be structured so RDBMS like mysql or Postgres Notification requirement - if fail or success need to be text or email to user and or caller Scalable - Assumption that it deals with critical transaction so Availability and Scalability requirement i"

    Personal W. - "Payment system requirement assumption: Need to be ACID Amount limitation - some validation for max input size can be done at client level/ API level. Need to store historic info - GDPR The information to be stored for database assumed can be structured so RDBMS like mysql or Postgres Notification requirement - if fail or success need to be text or email to user and or caller Scalable - Assumption that it deals with critical transaction so Availability and Scalability requirement i"See full answer

    System Design
    Product Design
  • Scale AI logoAsked at Scale AI 

    "Clarification and Assumption In house labeling vs outsourced? labeling text, images, bounding boxes, segmentations etc? what kind of issues have we observed? Assuming that data collection and pre/post-processing is done by different team and labeling starts with receiving data and ends with sending files back to my team. "outsourced, images containing objects, 2 dozen classes of objects to label bounding boxes." 2.Goal Quality is important because downstream effect. garbage in garbage out."

    Rui B. - "Clarification and Assumption In house labeling vs outsourced? labeling text, images, bounding boxes, segmentations etc? what kind of issues have we observed? Assuming that data collection and pre/post-processing is done by different team and labeling starts with receiving data and ends with sending files back to my team. "outsourced, images containing objects, 2 dozen classes of objects to label bounding boxes." 2.Goal Quality is important because downstream effect. garbage in garbage out."See full answer

    Product Manager
    System Design
  • "There are several factors that I can employ to come up with a dynamic pricing system that has capability and capacity to adjust product or service prices based on the various parameters or factors that affect market prices such as demand and supply. This will be built on customer behaviours, competitors, demographics, and other relevant variables at my disposal. First, I will define the Requirements and Goals of the system. what is the business needs that this dynamic system will cater. Here fa"

    John N. - "There are several factors that I can employ to come up with a dynamic pricing system that has capability and capacity to adjust product or service prices based on the various parameters or factors that affect market prices such as demand and supply. This will be built on customer behaviours, competitors, demographics, and other relevant variables at my disposal. First, I will define the Requirements and Goals of the system. what is the business needs that this dynamic system will cater. Here fa"See full answer

    System Design
  • Visa logoAsked at Visa 
    Software Engineer
    System Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'Should Facebook consolidate its messaging applications?'

    "It would be good to talk about the impacts on costs as well"

    Mehdi K. - "It would be good to talk about the impacts on costs as well"See full answer

    System Design
    Product Strategy
  • TikTok logoAsked at TikTok 
    Machine Learning Engineer
    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
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'How would you build an audio product for Facebook?'
    +14

    "The pain points articulated (no contextual recs, isolating experience, etc.) are pain points in the broader audio listening industry - there's no existing audio product at Meta already and assuming this is a net new product, wouldn't it have made more sense to have pain points specific to Meta? E.g. "there's no sense of real-time community in FB Groups" or "the barrier to engage in FB groups feels high" It almost feels like she just regurgitated things she's learned from her time working on Alex"

    Michael N. - "The pain points articulated (no contextual recs, isolating experience, etc.) are pain points in the broader audio listening industry - there's no existing audio product at Meta already and assuming this is a net new product, wouldn't it have made more sense to have pain points specific to Meta? E.g. "there's no sense of real-time community in FB Groups" or "the barrier to engage in FB groups feels high" It almost feels like she just regurgitated things she's learned from her time working on Alex"See full answer

    Product Manager
    System Design
    +1 more
  • TikTok logoAsked at TikTok 

    "Sharing the approach for functional requirements we tool to solve this question. Functional Requirements This is only for the Registered users What is a "For You" page ? Home page where you get suggestions based on people you follow. Interactions like/share/comments (done by user) Interests (shared by the user during registration or onboarding) sports choices/ region choices/ Video sharing platform. So how many videos should we s"

    Anonymous Hare - "Sharing the approach for functional requirements we tool to solve this question. Functional Requirements This is only for the Registered users What is a "For You" page ? Home page where you get suggestions based on people you follow. Interactions like/share/comments (done by user) Interests (shared by the user during registration or onboarding) sports choices/ region choices/ Video sharing platform. So how many videos should we s"See full answer

    Machine Learning Engineer
    System Design
  • 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
  • Amazon logoAsked at Amazon 
    Video answer for 'Design Uber Eats.'
    +6

    "basic drew the diagram"

    Aswath B. - "basic drew the diagram"See full answer

    Software Engineer
    System Design
    +2 more
  • Canva logoAsked at Canva 
    Video answer for 'Design a key-value store.'

    "Simple file system ( Hash Map , LSM trees), and consistent hashing. I failed to discuss about conflicts ( Versioning)"

    V V. - "Simple file system ( Hash Map , LSM trees), and consistent hashing. I failed to discuss about conflicts ( Versioning)"See full answer

    Software Engineer
    System Design
    +2 more
  • Paytm logoAsked at Paytm 
    Backend Engineer
    System Design
    +1 more
  • Google logoAsked at Google 
    BizOps & Strategy
    System Design
Showing 101-120 of 346