Explanation:MongoDB does not support the convertToCapped command in a sharded cluster. 10.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:A
Explanation:MongoDB does not support the convertToCapped command in a sharded cluster. 10.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
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 insertion order, or first in, first out order. Sanfoundry Global Education & Learning Series – MongoDB.