MongoDB DBA · Question 157 · Multiple choice

41. Which of the following MongoDB deployment types support using a write concern? Check all that apply:

Answer options

  1. A.
    Replica Set
  2. B.
    Standalone Node
  3. C.
    Sharded Cluster

Answer confidence: High

Correct answer: A, C

Explanation language: Chinese

写关注描述一次写要在多少个节点确认后才算成功,只在有副本的部署里才有意义:副本集(A)和分片集群(C,每个分片本身是副本集)都支持。单节点 mongod 没有其他节点可确认,w>1、w:"majority" 之类写关注不适用,故 B 不对。

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.

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 ↗