MongoDB DBA · 题目 421 · 多选

Command Consider the following rs.printReplicationInfo() output: configured oplog size '191513 MB' --- log length start to end '75894 secs (21.08 hrs)' --- oplog first event time 'Thu Aug 19 2021 14:41:25 GMT+0100 (Irish Standard Time)' --- oplog last event time 'Fri Aug 20 2021 11:46:19 GMT+0100 (Irish Standard Time)' --- now 'Fri Aug 20 2021 11:46:22 GMT+0100 (Irish Standard Time)' Select the statement(s) that apply to the rs.printReplicationInfo() output above: Check all that apply:

题目选项

  1. A.
    The oplog is configured for 48 hours coverage
  2. B.
    The day of the first oplog event is Thu Aug 19 2021
  3. C.
    The oplog details in the output only refer to the node on which the command was run

答案置信度:高

正确答案:B、C

解析语言:中文

rs.printReplicationInfo() 打印的是执行该命令的那个成员自身的 oplog 信息(定义即“prints a formatted report of the replica set member's oplog”),所以 C 正确;输出中 oplog first event time 为 Thu Aug 19 2021,B 正确。configured oplog size 是 191513 MB(容量上限),而 log length 只有 75894 秒(约 21.08 小时),说明当前 oplog 只覆盖约 21 小时,A 的“配置为 48 小时覆盖”错误。

所在套题

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

作者 · 作品 · 开源

作者与 MongoDB 作品

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

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

联系作者 ↗mlhp123@outlook.com

支持作者

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

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