Labour Day Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 2493360325

Good News !!! C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) is now Stable and With Pass Result

C100DBA Practice Exam Questions and Answers

MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)

Last Update 5 days ago
Total Questions : 132

C100DBA is stable now with all latest exam questions are added 5 days ago. Just download our Full package and start your journey with MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) certification. All these MongoDB C100DBA practice exam questions are real and verified by our Experts in the related industry fields.

C100DBA PDF

C100DBA PDF (Printable)
$48
$119.99

C100DBA Testing Engine

C100DBA PDF (Printable)
$56
$139.99

C100DBA PDF + Testing Engine

C100DBA PDF (Printable)
$70.8
$176.99
Question # 1

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

Options:

A.  

Multi-statement transactions

B.  

Joins

C.  

Authentication

Discussion 0
Question # 2

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

Options:

A.  

mongos

B.  

mongo shell

C.  

individual language drivers

D.  

mongod

Discussion 0
Question # 3

Which are the ONLY ways to project portions of an array?

Options:

A.  

$slice

B.  

$

C.  

All of the above

D.  

$ elemMatch

Discussion 0
Question # 4

The difference between $push and $addToSet is:

Options:

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.

Discussion 0
Question # 5

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

Discussion 0
Question # 6

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

Options:

A.  

mongodump

B.  

mongostat

C.  

mongoimport

D.  

mongoexport

Discussion 0
Question # 7

What is the use of mongodump and mongorestore tools?

Options:

A.  

backup mongodb deployment

B.  

audit mongodb deployment

C.  

performance tune mongodb deployment

D.  

replicate mongodb deployments

Discussion 0
Question # 8

Which of the following is correct about MongoDB?

Options:

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

Discussion 0
Question # 9

Which of the following statements are true about the $match pipeline operator? Check all that apply.

Options:

A.  

You should use it early as possible in the pipeline

B.  

It can be used as many time as needed.

C.  

It has a sintax similar to findQ commands.

Discussion 0
Question # 10

Using an arbiter allows one to easily ensure an odd number of voters in replica sets. Why is this important?

Options:

A.  

To help in disaster recovery

B.  

To protect agains network partitions

C.  

To enable certain read preference settings

D.  

To add greather redundancy

E.  

For more efficient backup operations

Discussion 0
Question # 11

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

Discussion 0
Question # 12

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.  

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

C.  

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

D.  

Skips the first five documents and returns the next five

Discussion 0
Question # 13

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

Discussion 0
Question # 14

Consider the following example document from the sample collection. All documents in this collection have the same schema.

Question # 14

Which of the following queries will replace this with the document.

Question # 14

Options:

A.  

db.sample.update( { "_id" : 3 } , { "$set" : { "_id" : 7 , "c" : 4 > > )

B.  

db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 > , { "justOne" : true > ) / □ This operation cannot be done with a single query.

C.  

db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 , { "$unset" : [ "a" , "b" ] } } )

D.  

db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 > )

Discussion 0
Question # 15

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?

Options:

A.  

200, more

B.  

No limit, none

C.  

20, it

D.  

50, it

Discussion 0
Question # 16

Consider the following posts document:

Question # 16

Which of the following queries will return the documents but with only the first two tags in the tags array?

Options:

A.  

db.posts.find({author:"Tom"».limit({tags:2})

B.  

db.posts.find({author:"Tom"».limit($slice:{tags:2>)

C.  

Both "db.posts.find({author:"Tom"},{tags:{$slice:2}})" and "db.posts.find({author:"Tom"}).limit($slice: {tags:2})" are valid. $slice works both with projection and limit.

D.  

db.posts.find({author:"Tom">,{tags:{$slice:2»)

Discussion 0
Question # 17

Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?

Options:

A.  

db.posts.finOne({},{_id:0, post_text:1})

B.  

db.posts.findOne({post_text: 1})

C.  

db.posts.find({},{_id:Of post_text:1})

D.  

db.posts.finOne«},{post_text:l})

Discussion 0
Question # 18

In a replica set, a_________number of members ensures that the replica set is always able to select a primary.

Options:

A.  

Even

B.  

Odd

C.  

2

D.  

Depends on the application architecture

Discussion 0
Question # 19

Which node in a replica set does accept write operation?

Options:

A.  

arbiter

B.  

hidden

C.  

primary

D.  

secondary

Discussion 0
Get C100DBA dumps and pass your exam in 24 hours!

Free Exams Sample Questions