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

C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) is now Stable and With Pass Result | Test Your Knowledge for Free

Exams4sure Dumps

C100DBA Practice Questions

MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)

Last Update 2 days ago
Total Questions : 132

Dive into our fully updated and stable C100DBA practice test platform, featuring all the latest MongoDB Certified DBA Associate exam questions added this week. Our preparation tool is more than just a MongoDB study aid; it's a strategic advantage.

Our free MongoDB Certified DBA Associate practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about C100DBA. Use this test to pinpoint which areas you need to focus your study on.

C100DBA PDF

C100DBA PDF (Printable)
$43.75
$124.99

C100DBA Testing Engine

C100DBA PDF (Printable)
$50.75
$144.99

C100DBA PDF + Testing Engine

C100DBA PDF (Printable)
$63.7
$181.99
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