Free C100DBA Exam Braindumps
MongoDB Associate Database Administrator Questions 41–45 (page: 10)

Updated On: 9-Feb-2026

You have designed a web application with mongoDB. You have configured replication. The replica set is in place and function properly. What happens in case of failure?

  1. Switchover needs to be done manually
  2. Failover happens automatically
  3. Switchover happens automatically
  4. Failover needs to be done manually

Answer(s): B



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?

  1. 7
  2. 03
  3. 04
  4. 06

Answer(s): C



In a replica set, a_________number of members ensures that the replica set is always able to select a primary.

  1. Even
  2. Odd
  3. 2
  4. Depends on the application architecture

Answer(s): B



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: { $pop: 1 } } }] )
  2. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB
  3. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum:
    "$pop" } } }] )
  4. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: 1 > > >] )

Answer(s): C



Which of the following operator can be used to limit the number of documents in an array field of a document after an update is performed?

  1. $arrayLimit
  2. $push along with $each, $sort and $slice
  3. $removeFromSet
  4. None of the above

Answer(s): B



Viewing page 10 of 28
Viewing questions 46 - 50 out of 161 questions


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

AI Tutor AI Tutor 👋 I’m here to help!