MongoDB DBA · Question 270 · Multiple choice

48. Which of the following is/are true when configuring a voting member in a replica set? Check all that apply:

Answer options

  1. A.
    using force configuration to add or remove multiple voting members will result in a valid configuration and not trigger a rollback due to an inconsistent state of the replica set.
  2. B.
    can modify the votes field for a single existing replica set member.
  3. C.
    can add a new single voting member.
  4. D.
    can remove a new single voting member.

Answer confidence: High

Correct answer: B, C, D

Explanation language: Chinese

副本集重配置时同一时刻只应改动一个投票成员:可以新增一个投票成员(B)、删除一个投票成员(C)、修改某个成员的 votes 值(D),这些都能保持配置有效。A 错:用 force 一次性增删多个投票成员会得到不一致或无效的配置并触发回滚,官方明确不推荐。

Papers containing this question

This question appears in 3 bank records. Public pages combine identical prompts and options. Selected questions display the highest-confidence record; the others show a short preview. Paper-based learning preserves each record's answer, explanation, and confidence.

AUTHOR · PROJECTS · OPEN SOURCE

Author & MongoDB projects

Building data platforms, MongoDB migration and sync tools, and cloud operations products.

Contact the author for any MongoDB needs.

Contact the author ↗mlhp123@outlook.com

Support the author

If this question bank helps you, optional donations are welcome.

Scan with Alipay to support the authorOpen full-size donation image ↗