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

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

Questions 4

Which option should be used to update all the documents with the specified condition in the MongoDB query?

Options:

A.

specify {all: true} as the third parameter of update command

B.

updateAII instead of update

C.

specify {updateAII: true} as the third parameter of update command

D.

specify {multi : true} as the third parameter of update command

Buy Now
Questions 5

Which format/standard is used by MongoDB internally to store documents?

Options:

A.

JSON

B.

BSON

C.

B+ Trees

D.

JSON - Extended

Buy Now
Questions 6

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

Buy Now
Questions 7

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

Options:

A.

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

B.

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

C.

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

Buy Now
Questions 8

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 9

You have a replicated cluster with 1 primary, 3 secondary, 1 arbiter. One of the secondary is hidden. What is the replication factor of this replicated cluster?

Options:

A.

7

B.

03

C.

04

D.

06

Buy Now
Questions 10

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

Options:

A.

mongotop

B.

dbstats

C.

mongostat

D.

constats

Buy Now
Questions 11

Which of the following needs to be performed prior to initiate backup on a sharded cluster?

Options:

A.

db.stopBalancer( )

B.

sh.stopServer( )

C.

db.stopServer( )

D.

sh.stopBalancer( )

Buy Now
Questions 12

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({^comments.$.author":-l});

B.

db. posts.createIndex({^comments.author" :1});

C.

db.posts.createIndex({^commerits.author";-!});

Buy Now
Questions 13

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 14

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

Buy Now
Questions 15

‘$set' sets the value of

Options:

A.

Code block

B.

Name/value pair

C.

Key

D.

None of the above

Buy Now
Questions 16

Consider the following documents:

You perform the following query;

How many documents will be updated by the query?

Options:

A.

0

B.

1

C.

2

D.

3

E.

5

Buy Now
Questions 17

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 18

Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?

Options:

A.

db.population.aggregate( [{ $group: { _id: { state: "$state", city: "$city" },pop: { $pop: 1 } } }] )

B.

db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB

C.

db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: "$pop" } } }] )

D.

db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: 1 > > >] )

Buy Now
Questions 19

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

Buy Now
Exam Code: C100DBA
Exam Name: MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)
Last Update: Nov 21, 2024
Questions: 132

PDF + Testing Engine

$130

Testing Engine

$95

PDF (Q&A)

$80