New Year Special Sale - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: spcl70

Practice Free C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) Exam Questions Answers With Explanation

We at Crack4sure are committed to giving students who are preparing for the MongoDB C100DBA Exam the most current and reliable questions . To help people study, we've made some of our MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) exam materials available for free to everyone. You can take the Free C100DBA Practice Test as many times as you want. The answers to the practice questions are given, and each answer is explained.

Question # 6

What is the equivalent command in MongoDB for the following SQL query?

SELECT * FROM posts WHERE author like "%john%"

A.

db.posts.find( { author: /John/ } )

B.

db.posts.find( { author: /AjohnA/ > )

C.

db.posts.find( { $like: {author: /John/} } )

D.

db.posts.find( { author: {$like: /John/} } )

Question # 7

Which features of relational database management systems were deliberately omitted in MongoDB and help us to obtain horizontal scalability? Check all that apply.

A.

Multi-statement transactions

B.

Joins

C.

Authentication

Question # 8

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

A.

arbiter

B.

primary

C.

hidden

D.

secondary

Question # 9

Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?

C100DBA question answer

A.

db.posts.createIndex({commerits.$.author":-l});

B.

db.posts.createIndex({comments.$.author": {$desc:l>});

C.

db.posts.createIndex({comments.author":-l});

Question # 10

Suposse tou have the following collection with only 2 documents:

C100DBA question answer

If you run an aggregation query and use { $unwind: "$traits" } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?

A.

3

B.

5

C.

4

D.

2

E.

1

Question # 11

Below is a sample document of "orders" collection

C100DBA question answer

A.

$project

Question # 12

Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?

A.

missing operations will need to be manually re-performed

B.

the secondary with the most current oplog will be elected primary

C.

reads will be stale until the primary comes back up

D.

the primary may roll back the operations once it recovers

E.

the most current secondary will roll back the operations following the election

Question # 13

Which of the following is correct about MongoDB?

A.

MongoDB supports geospatial indexes

B.

MongoDB supports some of the SQL functions

C.

MongoDB uses JSON format to represent documents

D.

MongoDB supports collection joins

Question # 14

The difference between $push and $addToSet is:

A.

$addToSet needs the fields to be already present while $push will work even if the field is not present

B.

$addToSet adds the item to the field only if it does not exist already; while $push pushes the item to the field irrespective of whether it was present or not

C.

$addToSet adds the item to the field only if the new item is of the same datatype

D.

There is no major difference between them. $addToSet is a deprecated version of $push.

Question # 15

Which mongodb tool is used to report details on number of database operations in MongoDB?

A.

mongostat

B.

mongotop

C.

mongorestore

D.

mongodump

Question # 16

A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?

A.

Column and Row

B.

Table and Row

C.

Database and Table

D.

Table and Column

Question # 17

JSON stands for

A.

JavaScript Object Notation

B.

JavaScript Object Naming

C.

JavaScript Object Notice

D.

None of the above

Question # 18

In a collection that contains 100 post documents, what does the following command do? db. posts. find().skip(5).limit(5)

A.

Skip and limit nullify each other. Hence returning the first five documents.

B.

Skips the first five documents and returns the next five

C.

Limits the first five documents and then return them in reverse order

D.

Skips the first five documents and returns the sixth document five times

Question # 19

What is the defau size of a GridFS chunk?

A.

255 K

B.

1 MB

C.

16 MB

D.

2 MB

Question # 20

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

Question # 21

In mongodb how do you update a document partially?

A.

$project

B.

$update

C.

$modify

D.

$set

Question # 22

In a sharded replicas set environment with multiple mongos servers, which of the following would decide the mongos failover?

A.

mongos

B.

mongo shell

C.

individual language drivers

D.

mongod

Question # 23

What is the on-premise solution having functionality equivalent to cloud manager?

A.

Service Manager

B.

Replica Manager

C.

Ops Manager

D.

Journaling

Question # 24

Which mongodb tools allow us to work with our data in a human readable format?

A.

mongoexport

B.

mongostat

C.

mongoimport

D.

mongodump

Question # 25

MongoDB is

A.

None of the above

B.

Object-oriented DBMS

C.

Relational DBMS

D.

Document-oriented DBMS

Question # 26

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?

A.

$arrayLimit

B.

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

C.

$removeFromSet

D.

None of the above

Question # 27

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

A.

JSON

B.

BSON

C.

B+ Trees

D.

JSON - Extended

Question # 28

Consider that the posts collection contains an array called ratings which contains ratings given to the post by various users in the following format:

C100DBA question answer

Which of the following query will return all the documents where the ratings array contains elements that in some combination satisfy the query conditions?

A.

db.inventory.find( { ratings: { $elemMatch: { $gte: 3, $lte: 6 } } } )

B.

db.inventory.find( { ratings: { $elemMatch: { $gt: 3, $lt: 6 }

C.

db.inventory.find( { ratings: { ratings.$: { $gt: 5, $lt: 9 } } } )

D.

db.inventory.find( { ratings: { ratings: { $gt: 5, $lt: 9 } } } )

Question # 29

What tool do you use if you want to extract a CSV from mongo?

Question # 30

What is the maximum size of a MongoDB document?

A.

2 MB

B.

12 MB

C.

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

D.

16 MB

Question # 31

When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?

A.

When the many is not very large

B.

When the many is very large

C.

Always

D.

Never

Question # 32

Which of the following collections stores authentication credentials in MongoDB?

A.

test.users

B.

local.users

C.

system.users

D.

users.users

Question # 33

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

A.

Concurrency Control

B.

Atomicity

C.

Performance Management

D.

Transaction Management

Question # 34

What is the first task that a secondary would perform on being prompted by another secondary for an election?

A.

Start the election process for primary

B.

Vote for the first secondary so that it would become the next primary

C.

Vote for itself and then call for election

D.

Connect to primary to confirm its availability

Question # 35

By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?

A.

200, more

B.

No limit, none

C.

20, it

D.

50, it

Question # 36

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

Question # 37

Which node in a replica set does accept write operation?

A.

arbiter

B.

hidden

C.

primary

D.

secondary

Question # 38

Which is the default mode in which the explain() command runs?

A.

allPlansExecution

B.

customExecutionStats

C.

queryPlanner

D.

executionStats

Question # 39

You perform the following query on the sayings collection, which has the index

{ quote : "text" }:

Assuming the documents below are in the collection, which ones will the following query return? Check all that

apply.

db.sayings.find( { $text : { $search : "fact find" } } )

A.

{ _id : 3, quote : "Nobody will ever catch me." }

B.

{ _id : 1, quote : "That's a fact, Jack." }

C.

{ _id : 2, quote : "Find out if that fact is correct." }

C100DBA PDF

$33

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

C100DBA PDF + Testing Engine

$52.8

$175.99

3 Months Free Update

  • Exam Name: MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)
  • Last Update: Dec 15, 2025
  • Questions and Answers: 132
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

C100DBA Engine

$39.6

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included