Define distributed system.
A system that consists of multiple independent components communicating over a network.
True or false: Scalability is a key advantage of distributed systems.
TRUE
Scalability allows systems to handle increased load by adding resources.
What is consistency in distributed systems?
The property that ensures all nodes see the same data at the same time.
Fill in the blank: Fault tolerance is the ability to continue operation despite _______.
Failures
What does CAP theorem stand for?
Consistency, Availability, and Partition Tolerance.
Define replication in distributed systems.
The process of storing copies of data on multiple nodes for reliability.
True or false: Latency refers to the delay in communication between nodes.
TRUE
What is a leader election algorithm?
A method for selecting a coordinator node in a distributed system.
Fill in the blank: Load balancing distributes workloads across multiple _______.
Nodes
Define message passing.
A communication method where nodes send and receive messages to exchange data.
What is data partitioning?
The process of dividing a dataset into smaller, manageable pieces across nodes.
True or false: Microservices architecture is a type of distributed system.
TRUE
Microservices consist of small, independent services that communicate over a network.
What is a distributed database?
A database that is spread across multiple locations or nodes.
Fill in the blank: Concurrency control manages simultaneous operations without _______.
Conflicts
Define eventual consistency.
A consistency model where updates will propagate to all nodes eventually.