Which option can be used with update command so that a new document gets created if no matching document is found based on the query condition?
A. upsert command instead of update commandYou perform the following query on the sayings collection, which has the index
{ quote : "text" }:
Assuming the documents below are in the collection, which ones will the following query return? Check all that apply.
A. db.sayings.find( { $text : { $search : "fact find" } } )To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
A. update users collection and restart mongodbThe________operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.
A. $ elemMatchIn a collection that contains 100 post documents, what does the following command do? db. posts. find().skip(5).limit(5)
A. Skip and limit nullify each other. Hence returning the first five documents.What is the output of the following program?
A. 60 sWhat is the defau size of a GridFS chunk?
A. 255 KIn mongodb how do you update a document partially?
A. $projectWhich of the following collections stores authentication credentials in MongoDB?
A. test.usersWhich of the following is a valid insert statement in mongodb? Select all valid.
A. db.test.push({x:2,y:"apple"})Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only MongoDB exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C100DBA exam preparations and MongoDB certification application, do not hesitate to visit our Vcedump.com to find your solutions here.