Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following command obtains a global write lock and will block other operations until it has completed?

a) ToCapped
b) isCapped
c) convertToCapped
d) None of the mentioned

Answer: b
Explanation: If the capped size specified for the capped collection is smaller than the size of the original uncapped collection, then MongoDB will overwrite documents in the capped collection based on the insertion order, or first in, first out order.

Join The Discussion