MongoDB DBA · Question 470 · Multiple choice

45. Which replica set node member type requires the priority to be 0? Check all that apply:

Answer options

  1. A.
    hidden
  2. B.
    slaveDelay
  3. C.
    secondary

Answer confidence: High

Correct answer: A, B

Explanation language: Chinese

hidden(隐藏)节点和 slaveDelay(延迟)节点都不应被选为主,因此 MongoDB 要求它们的 priority 为 0,否则 rs.add/rs.reconfig 会报配置错误。普通 secondary 可以设置任意优先级并参与选举。

Papers containing this question

This question appears in 1 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 ↗