[2022] Get Top-Rated MongoDB C100DBA Exam Dumps Now [Q13-Q31]

Share

[2022] Get Top-Rated MongoDB C100DBA Exam Dumps Now

Passing Key To Getting C100DBA Certified Exam Engine PDF

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

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

Answer: B

 

NEW QUESTION 14
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 15
The MongoDB explain() method does not support which of the following verbosity mode:

  • A. queryPlanner
  • B. customExecutionStats
  • C. allPlansExecution
  • D. executionStats

Answer: B

 

NEW QUESTION 16
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 17
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 18
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. {"name":"Fred Flintstone";"occupation":"Miner";"wife":"Wilma"}
  • D. {"a":l, "b":{"b":l, "c":"foo", "d":"bar", "e":[l,2,4]}}

Answer: B,D

 

NEW QUESTION 19
Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?

  • A. String, Null, Number and Object
  • B. Null, Number, Object and String
  • C. Number, Null, String and Object
  • D. Null, Number, String and Object

Answer: D

 

NEW QUESTION 20
Which of the following commands finds all the documents in the posts collection with post timestamp field as null?

  • A. db.posts.find( { post_timestamp: { $type: null } } )
  • B. db.posts.find( { post_timestamp : { $type; 10 > > )
  • C. db.posts.find( { post_timestamp: { $fieldtype: 10 } } )
  • D. db.posts.find( { post_timestamp: { $fieldtype: null } } )

Answer: B

 

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

  • A. config server node
  • B. replicaset primary node
  • C. Any node
  • D. mongos node

Answer: D

 

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

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

Answer: B

 

NEW QUESTION 23
The following aggregation option is used to specify the specific fields that needs to be passed to the next stage of the aggregation pipeline:

  • A. $project
  • B. $match
  • C. $aggregate
  • D. $group

Answer: A

 

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

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

Answer: D

 

NEW QUESTION 25
What does the following aggregate query perform?

  • A. Fetches the posts with likes between 100 and 200, sets the _id of the first document as null and then increments it 1 every time
  • B. Groups the posts by number of likes (101, 102, 103.) by adding 1 every time
  • C. Calculates the number of posts with likes between 100 and 200
  • D. Fetches the posts with likes between 100 and 200 and sets their _id as null

Answer: C

 

NEW QUESTION 26
JSON stands for

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

Answer: C

 

NEW QUESTION 27
What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ {
$group: { _id; "$author", x: { $sum: $likes } } } ] )

  • A. Sum of likes on all the posts by an author, grouped by author
  • B. Average of likes on all the posts of an author, grouped by author
  • C. Sum of likes on all the posts by all the authors
  • D. Number of posts by an author

Answer: A

 

NEW QUESTION 28
Which command can be used to rebuild the indexes on a collection in MongoDB?

  • A. db.collection.reIndex({author:l})
  • B. db.collection.createIndex({author:l}).reIndex()
  • C. db.collection.createlndex({relndex:l})
  • D. db.collection.relndexQ

Answer: D

 

NEW QUESTION 29
Consider the following documents:

You perform the following query;

How many documents will be updated by the query?

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

Answer: A

 

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

Answer:

Explanation:
Mongoperf

 

NEW QUESTION 31
......

C100DBA exam questions for practice in 2022 Updated 123 Questions: https://www.test4engine.com/C100DBA_exam-latest-braindumps.html

C100DBA Exam Dumps Pass with Updated Tests Dumps: https://drive.google.com/open?id=1PpuPNkXVizTOoOLahDmXW1kvoE39YUvn