a) Data expiration is useful for some classes of information, including machine generated event data, logs, and session ...
View QuestionWhich of the following collection do not support the TTL property?
a) Compound indexes b) Primary indexes c) Composite indexes d) All of the mentioned Answer: a Explanation: ...
View QuestionWhich 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 ...
View Question_________ command creates the capped collection and imports the data.
a) CollectionAsCapped b) cloneCollection c) cloneCollectionAsCapped d) None of the mentioned Answer: c Explanation: MongoDB does not ...
View Question___________ convert a non-capped collection to a capped collection.
a) ToCapped b) convertToCap c) convertToCapped d) none of the mentioned Answer: c Explanation: convertToCapped takes ...
View QuestionWhich of the following should is used to check whether collection is capped or not?
a) isCAP() b) isCapped() c) isColl() d) none of the mentioned Answer: b Explanation: Use the ...
View QuestionIf you perform a ________ on a capped collection with no ordering specified, MongoDB guarantees that the ordering of results is the same as the insertion order.
a) find() b) write() c) modify() d) none of the mentioned Answer: a Explanation: To retrieve documents ...
View QuestionPoint out the wrong statement.
a) Queries need an index to return documents in insertion order b) The options document creates a capped ...
View Question___________ is also used to pre-allocate space for an ordinary collection.
a) db.createCollection. b) db.create c) db.createColl d) all of the mentioned Answer: a Explanation: MongoDB creates a ...
View Question_________ stores a log of the operations in a replica set.
a) oplog.rs b) log.rs c) oplog d) all of the mentioned Answer: a Explanation: Built-in first-in-first-out property ...
View Question