What is eventual consistency in distributed systems?
AAll nodes have same data at all times
BData will be consistent across all nodes eventually
CConsistency is never achieved
DOnly one node is consistent
Correct Answer:
B. Data will be consistent across all nodes eventually
EXPLANATION
Eventual consistency means that if no new updates are made, all nodes will eventually see the same data, though there may be temporary inconsistencies.
Identify the statement that best fits the pattern: All roses are flowers. Some flowers are red. Therefore:
ASome roses are red
BAll roses are red
CNo conclusion can be drawn
DAll red things are flowers
Correct Answer:
C. No conclusion can be drawn
EXPLANATION
We cannot conclude that some roses are red because the second statement doesn't specify which flowers are red. Roses may or may not be among the red flowers.
A system processes 1000 requests per second. If 8% of requests fail and need retry, and each retry takes 2 seconds, approximately how many total seconds are needed to process 10,000 requests including retries (assuming sequential processing)?