MongoDB DBA · 题目 295 · 多选

14. Which of the following is/are true of the term field in a replica set configuration document? Check all that apply:

题目选项

  1. A.
    represents an incrementing number used to distinguish revisions of the replica set configuration document.
  2. B.
    used to determine the maximum number of chunks for shard backed by the specific replica set covered by the configuration document.
  3. C.
    used with the version field to determine the freshest version of the replica set configuration document.
  4. D.
    gets incremented each time the primary steps up after winning an election.

答案置信度:中

正确答案:C、D

解析语言:中文

副本集配置文档里的 term 要与 version 一起比较(先比 term 再比 version)才能确定哪份配置更新,所以 C 对;每次主节点选举获胜、新主上台后 term 会随之递增,D 也对。A 描述的是 version 字段的定义(用来区分配置文档的修订号),B 说它决定分片的最大 chunk 数纯属编造。

所在套题

此题在题库中有 2 条记录。公开详情合并相同题干和选项;完整公开题展示置信度最高的一条记录,其他题目仅展示摘要。按套学习保留每条记录原有的答案、解析和置信度。

作者 · 作品 · 开源

作者与 MongoDB 作品

专注数据平台、MongoDB 迁移同步与云运维产品研发。

有任何 MongoDB 需求,均可联系作者。

联系作者 ↗mlhp123@outlook.com

支持作者

如果题库对您有帮助,欢迎自愿扫码打赏。

支付宝扫码打赏作者打开打赏原图 ↗