_________ command creates the capped collection and imports the data.
A. CollectionAsCapped
B. cloneCollection
C. cloneCollectionAsCapped
D. None of the mentioned
Answer:A
_________ command creates the capped collection and imports the data.
A. CollectionAsCapped B. cloneCollection C. cloneCollectionAsCapped D. None of the mentioned
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 ?