1. Home
  2. Explore
  3. Engineering
  4. System Design Course

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

System Design Course

  • 29Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: System Design Basics
A system that handles a lot of data, users, or performance expectations is called a
system.

29 questions

  1. 1
    A system that handles a lot of data, users, or performance expectations is called a
    _____
    system.
    Hint

    Think about systems like Google Maps that have high data volume, many users, and strict performance requirements.

    Answer

    large scale

  2. 2
    A system where the server code is distributed across multiple locations for fault tolerance and performance is called a
    _____
    system.
    Hint

    Consider a system with servers in different regions to handle failures and reduce latency.

    Answer

    distributed

  3. 3
    Common problems in large-scale distributed systems are solved using reusable solutions known as
    _____
    .
    Hint

    Think of standardized approaches to recurring engineering problems, like the publisher-subscriber model.

    Answer

    design patterns

  4. 4
    In the publisher-subscriber model, the entity that produces events is called the
    _____
    .
    Hint

    Consider who creates the content, like Brad Pitt posting on social media.

    Answer

    publisher

  5. 5
    Engineers convert business requirements into technical solutions using system design patterns to make systems reliable, scalable, and
    _____
    .
    Hint

    Think about the ease of making changes to the system over time.

    Answer

    maintainable

  6. 6
    The first step in system design is to define requirements from the
    _____
    perspective.
    Hint

    Think about who will use the system and what they need.

    Answer

    user

  7. 7
    After identifying features, the next step is to reduce them to
    _____
    definitions.
    Hint

    Think about converting abstract concepts like 'like' into concrete elements like id, user id, timestamp.

    Answer

    data

  8. 8
    An engineering requirement that ensures the system avoids a single point of failure by having multiple servers is called
    _____
    .
    Hint

    Think about what happens when one server crashes and others take over.

    Answer

    fault tolerance

  9. 9
    The engineering requirement that measures how easy it is to change the solution when requirements evolve is called
    _____
    .
    Hint

    Think about whether the code can be tweaked without major redesign.

    Answer

    extensibility

  10. 10
    After designing a system, it must be tested by running through requests with edge cases and common cases to ensure sensible flow; this is called
    _____
    .
    Hint

    Think about verifying the design before coding.

    Answer

    testing

  11. 11
    Endpoints through which external users can query and manipulate data are called
    _____
    .
    Hint

    Think of well-defined interfaces that allow clients to interact with the server.

    Answer

    APIs

  12. 12
    A network protocol that is stateless, meaning the server does not need to store client context, is
    _____
    .
    Hint

    This protocol is commonly used for web requests and keeps servers simple.

    Answer

    HTTP

  13. 13
    For video transmission in live streaming, a peer-to-peer protocol that allows real-time, efficient video delivery is
    _____
    .
    Hint

    Think of a protocol suitable for video conferences and live streams where low latency is critical.

    Answer

    WebRTC

  14. 14
    A reliable network protocol that ensures no data loss, suitable for uploading raw video from a camera to the server, is
    _____
    .
    Hint

    This protocol is used for real-time media streaming with guaranteed delivery.

    Answer

    RTMP

  15. 15
    An adaptive streaming protocol that adjusts video quality based on network conditions is
    _____
    .
    Hint

    Think of a protocol that dynamically selects the appropriate bitrate.

    Answer

    MPEG-DASH

  16. 16
    A streaming protocol similar to MPEG-DASH but commonly used for iOS/Mac devices is
    _____
    .
    Hint

    Apple's preferred protocol for adaptive streaming.

    Answer

    HLS

  17. 17
    For storing video files, a cheap and easy-to-query file system solution like Amazon
    _____
    is recommended.
    Hint

    Think of a cloud-based object storage service.

    Answer

    S3

  18. 18
    For storing comment data, a NoSQL database like
    _____
    is preferred due to its key-value nature and scalability.
    Hint

    Consider a database that handles large-scale writes and does not require complex joins.

    Answer

    Cassandra

  19. 19
    For storing user and video metadata with relational integrity, a SQL database like
    _____
    is appropriate.
    Hint

    Think of a traditional relational database that supports joins and transactions.

    Answer

    MySQL

  20. 20
    To convert raw video into different resolutions and formats, the design pattern of
    _____
    is used.
    Hint

    Think of splitting a task into smaller pieces and processing them in parallel.

    Answer

    MapReduce

  21. 21
    A network of servers that cache static content like webpages and video to improve performance is called a
    _____
    .
    Hint

    Think of a system that delivers content from edge servers close to users.

    Answer

    CDN

  22. 22
    Keeping the last few minutes of video on the server to avoid database calls is an example of using a
    _____
    .
    Hint

    Think of a temporary storage that speeds up repeated requests.

    Answer

    cache

  23. 23
    In low-level design, the first step is to create a
    _____
    diagram that lists the actions a user can perform.
    Hint

    Think of a diagram that shows actors and their interactions with the system.

    Answer

    use case

  24. 24
    A class diagram defines the
    _____
    and behaviors of objects in the system.
    Hint

    Think about the data that an object holds, like a video's frames and metadata.

    Answer

    states

  25. 25
    A diagram that shows the sequence of interactions between objects over time is called a
    _____
    diagram.
    Hint

    Think of a timeline of messages exchanged between components.

    Answer

    sequence

  26. 26
    In the video class, the method to get a frame for a given timestamp should return
    _____
    if the timestamp is out of bounds.
    Hint

    Think about what a method returns when it cannot find the requested data.

    Answer

    none

  27. 27
    To avoid magic constants in code, the frame duration should be stored as a
    _____
    in the frame class.
    Hint

    Think of an attribute that can vary per object.

    Answer

    property

  28. 28
    The video consuming service uses a
    _____
    to persist and retrieve watch video data.
    Hint

    Think of a storage system that holds information like seek positions.

    Answer

    database

  29. 29
    In the code, the getFrame method of the file system class first gets the video by ID, then calls getFrame on the
    _____
    with the timestamp.
    Hint

    Think about which object contains the frames.

    Answer

    video

1 of 29
Question 1 of 29

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent