MongoDB DEV · Question 215 · Single choice

Which of the following would be the best order of steps to model a schema for MongoDB? Choose the best answer:

Answer options

  1. A.
    Identify the workload, model the relationship, apply schema design patterns
  2. B.
    Create the entity relationship diagram, apply schema design patterns
  3. C.
    Create the entity relationship diagram, model the relationships
  4. D.
    Identify the workload, create the entity relationship diagram
  5. E.
    Apply schema design patterns, benchmark the prototype

Answer confidence: High

Correct answer: A

Explanation language: Chinese

MongoDB 官方建模流程是先摸清工作负载(读写模式、查询、基数、数据增长),再决定关系用内嵌还是引用,最后才套用设计模式(子集、桶、计算等模式),即 Identify the workload → model the relationship → apply schema design patterns,A 正确。B/C/E 漏掉了最关键的第一步(工作负载),D 把模式设计提前并丢掉了关系建模这一步。

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 ↗