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

Free MongoDB C100DBA Practice Exam with Questions & Answers | Set: 3

Questions 21

What are the audit log destinations? (Select three)

Options:
A.

syslog

B.

file

C.

TCP/IP port

D.

database

E.

console

MongoDB C100DBA Premium Access
Questions 22

Which of the following aggregation commands in MongoDB does not support sharded collections?

Options:
A.

mapReduce

B.

group

C.

aggregate

D.

All of the above

Questions 23

You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?

Options:
A.

db.stopBalancer()

B.

db.stopserver()

C.

sh.stopBalancer()

D.

sh.stopserverQ

Questions 24

What does the totalCreated field mean in the output of the db.serverStatus().connections command?

> db.serverStatus().connections

{

" current " : 4,

" available " : 51196,

" totalCreated " : 5,

" active " : 2,

" threaded " : 4,

" exhaustIsMaster " : 1,

" exhaustHello " : 0,

" awaitingTopologyChanges " : 1

}

Options:
A.

The number of closed connections in the server ' s history.

B.

The number of connections since the server was set up.

C.

The total number of database connections at the moment.

D.

The number of connections since the server was started.

Questions 25

Which format/standard is used by MongoDB internally to store documents?

Options:
A.

JSON

B.

BSON

C.

B+ Trees

D.

JSON - Extended

Questions 26

‘$set ' sets the value of

Options:
A.

Code block

B.

Name/value pair

C.

Key

D.

None of the above

Questions 27

What encoded format does MongoDB store documents in?

Options:
A.

Base 64

B.

JSON

C.

BSON

D.

XML

Questions 28

Which of the following commands finds all the documents in the posts collection with post timestamp field as null?

Options:
A.

db.posts.find( { post_timestamp: { $fieldtype: null } } )

B.

db.posts.find( { post_timestamp: { $type: null } } )

C.

db.posts.find( { post_timestamp : { $type; 10 > > )

D.

db.posts.find( { post_timestamp: { $fieldtype: 10 } } )

Questions 29

Consider a contacts collection that contains these documents:

{ " _id " : 1, " name " : " Poppy " , " birthday " : " 03-09-1984 " }

{ " _id " : 2, " name " : " Ashley " , " birthday " : " 08-12-1990 " }

{ " _id " : 3, " name " : " Cleo " , " birthday " : " 11-02-1976 " }

What query returns the document where the field name is " Poppy " ?

Options:
A.

db.contacts.find({ " name.Poppy " : 1 })

B.

db.contacts.find({ " name " : " poppy " })

C.

db.contacts.find({ " Poppy " : 1 })

D.

db.contacts.find({ " name " : " Poppy " })

Questions 30

A MongoDB administrator needs to create a new role with only the read privileges for the products database.

What command should the administrator use?

Options:
A.

db.createRole({ role: " productRead " , privileges: [ { resource: { db: " products " , collection: " * " }, actions: [ " readAnyDatabase " ] } ] , roles: [] }, { w: " majority " , wtimeout: 5000 })

B.

db.createRole({ role: " productRead " , privileges: [ { resource: { db: " products " , collection: " " }, actions: [ " find " ] } ] , roles: [] }, { w: " majority " , wtimeout: 5000 })

C.

db.createRole({ role: " productRead " , privileges: [ { resource: { db: " products " , collection: " * " }, actions: [ " readWrite " ] } ] , roles: [] }, { w: " majority " , wtimeout: 5000 })

D.

db.createRole({ role: " productRead " , privileges: [ { resource: { db: " products " , collection: " * " }, actions: [ " read " ] } ] , roles: [] }, { w: " majority " , wtimeout: 5000 })

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.