1.

_______ may block reads, including those necessary to verify authentication.(a) db.lockall()(b) db.fsyncLock()(c) db,lockreads()(d) none of the mentionedThis question was posed to me during an internship interview.My doubt is from Master Slave Replication topic in division Replication Concepts, Processes and Replication Set of MongoDB

Answer»

The correct answer is (b) db.fsyncLock()

To EXPLAIN I WOULD say: Such READS are necessary to establish new CONNECTIONS to a mongod that ENFORCES authorization checks.



Discussion

No Comment Found

Related InterviewSolutions