Free C100DBA Exam Braindumps

What does the totalKeysExamined field returned by the explain method indicate?

  1. Number of documents that match the query condition
  2. Number of index entries scanned
  3. Details the completed execution of the winning plan as a tree of stages
  4. Number of documents scanned

Answer(s): B



In order to ensure that you can maintain high availability in the face of server failure, you should implement which of the following?

  1. Sharding
  2. Properly defined user roles
  3. Replication
  4. Put indexes on all of your documents
  5. The proper storage engine

Answer(s): C



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?

  1. upsert command instead of update command
  2. {update: true, insert: true} as the third parameter of update command
  3. This has to be handled in application code (Node.js, PHP, JAVA, C#, etc.) and cannot be handled in mongo shell query
  4. Specify {upsert : true } as the third parameter of update command

Answer(s): D



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

  1. { "-id" : Objectld("580a42b5dfblb5al7427d302"), "nombre" : "ruben", "apellido" : "gomez", "aficion" : v u "flipar" }
  2. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "Luis", "apellido" : "gomez", "aficion" : u "flipar" }
  3. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "Pablo" , "aficion" : u "flipar"}
  4. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "gomez" >

Answer(s): A,D






Post your Comments and Discuss MongoDB C100DBA exam with other Community members:

C100DBA Discussions & Posts