Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free MongoDB C100DBA Practice Exam with Questions & Answers

Questions 1

What does the totalKeysExamined field returned by the explain method indicate?

Options:
A.

Number of documents that match the query condition

B.

Number of index entries scanned

C.

Details the completed execution of the winning plan as a tree of stages

D.

Number of documents scanned

MongoDB C100DBA Premium Access
Questions 2

MongoDB is a schema-less design.

Options:
A.

False

B.

True

Questions 3

Consider the following posts document:

C100DBA Question 3

Which of the following queries will return the documents but with only the first two tags in the tags array?

Options:
A.

db.posts.find({author:"Tom"».limit({tags:2})

B.

db.posts.find({author:"Tom"».limit($slice:{tags:2>)

C.

Both "db.posts.find({author:"Tom"},{tags:{$slice:2}})" and "db.posts.find({author:"Tom"}).limit($slice: {tags:2})" are valid. $slice works both with projection and limit.

D.

db.posts.find({author:"Tom">,{tags:{$slice:2»)

Questions 4

Update If Correct is an approach for which of the following concepts in MongoDB:

Options:
A.

Concurrency Control

B.

Atomicity

C.

Performance Management

D.

Transaction Management

Questions 5

In a replicated cluster, which of the following node would only be used during an election?

Options:
A.

arbiter

B.

primary

C.

hidden

D.

secondary

Questions 6

MongoDB is

Options:
A.

None of the above

B.

Object-oriented DBMS

C.

Relational DBMS

D.

Document-oriented DBMS

Questions 7

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

C100DBA Question 7

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

Options:
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" > );

Questions 8

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?

Options:
A.

db.population.aggregate( [{ $group: { _id: { state: "$state", city; "$city" },pop: { $sum: 1 > > >] )

B.

db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $pop: 1 } } }] )

C.

db.population.aggregate( [{ $group: { _id: { state: Estate", city: n$city" },pop: { $sum: "$pop" } } }] )

D.

db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB

Questions 9

What is the maximum size of a MongoDB document

Options:
A.

16 MB

B.

12 MB

C.

2 MB

D.

There is no maximum size. It depends on the RAM.

Questions 10

Which of the following is a valid insert statement in mongodb? Select all valid.

Options:
A.

db.test.push({x:2,y:"apple"})

B.

db.test.insert«"x":2, "y":"apple"})

C.

db.test.insert({x:2,y:"apple"})

D.

db.test.insert({x:2},{y:"apple"})

Exam Code: C100DBA
Certification Provider: MongoDB
Exam Name: MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)
Last Update: Jul 15, 2025
Questions: 132

MongoDB Free Exams

MongoDB Free Exams
Prepare effectively for MongoDB certification exams with free study resources and practice tests from Examstrack.