In a sharded replicas set environment with multiple mongos servers, which of the following would decide the mongos failover?
A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?
What command returns all documents in an orders collection where quantity is less than or equal to 1000 and salesRep is not equal to " Anne " ?
Which command can be used to rebuild the indexes on a collection in MongoDB?
What does the totalKeysExamined field returned by the explain method indicate?
What method should be used to configure dynamically runtime parameters for the mongod process in MongoDB?
Consider a clothing collection that contains these documents:
{ " _id " : 1, " item " : " sweater " , " sizes " : [ " XS " , " S " ] }
{ " _id " : 2, " item " : " t-shirt " , " sizes " : [ " S " , " M " , " XL " ] }
{ " _id " : 3, " item " : " vest " , " sizes " : [ " M " , " L " , " XL " , " XXL " ] }
What does the following query return?
db.clothing.find({ " sizes " : " M " })
What is a limitation of encryption at rest?
As per the aggregation pipeline optimization concepts, if you have a $sort followed by a $match:
You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?