MongoDB Exam Questions / Learn / Paper 6 / Question 312 MongoDB DBA · Question 312 · Multiple choice
31. Which of the following are preferred configuration options in a sharded cluster?
Check all that apply: Answer options A. Disable localhost exception on individual mongod processes.
B. Create different users per mongos processes.
C. Enable internal authentication between shard nodes.
Answer confidence: Medium
Correct answer: A, C Explanation language: Chinese 分片集群必须为成员之间的通信启用内部认证(keyfile 或 x509),否则任何人只要连上某个 shard 就能绕过 mongos 直接读写数据(A 对)。各 mongod 上的 localhost exception 在生产环境也应关闭,避免本机连接绕过认证(C 对)。B 错:所有 mongos 共用同一套用户目录,应创建统一的用户,而不是给每个 mongos 各建一套。
Start learning
Papers containing this question This question appears in 3 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.
Questions come from this project's existing bank. Answers and Chinese explanations are AI-generated. Data checks cover field formats, answer-to-option mapping, and answer consistency across duplicate questions. Confidence is not official endorsement or a correctness guarantee. Check the MongoDB documentation for your version.
Independent study resource; not affiliated with MongoDB. MongoDB documentation