MongoDB DBA · Question 350 · Multiple choice

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:

Answer options

  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

Answer confidence: High

Correct answer: B, C

Explanation language: Chinese

输出显示 log length start to end 为 75894 秒(约 21 小时),所以"配置为 48 小时覆盖"错误——configured oplog size 是按 MB 配置的大小,覆盖时长只是观测结果(A 错)。oplog first event time 是 Thu Aug 19 2021(B 正确);rs.printReplicationInfo() 报告的是执行该命令的那个节点自身 oplog 的状态(C 正确)。

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 ↗