Month End Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

C100DBA Questions and Answers

Question # 4

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:

A.

oplog.rs

B.

..oplog.rs

C.

.oplog.rs

D.

local.oplog.rs

Full Access
Question # 5

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?

A.

1

B.

2

C.

0

D.

7

Full Access
Question # 6

To add a new user and enable authentication in MongoDB, which of the following steps need be executed?

A.

update users collection and restart mongodb

B.

All of the above

C.

update users collection and restart mongodb with -auth option

D.

update users collection and run db.enableAuthenticationQ

Full Access
Question # 7

Which node in a replica set does accept write operation?

A.

arbiter

B.

hidden

C.

primary

D.

secondary

Full Access
Question # 8

Dada una coleccion, cuales devuelve con la siguiente query db.coleccion.find({nombre:"ruben",apellido:"gomez"},{nombre:l,apellido:l,aficion:l});

A.

{ "-id" : Objectld("580a42b5dfblb5al7427d302"), "nombre" : "ruben", "apellido" : "gomez", "aficion" : v u "flipar" }

B.

{ "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "Luis", "apellido" : "gomez", "aficion" : u "flipar" }

C.

{ "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "Pablo" , "aficion" : u "flipar"}

D.

{ "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "gomez" >

Full Access
Question # 9

Which of the following commands will return all the posts with number of likes greater than 100 and less than 200, both inclusive?

A.

db.posts.find({ likes : { $gte : 100 , $lte : 200 } } );

B.

db.posts.find({ likes : { $gt : 100 , $lte : 200 } } );

C.

db.posts.find({ likes : { $gte : 100, $lt : 200 } } );

D.

db.posts.find({ likes : { $gt : 100, $lt : 200 > > );

Full Access
Question # 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?

A.

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

B.

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

C.

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

Full Access
Question # 11

Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?

A.

netLatency

B.

secondaryPreferred

C.

nearest

D.

primaryPreferred

Full Access
Question # 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?

A.

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

B.

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

C.

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

Full Access
Question # 13

What is the maximum size of a MongoDB document?

A.

2 MB

B.

12 MB

C.

There is no maximum size. It depends on the RAM.

D.

16 MB

Full Access
Question # 14

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

A.

initializeUnorderedBulk

B.

initializeUnorderedBulkOp

C.

initializeBulk

D.

initializeBulkOp

Full Access
Question # 15

What does the following query do when performed on the posts collection? db.posts.update({_id:l},{Title:This is post with ID 1"})

A.

Syntax error

B.

Replaces the complete document with _id as 1 with the document specified in second parameter

C.

Updates the Title of the post

D.

Updating a document is possible only with $set

Full Access
Question # 16

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

A.

db.stopBalancer()

B.

db.stopserver()

C.

sh.stopBalancer()

D.

sh.stopserverQ

Full Access
Question # 17

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

Full Access
Question # 18

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

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

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

Full Access
Question # 19

JSON stands for

A.

JavaScript Object Notation

B.

JavaScript Object Naming

C.

JavaScript Object Notice

D.

None of the above

Full Access
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 28 Sep 2023