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

Easiest Solution 2 Pass Your Certification Exams

C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) Free Practice Exam Questions (2025 Updated)

Prepare effectively for your MongoDB C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 2 / 2
Total 132 questions

Aggregation Pipelines have a limit of:

A.

No limit on document and 100 MB RAM

B.

2 MB document and no limit on RAM

C.

2 MB document and 100 MB RAM

D.

16 MB document and 100 MB RAM

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

A.

mongodump

B.

mongostat

C.

mongoimport

D.

mongoexport

In what format does mongodump creates backup files?

A.

BSON

B.

JSON

C.

SOAP

D.

XML

Which of the following commands will return all the posts with number of likes greater than 100 and less than 200, both inclusive?

A.

db.posts.find({ likes : { $gte : 100 , $lte : 200 } } );

B.

db.posts.find({ likes : { $gt : 100 , $lte : 200 } } );

C.

db.posts.find({ likes : { $gte : 100, $lt : 200 } } );

D.

db.posts.find({ likes : { $gt : 100, $lt : 200 > > );

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?

A.

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

B.

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

C.

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

Which of the following index would be optimum for the query?

Select all valid. db.test.find( { a : 5, c : 2 })

A.

db.test.ensurelndex( { c:l, a: 1})

B.

db.test.ensurelndex( { a : 1, c: 1, d: 1, b : 1})

C.

CH db.test.ensurelndex( { a :1, c:l})

D.

db.test.ensurelndex( { a: 1, b :1, c:l, d:l})

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

A.

arbiter

B.

primary

C.

hidden

D.

secondary

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

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

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

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

Addding the index {a:l} can potentially decrease the speed of which of the following operations? Check all that apply.

A.

db.collection.update({b:456>, {$inc: {a:l> })

B.

db.collection.find( {a : 232} )

C.

db.collection.insert( { a:341})

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?

A.

7

B.

2

C.

1

D.

0

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.

JSON stands for

A.

JavaScript Object Notation

B.

JavaScript Object Naming

C.

JavaScript Object Notice

D.

None of the above

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

the position of the element.

A.

$ elemMatch

B.

$slice

C.

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

D.

$

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

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

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

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

MongoDB is a schema-less design.

A.

False

B.

True

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

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

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)

A.

ORS1

B.

ORS2

C.

ORS3

D.

O arbiter

E.

RSO

Page: 2 / 2
Total 132 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved