MongoDB Associate Database Administrator C100DBA Dumps in PDF

Free MongoDB C100DBA Real Questions (page: 18)

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?

  1. None of the above
  2. 5
  3. 3
  4. 4

Answer(s): D



Which operations add new documents to a collection?

  1. Create
  2. update
  3. insert
  4. delete

Answer(s): A,C



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?

  1. db.population.aggregate( [{ $group: { _id: { state: "$state", city; "$city" },pop: { $sum: 1 > > >] )
  2. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $pop: 1 } } }] )
  3. db.population.aggregate( [{ $group: { _id: { state: Estate", city: n$city" },pop: { $sum:
    "$pop" } } }] )
  4. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB

Answer(s): C



Which of the following is true about sharding?

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

Answer(s): B



Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?

  1. netLatency
  2. secondaryPreferred
  3. nearest
  4. primaryPreferred

Answer(s): C



Share your comments for MongoDB C100DBA exam with other users:

M
Merry
7/30/2023 6:57:00 AM

good questions

V
VoiceofMidnight
12/17/2023 4:07:00 PM

Delayed the exam until December 29th.

U
Umar Ali
8/29/2023 2:59:00 PM

A and D are True

V
vel
8/28/2023 9:17:09 AM

good one with explanation

G
Gurdeep
1/18/2024 4:00:15 PM

This is one of the most useful study guides I have ever used.

AI Tutor 👋 I’m here to help!