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

Free MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) Practice Questions

Exams4sure Dumps

Exam style questions across every C100DBA domain

Last Update 2 days ago
Total Questions : 172

Start with our free C100DBA practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real MongoDB Certified DBA Associate exam. Each C100DBA exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your MongoDB weak domains, see where you're losing marks, and build a focused study plan in minutes.

C100DBA PDF

C100DBA PDF (Printable)
$54.25
$154.99

C100DBA Testing Engine

C100DBA PDF (Printable)
$59.5
$169.99

C100DBA PDF + Testing Engine

C100DBA PDF (Printable)
$74.55
$212.99
Question # 31

Which are the ONLY ways to project portions of an array?

Options:

A.  

$slice

B.  

$

C.  

All of the above

D.  

$ elemMatch

Discussion 0
Question # 32

What is the purpose of elections in a replica set?

Options:

A.  

A mechanism for replicating data across all replica set members asynchronously.

B.  

A mechanism to choose a new primary when the current primary is no longer available.

C.  

A mechanism to add new indexes to a running replica set.

D.  

A mechanism to add additional secondaries when the current secondaries are unavailable.

Discussion 0
Question # 33

Which of the following aggregate commands in MongoDB uses a pipeline approach with the goals of improving the aggregation performance?

Options:

A.  

mapReduce

B.  

group

C.  

aggregate

D.  

All of the above

Discussion 0
Question # 34

Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called " sample " . Check all that apply.

db.sample.find( { " $or " : [ { " a " : { " $in " : [ 3, 10] > }, { " b " : { " $lt " : 2 > > ] > )

Options:

A.  

{ ' ' __id " :3, " a " : 4, " c " :0, " b " :14}

B.  

{ ' ' _Jd " :7, " a " : 8, " c " :1, " b " :7}

C.  

{ " .Jd " :6, " a " : 1, " c " :1, " b " :5}

D.  

{ ' ' \Jd " :9, " a " : 17, " c " : 1, " b " : 1}

E.  

{ \Jd " :10, " a " : 3, " c " : 1, " b " : 1}

F.  

{ " .Jd " :: 2, " a " : 2, " c " :: 0, " b " : 1}

G.  

{ " .Jd " :: 4, " a " : 5, " c " :: 0, " b " : 17}

Discussion 0
Question # 35

Consider the following posts document:

Question # 35

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»)

Discussion 0
Question # 36

MongoDB is

Options:

A.  

None of the above

B.  

Object-oriented DBMS

C.  

Relational DBMS

D.  

Document-oriented DBMS

Discussion 0
Question # 37

What is the purpose of enabling TLS?

Options:

A.  

To automate backup and restore operations.

B.  

To ensure high availability of the database.

C.  

To improve query performance.

D.  

To provide encryption of data in transit.

Discussion 0
Question # 38

What tool would you use if you want to save a gif file in mongo?

Options:

Discussion 0
Question # 39

A MongoDB administrator is managing a database for a hospital system.

The patients collection contains:

- Carlos Martinez, diagnosis Hypertension, room 203

- Maria Lopez, diagnosis Hypertension, room 207

- Juan Perez, diagnosis Arrhythmia, room 207

The administrator runs:

db.patients.updateMany(

{ diagnosis: " Hypertension " },

{ $set: { room: 207 } }

)

What output should the administrator expect?

Options:

A.  

acknowledged: true, matchedCount: 1, modifiedCount: 1

B.  

acknowledged: true, matchedCount: 3, modifiedCount: 1

C.  

acknowledged: true, matchedCount: 1, modifiedCount: 2

D.  

acknowledged: true, matchedCount: 2, modifiedCount: 1

Discussion 0
Question # 40

JSON stands for

Options:

A.  

JavaScript Object Notation

B.  

JavaScript Object Naming

C.  

JavaScript Object Notice

D.  

None of the above

Discussion 0

Free Exams Sample Questions