Question 36
What is the output of following two commands in MongoDB: db. posts. insert({n_id":l}) db.posts.insert({"_id":l})
Question 37
Which of the following is true about sharding?
Question 38
Which option should be used to update all the documents with the specified condition in the MongoDB query?
Question 39
What does the following $slice query return using the following command? db.posts.find( {}, { comments: {
$slice: [ -10, 5 ] } } )
$slice: [ -10, 5 ] } } )
Question 40
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?
