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

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

Questions 41

Which of the following is incorrect statement about find and findOne operations in MongoDB?

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

MongoDB C100DBA Premium Access
Questions 42

The________operator can be used to identify an element in the array to be updated without explicitly specifying

the position of the element.

Options:
A.

$ elemMatch

B.

$slice

C.

Updating an array field without knowing its index is not possible.

D.

$

Questions 43

Which of the following is supported by MongoDB?

Options:
A.

Transaction Management

B.

ACID Transactions

C.

Journaling

D.

Relationships between Collections (Primary Key Foreign Key)

Questions 44

We can insert multiple documents in bulk using which of the following operations:

Options:
A.

initializeUnorderedBulk

B.

initializeUnorderedBulkOp

C.

initializeBulk

D.

initializeBulkOp

Questions 45

In a sharded replica set environment, the w Option provides ability for write concern and j Option provides ability for the data to be written on disk journal. Consider that we have a seven member replica set and we want to assure that the writes are committed to journal. What should be the value of j?

Options:
A.

7

B.

2

C.

1

D.

0

Questions 46

Consider a clothing collection that contains these documents:

{ " _id " : 1, " item " : " sweater " , " sizes " : [ " XS " , " S " ] }

{ " _id " : 2, " item " : " t-shirt " , " sizes " : [ " S " , " M " , " XL " ] }

{ " _id " : 3, " item " : " vest " , " sizes " : [ " M " , " L " , " XL " , " XXL " ] }

What does the following query return?

db.clothing.find({ " sizes " : " M " })

Options:
A.

Only document _id: 3.

B.

All three documents.

C.

Only document _id: 2.

D.

Documents _id: 2 and _id: 3.

Questions 47

The MongoDB explain() method does not support which of the following verbosity mode:

Options:
A.

executionStats

B.

queryPlanner

C.

customExecutionStats

D.

allPlansExecution

Questions 48

You have a replicated cluster with 1 primary, 3 secondary, 1 arbiter. One of the secondary is hidden. What is the replication factor of this replicated cluster?

Options:
A.

7

B.

03

C.

04

D.

06

Questions 49

A collection named scores includes:

[

{ _id: 1, home_score: 6, away_score: [ 5, 7 ] },

{ _id: 2, home_score: [ 8, 6 ], away_score: 9 },

{ _id: 3, home_score: [ 5, 8 ], away_score: [ 9, 6 ] },

{ _id: 4, home_score: 5, away_score: 10 }

]

Given the following index:

db.scores.createIndex( { home_score: 1, away_score: 1 } )

What document will cause the index to fail?

Options:
A.

Document with _id: 2

B.

Document with _id: 4

C.

Document with _id: 1

D.

Document with _id: 3

Questions 50

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

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

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

MongoDB Free Exams

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