1.

The ___________ provides information for various lock types and lock modes held during the operation.(a) admin.system.authlocks(b) system.profile.locks(c) admin.system.locks(d) all of the mentionedI have been asked this question in an international level competition.My question is taken from Database Profiler topic in portion Production Checklist, Security Concepts and Network Security of MongoDB

Answer»

Right answer is (b) system.profile.LOCKS

Explanation: MongoDB uses reader-writer locks that allow concurrent readers SHARED access to a resource, such as a database or collection, but give EXCLUSIVE access to a single WRITE operation.



Discussion

No Comment Found

Related InterviewSolutions