Winter Special Discount 60% Offer - Ends in 0d 00h 00m 00s - Coupon code: brite60

ExamsBrite Dumps

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

MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)

Last Update Dec 14, 2024
Total Questions : 132

We are offering FREE C100DBA MongoDB exam questions. All you do is to just go and sign up. Give your details, prepare C100DBA free exam questions and then go for complete pool of MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) test questions that will help you more.

C100DBA pdf

C100DBA PDF

$42  $104.99
C100DBA Engine

C100DBA Testing Engine

$50  $124.99
C100DBA PDF + Engine

C100DBA PDF + Testing Engine

$66  $164.99
Questions 1

If you have created a compound index on (A,B, C) which of the following access pattern will not be able to utilize the index?

Options:

A.  

A, B, C

B.  

A

C.  

B, C

D.  

A, B

Discussion 0
Questions 2

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

Discussion 0
Questions 3

What tool do you use if you want to extract a CSV from mongo?

Options:

Discussion 0
Questions 4

What is the replication factor for a replicated cluster with 1 primary, 3 secondaries with one of them hidden. The set also has an arbiter?

Options:

A.  

None of the above

B.  

5

C.  

3

D.  

4

Discussion 0
Questions 5

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

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

Options:

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

Discussion 0
Questions 6

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
Questions 7

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.  

..oplog.rs

C.  

.oplog.rs

D.  

local.oplog.rs

Discussion 0
Questions 8

In order to ensure that you can maintain high availability in the face of server failure, you should implement which of the following?

Options:

A.  

Sharding

B.  

Properly defined user roles

C.  

Replication

D.  

Put indexes on all of your documents

E.  

The proper storage engine

Discussion 0
Questions 9

What is the equivalent command in MongoDB for the following SQL query?

SELECT * FROM posts WHERE author like "%john%"

Options:

A.  

db.posts.find( { author: /John/ } )

B.  

db.posts.find( { author: /AjohnA/ > )

C.  

db.posts.find( { $like: {author: /John/} } )

D.  

db.posts.find( { author: {$like: /John/} } )

Discussion 0
Questions 10

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?

Options:

A.  

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

B.  

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

C.  

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

Discussion 0
Questions 11

If the value of totalKeysExamined is 30000 and the value of totalDocsExamined is 0, which of the following option is correct?

Options:

A.  

None of the above

B.  

The query used an index to fetch the results

C.  

The query returned 0 documents

D.  

The query returned 30000 documents after scanning the documents

Discussion 0
Questions 12

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
Questions 13

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

Options:

A.  

arbiter

B.  

primary

C.  

hidden

D.  

secondary

Discussion 0
Questions 14

Which of the following operator can be used to control the number of items of an array that a query returns?

Options:

A.  

$ elemMatch

B.  

$slice

C.  

$

D.  

MongoDB does not support partial retrieval of items from an array

Discussion 0
Questions 15

Which type of indexes does MongoDB support?

Options:

A.  

All of the above

B.  

Compound Indexes

C.  

Multikey Indexes

D.  

Geospatial Indexes

Discussion 0
Questions 16

You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?

Options:

A.  

db.stopBalancer()

B.  

db.stopserver()

C.  

sh.stopBalancer()

D.  

sh.stopserverQ

Discussion 0
Questions 17

Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?

Options:

A.  

Number, Null, String and Object

B.  

Null, Number, Object and String

C.  

Null, Number, String and Object

D.  

String, Null, Number and Object

Discussion 0
Questions 18

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

Options:

A.  

mongoexport

B.  

mongostat

C.  

mongoimport

D.  

mongodump

Discussion 0
Questions 19

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