MongoDB DBA · Question 512 · Multiple choice

29. Which of the following are true of the MongoDB's built-in roles? Check all that apply:

Answer options

  1. A.
    A role determines a user's access to the database resources and operations.
  2. B.
    A user can have only one role in MongoDB.
  3. C.
    Roles cannot inherit privileges from other roles in MongoDB.

Answer confidence: High

Correct answer: A

Explanation language: Chinese

角色决定用户能访问哪些数据库资源、能执行哪些操作(B 正确)。A 错:一个用户可以同时被授予多个角色;C 错:角色可以从其他角色继承权限,例如内置 readWrite 就继承了 read。

Papers containing this question

This question appears in 1 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 ↗