Question 26

What does the following $slice query return using the following command? db.posts.find( {}, { comments: {
$slice: [ -10, 5 ] } } )
  • Question 27

    Which of the following is incorrect statement about find and findOne operations in MongoDB?
  • Question 28

    Which of the following commands finds all the documents in the posts collection with post timestamp field as null?
  • Question 29

    Which of the following about Capped Collections is correct?
  • Question 30

    In a sharded cluster, from which node does one stop the balancer process before initiating backup?