System Design Course
- 29Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
29 questions
- 1A 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
- 2A 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
- 3Common 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
- 4In 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
- 5Engineers 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
- 6The 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
- 7After 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
- 8An 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
- 9The 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
- 10After 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
- 11Endpoints 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
- 12A 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
- 13For 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
- 14A 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
- 15An 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
- 16A streaming protocol similar to MPEG-DASH but commonly used for iOS/Mac devices is_____.
Hint
Apple's preferred protocol for adaptive streaming.
Answer
HLS
- 17For 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
- 18For 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
- 19For 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
- 20To 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
- 21A 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
- 22Keeping 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
- 23In 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
- 24A 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
- 25A 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
- 26In 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
- 27To 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
- 28The 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
- 29In 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

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