[Oct-2022] Valid Way To Pass MongoDB Exam Dumps with C100DBA Exam Study Guide [Q45-Q70]

Share

[Oct-2022] Valid Way To Pass MongoDB Exam Dumps with C100DBA Exam Study Guide

All C100DBA Dumps and MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) Training Courses Help candidates to study and pass the Exams hassle-free!

NEW QUESTION 45
Suposse tou have the following collection with only 2 documents:

If you run an aggregation query and use { $unwind: "$traits" } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

Answer: D

 

NEW QUESTION 46
Which of the following is true about sharding?

  • A. A sharded environment does not support sorting functionality since the documents lie on various mongod instances
  • B. We cannot change a shard key directly/automatically once it is set up
  • C. Sharding is enabled at the database level
  • D. Creating a sharded key automatically creates an index on the collection using that key

Answer: B

 

NEW QUESTION 47
MongoDB is

  • A. Relational DBMS
  • B. Document-oriented DBMS
  • C. None of the above
  • D. Object-oriented DBMS

Answer: B

 

NEW QUESTION 48
In a collection that contains 100 post documents, what does the following command do? db. posts.
find().skip(5).limit(5)

  • A. Skips the first five documents and returns the next five
  • B. Limits the first five documents and then return them in reverse order
  • C. Skip and limit nullify each other. Hence returning the first five documents
  • D. Skips the first five documents and returns the sixth document five times

Answer: A

 

NEW QUESTION 49
What is the use of mongodump and mongorestore tools?

  • A. replicate mongodb deployments
  • B. backup mongodb deployment
  • C. audit mongodb deployment
  • D. performance tune mongodb deployment

Answer: B

 

NEW QUESTION 50
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("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "gomez" >
  • B. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "Luis", "apellido" : "gomez", "aficion" : u
    "flipar" }
  • C. { "-id" : Objectld("580a42b5dfblb5al7427d302"), "nombre" : "ruben", "apellido" : "gomez", "aficion" :
    v u "flipar" }
  • D. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "Pablo" , "aficion" : u
    "flipar"}

Answer: A,C

 

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

  • A. hidden
  • B. secondary
  • C. primary
  • D. arbiter

Answer: D

 

NEW QUESTION 52
JSON stands for

  • A. JavaScript Object Naming
  • B. JavaScript Object Notice
  • C. None of the above
  • D. JavaScript Object Notation

Answer: D

 

NEW QUESTION 53
Which of the following are valid json documents? Select all that apply.

  • A. {"city":"New York", "population", 7999034, boros:{"queens", "manhattan", "staten island", "the bronx", u "brooklyn"}}
  • B. { }
  • C. {"a":l, "b":{"b":l, "c":"foo", "d":"bar", "e":[l,2,4]}}
  • D. {"name":"Fred Flintstone";"occupation":"Miner";"wife":"Wilma"}

Answer: B,C

 

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

  • A. JSON - Extended
  • B. JSON
  • C. B+ Trees
  • D. BSON

Answer: B

 

NEW QUESTION 55
Which of the following command is used to get all the indexes on a collection?

  • A. db.collection.showIndexes()
  • B. db.collection.findlndexes()
  • C. db.showIndexes()
  • D. db.collection.getlndexesQ

Answer: D

 

NEW QUESTION 56
Which of the following is true of the mechanics of replication in MongoDB? Check all that apply.

  • A. Clients read from the nearest member of a replica ser by default
  • B. Operations on the primary are recorded in a capped collection called the oplog
  • C. Members of a replica set may replicate data from any other data-bearing member of the set by default

Answer: B

 

NEW QUESTION 57
Mongodb does provide high availability via which option?

  • A. Replication
  • B. Indexing
  • C. Sharding
  • D. Journaling

Answer: A

 

NEW QUESTION 58
Which of the following statements are true about the $match pipeline operator? Check all that apply.

  • A. It has a sintax similar to findQ commands.
  • B. It can be used as many time as needed.
  • C. You should use it early as possible in the pipeline

Answer: A,B,C

 

NEW QUESTION 59
Which of the following does MongoDB use to provide High Scalability?

  • A. Indexing
  • B. Sharding
  • C. Write Concern
  • D. Replication

Answer: B

 

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

  • A. update users collection and run db.enableAuthenticationQ
  • B. update users collection and restart mongodb with -auth option
  • C. update users collection and restart mongodb
  • D. All of the above

Answer: B

 

NEW QUESTION 61
What is the output of the following program?

  • A. 1s
  • B. 100 ms
  • C. 100 s
  • D. 60 s

Answer: D

 

NEW QUESTION 62
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?

  • A. 0
  • B. 1
  • C. None of the above
  • D. 2

Answer: D

 

NEW QUESTION 63
Which of the following aggregate commands in MongoDB uses a pipeline approach with the goals of improving the aggregation performance?

  • A. aggregate
  • B. mapReduce
  • C. All of the above
  • D. group

Answer: A

 

NEW QUESTION 64
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. primaryPreferred
  • C. secondaryPreferred
  • D. nearest

Answer: D

 

NEW QUESTION 65
Aggregation Pipelines have a limit of:

  • A. 16 MB document and 100 MB RAM
  • B. No limit on document and 100 MB RAM
  • C. 2 MB document and 100 MB RAM
  • D. 2 MB document and no limit on RAM

Answer: A

 

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

  • A. dbstats
  • B. mongostat
  • C. constats
  • D. mongotop

Answer: A

 

NEW QUESTION 67
Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply.
db.sample.find( { "$or" : [ { "a" : { "$in" : [ 3, 10] > }, { "b" : { "$lt" : 2 > > ] > )

  • A. { \Jd" :10,"a": 3, "c": 1, "b": 1}
  • B. {".Jd" :6, "a": 1, "c" :1, "b" :5}
  • C. {''__id" :3, "a": 4, "c" :0, "b" :14}
  • D. {".Jd" :: 5, "a": 3, "c" :: 0, "b": 12}
  • E. {".Jd" :: 4, "a": 5, "c" :: 0, "b": 17}
  • F. {".Jd" :: 8, "a": 11, "c": 1, "b": 0}
  • G. { ''\Jd" :9, "a": 17, "c": 1, "b": 1}
  • H. {".Jd" :: 1, "a": 0, "c" :: 0, "b": 2}
  • I. {''_Jd" :7, "a": 8, "c" :1, "b" :7}
  • J. {".Jd" :: 2, "a": 2, "c" :: 0, "b": 1}

Answer: A,D,F,G,J

 

NEW QUESTION 68
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?

  • A. No limit, none
  • B. 200, more
  • C. 50, it
  • D. 20, it

Answer: D

 

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

  • A. updateAII instead of update
  • B. specify {all: true} as the third parameter of update command
  • C. specify {updateAII: true} as the third parameter of update command
  • D. specify {multi : true} as the third parameter of update command

Answer: D

 

NEW QUESTION 70
......

Real Exam Questions and Answers - MongoDB C100DBA Dump is Ready: https://drive.google.com/open?id=13a8TMkWgpp_bi8I8DlOI2KdgIlOVmkR_

Get Latest [Oct-2022] Conduct effective penetration tests using TestKingFree C100DBA: https://www.testkingfree.com/MongoDB/C100DBA-practice-exam-dumps.html