25. Which of the following are true of the MongoDB's built-in roles? Check all that apply:
题目选项
- A.A user can have only one role in MongoDB.
- B.A role determines a user's access to the database resources and operations.
- C.Roles cannot inherit privileges from other roles in MongoDB.
答案置信度:高
正确答案:B
解析语言:中文
角色决定用户能访问哪些数据库资源、能执行哪些操作(B 正确)。A 错:一个用户可以同时被授予多个角色;C 错:角色可以从其他角色继承权限,例如内置 readWrite 就继承了 read。