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

C100DBA Questions and Answers

Question # 4

What is the maximum size of a MongoDB document

A.

16 MB

B.

12 MB

C.

2 MB

D.

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

Full Access
Question # 5

Which option can be used with update command so that a new document gets created if no matching document is found based on the query condition?

A.

upsert command instead of update command

B.

{update: true, insert: true} as the third parameter of update command

C.

This has to be handled in application code (Node.js, PHP, JAVA, C#, etc.) and cannot be handled in mongo shell query

D.

Specify {upsert : true } as the third parameter of update command

Full Access
Question # 6

Consider that our posts collection contains an array field called tags that contains tags that the user enters. {

Which of the following commands will find all the posts that have been tagged as tutorial.

A.

db.posts.find( { tags : ["tutorial"] } );

B.

db.posts.find( { $array : {tags: "tutorial") > );

C.

db.posts.find( { tags : "tutorial" } );

D.

db.posts.findInArray( { tags : "tutorial" > );

Full Access
Question # 7

What tool would you use if you want to save a gif file in mongo?

Full Access
Question # 8

Aggregation Pipelines have a limit of:

A.

No limit on document and 100 MB RAM

B.

2 MB document and no limit on RAM

C.

2 MB document and 100 MB RAM

D.

16 MB document and 100 MB RAM

Full Access
Question # 9

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 # 10

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

A.

mongodump

B.

mongostat

C.

mongoimport

D.

mongoexport

Full Access
Question # 11

Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?

A.

missing operations will need to be manually re-performed

B.

the secondary with the most current oplog will be elected primary

C.

reads will be stale until the primary comes back up

D.

the primary may roll back the operations once it recovers

E.

the most current secondary will roll back the operations following the election

Full Access
Question # 12

Which of the following is a valid Replica Set configuration if you want:

1-Have 3 copies of everything

2- That RS3 is never primary

2- That RSI and RS2 can be primary?

You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need

3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that

In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have

replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?

The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don't remember)

A.

ORS1

B.

ORS2

C.

ORS3

D.

O arbiter

E.

RSO

Full Access
Question # 13

JSON stands for

A.

JavaScript Object Notation

B.

JavaScript Object Naming

C.

JavaScript Object Notice

D.

None of the above

Full Access
Question # 14

Which option can be used with update command so that a new document gets created if no matching document is found based on the query condition?

A.

upsert command instead of update command

B.

This has to be handled in application code (Node.js, PHP, JAVA, C#, etc.) and cannot be handled in mongo shell query

C.

{update: true, insert: true} as the third parameter of update command

D.

Specify {upsert : true } as the third parameter of update command

Full Access
Question # 15

In what format does mongodump creates backup files?

A.

BSON

B.

JSON

C.

SOAP

D.

XML

Full Access
Question # 16

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

A.

arbiter

B.

primary

C.

hidden

D.

secondary

Full Access
Question # 17

Which of the following does MongoDB use to provide High Availability and fault tolerance?

A.

Sharding

B.

Indexing

C.

Replication

D.

Write Concern

Full Access
Question # 18

In a sharded replicas set environment with multiple mongos servers, which of the following would decide the mongos failover?

A.

mongos

B.

mongo shell

C.

individual language drivers

D.

mongod

Full Access
Question # 19

In a sharded cluster, from which node does one stop the balancer process before initiating backup?

A.

Any node

B.

replicaset primary node

C.

config server node

D.

mongos node

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 26 Sep 2022