We can insert multiple documents in bulk using which of the following operations:
You have a replicated cluster with 1 primary, 3 secondary, 1 arbiter. One of the secondary is hidden. What is the replication factor of this replicated cluster?
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
What is the first task that a secondary would perform on being prompted by another secondary for an election?
Which of the following are common uses of the mongo shell? Check all that apply
Consider the following document from the products collection:
What does the following query using $elemMatch return? db.products.find( { product_code: "345678" }, { variations: { $elemMatch: { size: ^L^ } } } )
The oplog (operations log) is a special capped collection that keeps a rolling record of all operations that modify the data stored in your databases. All the replica set members contain a copy of the oplog in the following collection:
Which of the following statements are true about the $match pipeline operator? Check all that apply.
Consider that the posts collection contains an array called ratings which contains ratings given to the post by various users in the following format:
Which of the following query will return all the documents where the ratings array contains elements that in some combination satisfy the query conditions?
Dada una coleccion, cuales devuelve con la siguiente query db.coleccion.find({nombre:"ruben",apellido:"gomez"},{nombre:l,apellido:l,aficion:l});
Which of the following aggregation commands in MongoDB does not support sharded collections?
In which of the following scenarios is sharding not the correct option. Select all that apply.