MongoDB DBA · Question 254 · Single choice

32. Your organization has decided that database users should authenticate using X509 certificates. In which database should you create those users in? Choose the best answer:

Answer options

  1. A.
    $external
  2. B.
    system.users
  3. C.
    x509
  4. D.
    local
  5. E.
    admin

Answer confidence: High

Correct answer: A

Explanation language: Chinese

使用 x.509 证书认证的用户必须创建在 $external 数据库里,因为身份由外部 CA 校验,MongoDB 只保存授权信息。admin、local 是内部数据库,system.users 是存放用户文档的集合而不是数据库,均不符合要求。

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 ↗