Answers are AI-generated. Review them carefully with the confidence label.
MongoDB DBA · Question 394 · Multiple choice
When configuring a replica set to use internal keyfile authentication, which of the following are true?
Check all that apply:
Answer options
A.
Client authentication is enabled by default
B.
You can use a mix of keyfile and x509 authentication between nodes in the same replica set
C.
The keyfile must be an hexadecimal string value between 6 and 1024 characters long
Answer confidence: High
Correct answer: B, C
Explanation language: Chinese
keyfile 用于成员之间的内部认证,文件内容长度要求为 6–1024 个字符(C 对);MongoDB 支持 keyfile 与 x.509 过渡混用(clusterAuthMode 的 sendKeyFile/sendX509 就是为这种场景设计的),故 A 对。B 错:配置 keyfile 只启用内部认证,服务器仍会打印 "Access control is not enabled for the database",要强制客户端认证还必须另外开启 security.authorization。
This question appears in 2 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.