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

C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) Questions and Answers

Questions 4

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

Options:

Buy Now
Questions 5

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

Buy Now
Questions 6

In which of the following scenarios is sharding not the correct option. Select all that apply.

Options:

A.

The write operations on the collection are low

B.

The write operations on the collection are very high

C.

The working set in the collection is expected to grow very large in size

D.

The collection is a read intensive collection with less working set

Buy Now
Questions 7

Consider the following documents:

C100DBA Question 7

You perform the following query;

C100DBA Question 7

How many documents will be updated by the query?

Options:

A.

0

B.

1

C.

2

D.

3

E.

5

Buy Now
Questions 8

What is the defau size of a GridFS chunk?

Options:

A.

255 K

B.

1 MB

C.

16 MB

D.

2 MB

Buy Now
Questions 9

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

Options:

A.

executionStats

B.

queryPlanner

C.

customExecutionStats

D.

allPlansExecution

Buy Now
Questions 10

Consider the following example document:

{

" _id " : Objectld( " 5360c0a0a655a60674680bbe " ),

" user "

" login " : " irOn "

" description " : " Made of steel "

" date " : ISODate( " 2014-04-30T09:16:45.836Z " ),

}

>

and index creation command:

db.users.createlndex( { " user.login " : 1, " user.date " : -1 }, " mylndex " )

When performing the following query:

db.users.find( { " user.login " : /Air.*/ },

{ " user " :1, " _id " :0 > ).sort( { " user.date " :1 > )

which of the following statements correctly describe how MongoDB will handle the query? Check all that apply.

Options:

A.

As an optimized sort query (scanAndOrder = false) using " mylndex " because we are sorting on an indexed field

B.

As an indexed query using " mylndex " because field " user.login " is indexed

C.

MongoDB will need to do a table/collection scan to find matching documents

D.

None of the above

E.

As a covered query using " mylndex " because we are filtering out " _id " and only returning " user.login "

Buy Now
Questions 11

MongoDB is

Options:

A.

None of the above

B.

Object-oriented DBMS

C.

Relational DBMS

D.

Document-oriented DBMS

Buy Now
Questions 12

What is the maximum size of a MongoDB document

Options:

A.

16 MB

B.

12 MB

C.

2 MB

D.

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

Buy Now
Questions 13

You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?

Options:

A.

A document will be inserted with the same _id as the last document inserted

B.

A document that matches the collection ' s existing schema, but with null fields

C.

A document with an _id assigned to be an Objectld

D.

An empty document

E.

No document will be inserted; an error will be raised

Buy Now
Questions 14

Suposse tou have the following collection with only 2 documents:

C100DBA Question 14

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?

Options:

A.

3

B.

5

C.

4

D.

2

E.

1

Buy Now
Questions 15

The following aggregation option is used to specify the specific fields that needs to be passed to the next stage of the aggregation pipeline:

Options:

A.

$project

B.

$aggregate

C.

$match

D.

$group

Buy Now
Questions 16

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

Options:

A.

Concurrency Control

B.

Atomicity

C.

Performance Management

D.

Transaction Management

Buy Now
Questions 17

Which operations add new documents to a collection?

Options:

A.

Create

B.

update

C.

insert

D.

delete

Buy Now
Questions 18

In a sharded cluster, from which node does one stop the balancer process before initiating backup?

Options:

A.

Any node

B.

replicaset primary node

C.

config server node

D.

mongos node

Buy Now
Questions 19

Which type of indexes does MongoDB support?

Options:

A.

All of the above

B.

Compound Indexes

C.

Multikey Indexes

D.

Geospatial Indexes

Buy Now
Questions 20

Which of the following is a valid Replica Set configuration if you want:

1-Have 3 copies of everything

2- That RS3 is never primary

2- That RSI and RS2 can be primary?

You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need

3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that

In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have

replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?

The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don ' t remember)

Options:

A.

ORS1

B.

ORS2

C.

ORS3

D.

O arbiter

E.

RSO

Buy Now
Questions 21

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

Buy Now
Questions 22

As per the aggregation pipeline optimization concepts, if you have a $sort followed by a $match:

Options:

A.

Providing these parameters in any order does not impact the performance

B.

$sort moves before $match

C.

MongoDB does not do any movements by default and will use the order provided

D.

$match moves before $sort

Buy Now
Questions 23

The oplog (operations log) is a special capped collection that keeps a rolling record of all operations that modify the data stored in your databases. All the replica set members contain a copy of the oplog in the following collection:

Options:

A.

oplog.rs

B.

< database > ..oplog.rs

C.

< replicasetid > .oplog.rs

D.

local.oplog.rs

Buy Now
Questions 24

Which command is used to determine storage capacity of specific database?

Options:

A.

mongotop

B.

dbstats

C.

mongostat

D.

constats

Buy Now
Questions 25

Which of the following is a valid insert statement in mongodb? Select all valid.

Options:

A.

db.test.push({x:2,y: " apple " })

B.

db.test.insert« " x " :2, " y " : " apple " })

C.

db.test.insert({x:2,y: " apple " })

D.

db.test.insert({x:2},{y: " apple " })

Buy Now
Questions 26

What does the following $slice query return using the following command? db.posts.find( {}, { comments: { $slice: [ -10, 5 ] } } )

Options:

A.

Returns 5 comments, beginning with the last 10 items

B.

Returns 10 comments, beginning with the last

C.

Returns 10 comments, beginning with the first

D.

Returns 5 comments, beginning with the first 10 items

Buy Now
Questions 27

MongoDB is a schema-less design.

Options:

A.

False

B.

True

Buy Now
Questions 28

Which of the following collections stores authentication credentials in MongoDB?

Options:

A.

test.users

B.

local.users

C.

system.users

D.

users.users

Buy Now
Questions 29

You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?

Options:

A.

MinKey, Null, Numbers,Symbol, String,Object,Array,BinData

B.

MinKey, Null, Numbers,Object,Array,BinData,Symbol, String

C.

Object/Array^inData/Symbol,MinKey, Null, Numbers,String

D.

Objec^Array^inData,Symbol, String,MinKey, Null, Numbers

Buy Now
Questions 30

What is the maximum size of a MongoDB document?

Options:

A.

2 MB

B.

12 MB

C.

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

D.

16 MB

Buy Now
Questions 31

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 31

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

Options:

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

Buy Now
Questions 32

What does the following aggregate query perform?

C100DBA Question 32

Options:

A.

Fetches the posts with likes between 100 and 200 and sets their _id as null

B.

Groups the posts by number of likes (101, 102, 103.) by adding 1 every time

C.

Calculates the number of posts with likes between 100 and 200

D.

Fetches the posts with likes between 100 and 200, sets the _id of the first document as null and then increments it 1 every time

Buy Now
Questions 33

To add a new user and enable authentication in MongoDB, which of the following steps need be executed?

Options:

A.

update users collection and restart mongodb

B.

All of the above

C.

update users collection and restart mongodb with -auth option

D.

update users collection and run db.enableAuthenticationQ

Buy Now
Questions 34

What is the output of following two commands in MongoDB: db. posts. insert({n_id " :l}) db.posts.insert({ " _id " :l})

Options:

A.

Two documents will be inserted with _id as 1

B.

MongoDB will automatically increment the _id of the second document as 2

C.

This will throw a duplicate key error

D.

It will insert two documents and throw a warning to the user

Buy Now
Questions 35

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

Options:

A.

Column and Row

B.

Table and Row

C.

Database and Table

D.

Table and Column

Buy Now
Questions 36

Write the command(s) are correct to enable sharding on a database " testdb " and shard a collection " testCollection " with _id as shard key.

C100DBA Question 36

Options:

Buy Now
Questions 37

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?

Options:

A.

secondaryPreferred

B.

Secondary

C.

nearest

D.

primary

E.

primaryPreferred

Buy Now
Questions 38

What does the totalKeysExamined field returned by the explain method indicate?

Options:

A.

Number of documents that match the query condition

B.

Number of index entries scanned

C.

Details the completed execution of the winning plan as a tree of stages

D.

Number of documents scanned

Buy Now
Questions 39

What tool do you use to see if you have a problem in the consumption of disk I / 0?

Options:

Buy Now
Exam Code: C100DBA
Exam Name: MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)
Last Update: Apr 30, 2026
Questions: 132

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now C100DBA testing engine

PDF (Q&A)

$43.57  $124.49
buy now C100DBA pdf