1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. During a network partition, what does the CAP theorem…

Added 30 Nov -0001

During a network partition, what does the CAP theorem force a distributed data store to choose?

  1. Latency or throughput, not both
  2. Replication or sharding, not both
  3. Consistency or availability, not both Correct answer
  4. Durability or partitioning tolerance, not both

Correct answer

C. Consistency or availability, not both

13 views

MCQSEXAM

Explanation

CAP states that a distributed system facing a partition must sacrifice either linearisable consistency or availability, because the replica that cannot reach its peers must either refuse requests or answer with possibly stale data. Partition tolerance is not optional in a real network, so the practical choice is CP versus AP design. Durability and latency trade-offs are captured by the separate BASE and PACELC discussions, not by CAP itself.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs