MongoDB DEV · Question 77 · Multiple choice

Which of the following are true of the allowDiskUse option in the Aggregation Framework? Check all that apply:

Answer options

  1. A.
    Enables configuration of the amount of disk space used on the disk.
  2. B.
    Enables writing for pipeline data to temporary files on the disk.
  3. C.
    Enables reduction in the processing time for an aggregation pipeline.

Answer confidence: High

Correct answer: B

Explanation language: Chinese

allowDiskUse 的作用是允许聚合管道在内存中超过 100MB 限制时把中间数据写入磁盘临时文件,从而避免报错(B)。它不能指定磁盘用量上限(A 错),也不保证缩短处理时间——落到磁盘通常更慢(C 错)。

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 ↗