1.

Point out the correct statement.(a) Elections does not occur when the primary becomes unavailable and the replica set members autonomously select a new primary(b) A priority 1 member maintains a copy of the data set, accepts read operations, and votes in elections(c) In a two-member replica set, in one data center hosts the primary and a secondary.(d) None of the mentionedI got this question in examination.Question is from Read and Write Semantics topic in portion Replication Concepts, Processes and Replication Set of MongoDB

Answer» CORRECT choice is (a) Elections does not occur when the primary BECOMES unavailable and the replica set members autonomously select a new primary

To explain: Configure a priority 0 MEMBER to prevent secondaries from becoming primary, which is particularly useful in multi-data center deployments.


Discussion

No Comment Found

Related InterviewSolutions