MongoDB DBA · Question 462 · Multiple choice

37. Which of the following statements about role-based access control are true? Check all that apply:

Answer options

  1. A.
    A database is a resource.
  2. B.
    A namespace is another name for a role.
  3. C.
    A role is a collection of privileges.

Answer confidence: High

Correct answer: A, C

Explanation language: Chinese

RBAC 中资源(resource)可以是数据库、集合或集群,所以"数据库是一种资源"正确(A);角色(role)就是一组权限(privilege)的集合,用户通过被授予角色获得权限(B)。C 错:namespace(如 db.collection)是资源的表示方式,与角色无关。

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 ↗