1.

Point out the correct statement.(a) In MongoDB, clients cannot see the results of writes before they are made durable(b) Users may configure read preference on a per-connection basis to prefer that the read operations return results from the secondary members(c) Clients cannot read data which may be subsequently rolled back(d) None of the mentionedThe question was asked in semester exam.My doubt stems from Master Slave Replication in division Replication Concepts, Processes and Replication Set of MongoDB

Answer» CORRECT ANSWER is (b) Users may configure read preference on a per-connection basis to prefer that the read operations RETURN results from the secondary members

The explanation is: If clients configure the read preference to permit secondary reads, read operations can return data from secondary members that have not replicated more RECENT write operations.


Discussion

No Comment Found

Related InterviewSolutions