27. Which of the following are true of the MongoDB's built-in role, userAdmin? Check all that apply:
题目选项
- A.This role allows for creating and modifying roles and users on the current database.
- B.This role and the role userAdminAnyDatabase are equivalent.
- C.This role provides privileges to manage the cluster as well as the users.
答案置信度:高
正确答案:A
解析语言:中文
userAdmin 是“作用于当前数据库”的内置角色,只赋予在该库创建/修改用户与角色(createUser、grantRole、createRole 等)的权限(C)。它不含集群管理权限(A 错),也不等同于 userAdminAnyDatabase——后者作用于所有数据库(B 错)。