Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

C100DBA Exam Dumps - MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)

Go to page:
Question # 4

Consider that our posts collection contains an array field called tags that contains tags that the user enters. {

Which of the following commands will find all the posts that have been tagged as tutorial.

A.

db.posts.find( { tags : ["tutorial"] } );

B.

db.posts.find( { $array : {tags: "tutorial") > );

C.

db.posts.find( { tags : "tutorial" } );

D.

db.posts.findInArray( { tags : "tutorial" > );

Full Access
Question # 5

Which option should be used to update all the documents with the specified condition in the MongoDB query?

A.

specify {all: true} as the third parameter of update command

B.

updateAII instead of update

C.

specify {updateAII: true} as the third parameter of update command

D.

specify {multi : true} as the third parameter of update command

Full Access
Question # 6

What read preference should your application use if you want to read from the primary under normal circumstances but allow reads from secondaries when a primary is unavailable?

A.

secondaryPreferred

B.

Secondary

C.

nearest

D.

primary

E.

primaryPreferred

Full Access
Question # 7

In what format does mongodump creates backup files?

A.

BSON

B.

JSON

C.

SOAP

D.

XML

Full Access
Question # 8

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

A.

findQ returns all the documents in a collection while findOne() retrieves only the first one.

B.

find.limit(l) is not the same query as findOne()

C.

findOneQ returns the actual first document retrieved from a collection

D.

findQ and findOneQ returns cursors to the collection documents

Full Access
Go to page: