wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

System Design -ST 1

Total questions: 24

Worksheet time: 24mins

Name
Class
Date
1.
Which of the following best defines functional requirements in system design?
a)
Performance and scalability goals
b)
System features and behaviors
c)
Hardware specifications
d)
Deployment strategy
e)
Cost estimation
2.
Which is an example of a non-functional requirement?
a)
User login
b)
Payment processing
c)
Data validation
d)
Response time < 200ms
e)
Order creation
3.
Which scaling approach adds more machines to handle increased load?
a)
Vertical scaling
b)
Horizontal scaling
c)
Database indexing
d)
Caching
e)
Replication
4.
Vertical scaling mainly involves which action?
a)
Adding more servers
b)
Increasing CPU/RAM of a machine
c)
Sharding the database
d)
Adding a load balancer
e)
Replicating services
5.
What is the primary role of a load balancer?
a)
Store application data
b)
Distribute incoming traffic
c)
Cache responses
d)
Authenticate users
e)
Encrypt data
6.
Which load balancing algorithm distributes requests equally in sequence?
a)
Least connections
b)
Random
c)
Round robin
d)
IP hash
e)
Weighted least load
7.
Which caching strategy places cache logic inside the application and loads data only on cache miss?
a)
Write-through
b)
Write-back
c)
Cache-aside
d)
Read-through
e)
Lazy write
8.
Which database type is best suited for flexible schema and horizontal scaling?
a)
Relational (SQL)
b)
Graph DB
c)
NoSQL
d)
File system
e)
Spreadsheet
9.
According to the CAP theorem, which two properties can be guaranteed during a network partition?
a)
Consistency and Availability
b)
Availability and Partition Tolerance
c)
Consistency and Partition Tolerance
d)
All three
e)
None
10.
Which of the following are advantages of database replication?
a)
Improved availability
b)
Faster reads
c)
Increased write latency
d)
Fault tolerance
e)
Reduced storage cost
11.
Sharding mainly helps to improve which aspect of a system?
a)
Security
b)
Scalability
c)
Code readability
d)
Authentication
e)
Encryption
12.
Redis and Memcached are primarily used for which purpose?
a)
Persistent storage
b)
Distributed caching
c)
Message queues
d)
File storage
e)
Authentication
13.
Which architecture style breaks an application into independently deployable services?
a)
Monolithic
b)
Layered
c)
Microservices
d)
Client-server
e)
Peer-to-peer
14.
Eventual consistency means:
a)
Data is always immediately consistent
b)
Data may be temporarily inconsistent but converges over time
c)
Writes are rejected during failures
d)
Reads always come from leader
e)
No replication exists
15.
Which component improves fault tolerance by avoiding a single point of failure?
a)
Single database
b)
Load balancer
c)
Monolithic server
d)
Local cache only
e)
One replica
16.
Which scenario best justifies using horizontal scaling instead of vertical scaling?
a)
Application has unpredictable traffic spikes
b)
Application logic is complex
c)
Code needs refactoring
d)
Database schema is fixed
e)
System is single-user
17.
Client-side caching mainly reduces which of the following?
a)
Server CPU usage
b)
Network latency
c)
Disk I/O on client
d)
Cache invalidation complexity
e)
Database consistency
18.
Which of the following are valid sharding strategies?
a)
Range-based sharding
b)
Hash-based sharding
c)
Single-table sharding
d)

Directory-based sharding (Geo-Location based)

e)
Index-only sharding
19.
Which CAP property ensures the system continues to operate even when messages are lost between nodes?
a)
Consistency
b)
Availability
c)
Partition Tolerance
d)
Durability
e)
Isolation
20.
In a distributed cache, what is the main reason to use TTL (Time To Live)?
a)
Improve write speed
b)
Automatically expire stale data
c)
Ensure strong consistency
d)
Reduce memory size
e)
Prevent replication
21.
Which database characteristic best supports high availability?
a)
Single primary node
b)
Strong consistency only
c)
Data replication
d)
Large table size
e)
Complex joins
22.
Which architectural style is easier to deploy and debug in small systems?
a)
Microservices
b)
Event-driven
c)
Serverless
d)
Monolithic
e)
Distributed
23.
Redis differs from Memcached mainly because Redis supports:
a)
Only key-value strings
b)
Disk persistence and data structures
c)
SQL queries
d)
Automatic sharding only
e)
File storage
24.
Replication and sharding together mainly help a system achieve:
a)
Better UI design
b)
Scalability and fault tolerance
c)
Strong consistency only
d)
Simpler codebase
e)
Lower latency only