C100DBA PDF Dumps Jan 23, 2022 Exam Questions – Valid C100DBA Dumps [Q17-Q34]

Share

C100DBA PDF Dumps Jan 23, 2022 Exam Questions – Valid C100DBA Dumps

Ultimate C100DBA Guide to Prepare Free Latest MongoDB Practice Tests Dumps

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

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

Answer: B

 

NEW QUESTION 18
You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?

  • A. A document will be inserted with the same _id as the last document inserted
  • B. An empty document
  • C. No document will be inserted; an error will be raised
  • D. A document that matches the collection's existing schema, but with null fields
  • E. A document with an _id assigned to be an Objectld

Answer: E

 

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

Answer: D

 

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

Answer: A,D

 

NEW QUESTION 21
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?

  • A. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB
  • B. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: "$pop" } } }] )
  • C. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: 1 > > >] )
  • D. db.population.aggregate( [{ $group: { _id: { state: "$state", city: "$city" },pop: { $pop: 1 } } }] )

Answer: B

 

NEW QUESTION 22
Which of the following is supported by MongoDB?

  • A. Journaling
  • B. Transaction Management
  • C. Relationships between Collections (Primary Key Foreign Key)
  • D. ACID Transactions

Answer: A

 

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

  • A. The proper storage engine
  • B. Sharding
  • C. Replication
  • D. Put indexes on all of your documents
  • E. Properly defined user roles

Answer: C

 

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

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

Answer: B

 

NEW QUESTION 25
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. 0
  • B. 1
  • C. 2
  • D. 3

Answer: C

 

NEW QUESTION 26
In mongodb how do you update a document partially?

  • A. $modify
  • B. $update
  • C. $set
  • D. $project

Answer: C

 

NEW QUESTION 27
What tool do you use to see if you have a problem in the consumption of disk I / 0?

Answer:

Explanation:
Mongoperf

 

NEW QUESTION 28
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. 20, it
  • C. 200, more
  • D. 50, it

Answer: B

 

NEW QUESTION 29
Consider the following document:
> db.c.find()
{ "_id" : 12, b : [ 3, 5, 7, 2, 1, -4, 3, 12 ] }
Which of the following queries on the "c" collection will return only the first five elements of the array in the
"b"
field? E.g.,
Document you want returned by your query:
{ "_id" : 12, "b" : [ 3, 5, 7, 2, 1 ] >

  • A. db.c.find( { > , { b : { $slice : [ 0 , 5 ] } } )
  • B. db.c.find( { > , { b : [ 0, 1, 2, 3, 4, 5 ] > )
  • C. db.c.find( { > , { b : { $substr[ 0 , 5 ] > > )
  • D. db.c.find( { > , { b : [ 0 , 5 ] > )
  • E. db.c.find( { b : [ 0 , 5 ] > )

Answer: A

 

NEW QUESTION 30
Which of the following operators is used to updated a document partially?

  • A. $modify
  • B. $update
  • C. $set
  • D. $project

Answer: C

 

NEW QUESTION 31
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. 04
  • C. 06
  • D. 03

Answer: B

 

NEW QUESTION 32
You perform the following query on the sayings collection, which has the index
{ quote : "text" }:
Assuming the documents below are in the collection, which ones will the following query return? Check all that apply.
db.sayings.find( { $text : { $search : "fact find" } } )

  • A. { _id : 1, quote : "That's a fact, Jack." }
  • B. { _id : 3, quote : "Nobody will ever catch me." }
  • C. { _id : 2, quote : "Find out if that fact is correct." }

Answer: A,C

 

NEW QUESTION 33
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. local.oplog.rs
  • C. <replicasetid>.oplog.rs
  • D. <database>..oplog.rs

Answer: B

 

NEW QUESTION 34
......

Passing Key To Getting C100DBA Certified Exam Engine PDF: https://www.actual4cert.com/C100DBA-real-questions.html

Get Top-Rated MongoDB C100DBA Exam Dumps Now: https://drive.google.com/open?id=1Aq-XN17Jbw86abwZ-dJlMjBG_glYN65o