Explanation:MongoDB operations can also yield locks between individual document modifications in write operations that affect multiple documents like update() with the multi parameter. 6. Which of the following keyword represents lock on collection ?
A. Database
B. Collection
C. Metadata
D. All of the mentioned
Answer:A
Explanation:MongoDB operations can also yield locks between individual document modifications in write operations that affect multiple documents like update() with the multi parameter. 6. Which of the following keyword represents lock on collection ?
A. Database B. Collection C. Metadata D. All of the mentioned
Explanation:Database represents database lock. 7. How many types of locking modes exist in MongoDB ?