[Dec 27, 2021] MongoDB C100DBA Real Exam Questions and Answers FREE Pass MongoDB C100DBA Exam Info and Free Practice Test NEW QUESTION 23 Dada una coleccion, cuales devuelve con la siguiente querydb.coleccion.find({nombre:\'ruben\',apellido:\'gomez\'},{nombre:l,apellido:l,aficion:l}); A. { \'_id\' : Objectld(\'580a42acdfblb5al7427d301\'), \'nombre\' : \'Luis\', \'apellido\' : \'gomez\', \'aficion\' : u\'flipar\' } B. [...]

[Dec 27, 2021] MongoDB C100DBA Real Exam Questions and Answers FREE [Q23-Q42]

Share

[Dec 27, 2021] MongoDB C100DBA Real Exam Questions and Answers FREE

Pass MongoDB C100DBA Exam Info and Free Practice Test

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

Answer: B,C

 

NEW QUESTION 24
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. Updating a document is possible only with $set
  • C. Updates the Title of the post
  • D. Replaces the complete document with _id as 1 with the document specified in second parameter

Answer: D

 

NEW QUESTION 25
'mongoimport' command is used for

  • A. Multiple command insertion
  • B. None of the above
  • C. Batch data insertion
  • D. Multiple command import

Answer: C

 

NEW QUESTION 26
Which of the following aggregation commands in MongoDB does not support sharded collections?

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

Answer: D

 

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

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

Answer: D

 

NEW QUESTION 28
Update If Correct is an approach for which of the following concepts in MongoDB:

  • A. Performance Management
  • B. Transaction Management
  • C. Atomicity
  • D. Concurrency Control

Answer: D

 

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

  • A. 0
  • B. 06
  • C. 03
  • D. 04

Answer: D

 

NEW QUESTION 30
Below is a sample document of "orders" collection

Answer:

Explanation:
$project

 

NEW QUESTION 31
Consider the following example document:
{
"_id": Objectld("5360c0a0a655a60674680bbe"),
"user"
"login": "irOn"
"description": "Made of steel"
"date": ISODate("2014-04-30T09:16:45.836Z"),
}
>
and index creation command:
db.users.createlndex( { "user.login": 1, "user.date": -1 }, "mylndex" ) When performing the following query:
db.users.find( { "user.login": /Air.*/ },
{ "user":1, "_id":0 > ).sort( { "user.date":1 > )
which of the following statements correctly describe how MongoDB will handle the query? Check all that apply.

  • A. As a covered query using "mylndex" because we are filtering out "_id" and only returning "user.login"
  • B. None of the above
  • C. MongoDB will need to do a table/collection scan to find matching documents
  • D. As an optimized sort query (scanAndOrder = false) using "mylndex" because we are sorting on an indexed field
  • E. As an indexed query using "mylndex" because field "user.login" is indexed

Answer: E

 

NEW QUESTION 32
Which of the following is incorrect statement about find and findOne operations in MongoDB?

  • A. find.limit(l) is not the same query as findOne()
  • B. findQ and findOneQ returns cursors to the collection documents
  • C. findQ returns all the documents in a collection while findOne() retrieves only the first one.
  • D. findOneQ returns the actual first document retrieved from a collection

Answer: B

 

NEW QUESTION 33
If you have created a compound index on (A,B, C) which of the following access pattern will not be able to utilize the index?

  • A. A
  • B. A, B
  • C. A, B, C
  • D. B, C

Answer: D

 

NEW QUESTION 34
Below is a sample document of "orders" collection

Answer:

Explanation:
$sort

 

NEW QUESTION 35
In what format does mongodump creates backup files?

  • A. XML
  • B. SOAP
  • C. BSON
  • D. JSON

Answer: C

 

NEW QUESTION 36
What is the on-premise solution having functionality equivalent to cloud manager?

  • A. Journaling
  • B. Ops Manager
  • C. Service Manager
  • D. Replica Manager

Answer: B

 

NEW QUESTION 37
What does the totalKeysExamined field returned by the explain method indicate?

  • A. Number of documents that match the query condition
  • B. Number of documents scanned
  • C. Number of index entries scanned
  • D. Details the completed execution of the winning plan as a tree of stages

Answer: C

 

NEW QUESTION 38
What is the first task that a secondary would perform on being prompted by another secondary for an election?

  • A. Start the election process for primary
  • B. Connect to primary to confirm its availability
  • C. Vote for itself and then call for election
  • D. Vote for the first secondary so that it would become the next primary

Answer: B

 

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

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

Answer: C

 

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

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

Answer: C

 

NEW QUESTION 41
When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?

  • A. Always
  • B. Never
  • C. When the many is very large
  • D. When the many is not very large

Answer: D

 

NEW QUESTION 42
......

Latest C100DBA Exam Dumps MongoDB Exam: https://www.braindumpsvce.com/C100DBA_exam-dumps-torrent.html

New 2021 Latest Questions C100DBA Dumps - Use Updated MongoDB Exam: https://drive.google.com/open?id=15DzGYDCZtR-wEIP5mSyjWBRbcvlOzanx