Halloween Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

Free MongoDB C100DBA Practice Exam with Questions & Answers

Questions 1

In mongodb how do you update a document partially?

Options:
A.

$project

B.

$update

C.

$modify

D.

$set

MongoDB C100DBA Premium Access
Questions 2

In a replica set, which member is responsible for maintaining copies of the primary ' s data?

Options:
A.

Secondary

B.

Mongos

C.

Arbiter

D.

Shard

Questions 3

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?

Options:
A.

$arrayLimit

B.

$push along with $each, $sort and $slice

C.

$removeFromSet

D.

None of the above

Questions 4

Which node in a replica set does accept write operation?

Options:
A.

arbiter

B.

hidden

C.

primary

D.

secondary

Questions 5

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

Options:
A.

$slice

B.

$

C.

All of the above

D.

$ elemMatch

Questions 6

What mongosh command connects to node-1.cluster1.mycompany.local on port 27017?

Options:
A.

mongosh --hostname " node-1.cluster1.mycompany.local:27017 "

B.

mongosh --connect " node-1.cluster1.mycompany.local:27017 "

C.

mongosh " node-1.cluster1.mycompany.local & port=27017 "

D.

mongosh " node-1.cluster1.mycompany.local:27017 "

Questions 7

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

Options:
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

Questions 8

Which of the following operators is used to updated a document partially?

Options:
A.

$set

B.

$update

C.

$project

D.

$modify

Questions 9

Consider the following example document from the sample collection. All documents in this collection have the same schema.

Which of the following queries will replace this with the document.

Options:
A.

db.sample.update( { " _id " : 3 } , { " $set " : { " _id " : 7 , " c " : 4 > > )

B.

db.sample.update( { " _id " : 3 > , { " _id " : 7 , " c " : 4 > , { " justOne " : true > ) / □ This operation cannot be done with a single query.

C.

db.sample.update( { " _id " : 3 > , { " _id " : 7 , " c " : 4 , { " $unset " : [ " a " , " b " ] } } )

D.

db.sample.update( { " _id " : 3 > , { " _id " : 7 , " c " : 4 > )

Questions 10

The Production MongoDB Cluster contains Personally Identifiable Information, such as Name, Demographics, Date of Birth, and Government Identification Number. Due to strict compliance requirements, a database administrator is tasked to ensure a client ' s side encryption.

What feature should the administrator use to meet the requirement?

Options:
A.

Encrypted Storage Engine

B.

TLS/SSL

C.

Role Based Access Controls

D.

Queryable Encryption

Exam Code: C100DBA
Certification Provider: MongoDB
Exam Name: MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+)
Last Update: Oct 31, 2026
Questions: 172

MongoDB Free Exams

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