Free C100DBA Exam Braindumps (page: 8)

Page 8 of 34

Which of the following statements are true about the $match pipeline operator? Check all that apply.

  1. You should use it early as possible in the pipeline
  2. It can be used as many time as needed.
  3. It has a sintax similar to findQ commands.

Answer(s): A,B,C



Which of the following is a valid Replica Set configuration if you want:

1-Have 3 copies of everything

2- That RS3 is never primary

2- That RSI and RS2 can be primary?

You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need

3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that

In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have

replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?

The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don't remember)

  1. ORS1
  2. ORS2
  3. ORS3
  4. O arbiter
  5. RSO

Answer(s): A



Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?

  1. missing operations will need to be manually re-performed
  2. the secondary with the most current oplog will be elected primary
  3. reads will be stale until the primary comes back up
  4. the primary may roll back the operations once it recovers
  5. the most current secondary will roll back the operations following the election

Answer(s): B



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

  1. db.collection.createlndex({relndex:l})
  2. db.collection.reIndex({author:l})
  3. db.collection.relndexQ
  4. db.collection.createIndex({author:l}).reIndex()

Answer(s): C



Page 8 of 34



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

Arun commented on July 10, 2024
very usefull
INDIA
upvote

Dowain commented on July 06, 2024
Passing the exam is really made easy with this study package.
Anonymous
upvote

Abby commented on July 06, 2024
You guys are wonderful. The IT guides helped me so much in preparing for my exam. Save a ton of time. I can watch the football games now. Go France Go!
France
upvote