41. Which of the following MongoDB deployment types support using a write concern? Check all that apply:
题目选项
- A.Replica Set
- B.Standalone Node
- C.Sharded Cluster
答案置信度:高
正确答案:A、C
解析语言:中文
写关注描述一次写要在多少个节点确认后才算成功,只在有副本的部署里才有意义:副本集(A)和分片集群(C,每个分片本身是副本集)都支持。单节点 mongod 没有其他节点可确认,w>1、w:"majority" 之类写关注不适用,故 B 不对。