Free C100DBA Exam Braindumps (page: 12)

Page 12 of 34

Which of the following operator can be used to limit the number of documents in an array field of a document after an update is performed?

  1. $arrayLimit
  2. $push along with $each, $sort and $slice
  3. $removeFromSet
  4. None of the above

Answer(s): B



Which mongodb tools allow us to work with our data in a human readable format?

  1. mongoexport
  2. mongostat
  3. mongoimport
  4. mongodump

Answer(s): A,C



Write the command(s) are correct to enable sharding on a database "testdb" and shard a collection "testCollection" with _id as shard key.

  1. sh.enableSharding("testdb") & sh.shardCollection("testdb.testCollection", {_id : 1 }, true )

Answer(s): A



Which of the following is true about aggregation framework?

  1. Each aggregation operator need to return atleast one of more documents as a result
  2. the aggregate command operates on a multiple collection
  3. A single aggregation framework operator can be used more than once in a query
  4. Pipeline expressions are stateless except accumulator expressions used with $group operator

Answer(s): A,C,D



Page 12 of 34



Post your Comments and Discuss MongoDB C100DBA exam with other Community members:

Arun commented on July 10, 2024
very usefull
INDIA
upvote

Dowain commented on July 06, 2024
Passing the exam is really made easy with this study package.
Anonymous
upvote

Abby commented on July 06, 2024
You guys are wonderful. The IT guides helped me so much in preparing for my exam. Save a ton of time. I can watch the football games now. Go France Go!
France
upvote