Halloween Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: estly75

What tool do you use to see if you have a problem in the consumption of disk I / 0?

What does the following aggregate query perform?

question 42

A.

Fetches the posts with likes between 100 and 200 and sets their _id as null

B.

Groups the posts by number of likes (101, 102, 103.) by adding 1 every time

C.

Calculates the number of posts with likes between 100 and 200

D.

Fetches the posts with likes between 100 and 200, sets the _id of the first document as null and then increments it 1 every time

What encoded format does MongoDB store documents in?

A.

Base 64

B.

JSON

C.

BSON

D.

XML

We can insert multiple documents in bulk using which of the following operations:

A.

initializeUnorderedBulk

B.

initializeUnorderedBulkOp

C.

initializeBulk

D.

initializeBulkOp

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?

question 45

A.

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

B.

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

C.

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

Which node in a replica set does accept write operation?

A.

arbiter

B.

hidden

C.

primary

D.

secondary

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

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

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

A.

arbiter

B.

primary

C.

hidden

D.

secondary

What are the audit log destinations? (Select three)

A.

syslog

B.

file

C.

TCP/IP port

D.

database

E.

console

What mongosh command connects to node-1.cluster1.mycompany.local on port 27017?

A.

mongosh --hostname " node-1.cluster1.mycompany.local:27017 "

B.

mongosh --connect " node-1.cluster1.mycompany.local:27017 "

C.

mongosh " node-1.cluster1.mycompany.local & port=27017 "

D.

mongosh " node-1.cluster1.mycompany.local:27017 "