MongoDB DBA · Question 37 · Multiple choice

37. When should you create a user-defined role? Check all that apply:

Answer options

  1. A.
    When there are specific users or processes that demand tailored roles.
  2. B.
    All roles should be user-defined.
  3. C.
    Whenever a built-in role does not cover all required privileges for a user.

Answer confidence: High

Correct answer: A, C

Explanation language: Chinese

当内置角色无法覆盖某个用户/进程所需的全部权限(C),或存在只服务于特定用户、特定进程的定制权限组合(A)时,才应该创建自定义角色。B 说"所有角色都该自定义"是错的:能用内置角色就用内置角色,维护与审计成本更低。

Papers containing this question

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