MongoDB DBA · 题目 394 · 多选

When configuring a replica set to use internal keyfile authentication, which of the following are true? Check all that apply:

题目选项

  1. A.
    Client authentication is enabled by default
  2. B.
    You can use a mix of keyfile and x509 authentication between nodes in the same replica set
  3. C.
    The keyfile must be an hexadecimal string value between 6 and 1024 characters long

答案置信度:高

正确答案:B、C

解析语言:中文

keyfile 用于成员之间的内部认证,文件内容长度要求为 6–1024 个字符(C 对);MongoDB 支持 keyfile 与 x.509 过渡混用(clusterAuthMode 的 sendKeyFile/sendX509 就是为这种场景设计的),故 A 对。B 错:配置 keyfile 只启用内部认证,服务器仍会打印 "Access control is not enabled for the database",要强制客户端认证还必须另外开启 security.authorization。

所在套题

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

作者 · 作品 · 开源

作者与 MongoDB 作品

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

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

联系作者 ↗mlhp123@outlook.com

支持作者

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

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