nerdexam
MongoDB

C100DBA · Question #20

In what format does mongodump creates backup files?

The correct answer is A. BSON. mongodump creates backup files in BSON (Binary JSON) format because MongoDB stores documents natively in BSON, so dumping directly to BSON preserves data types (like ObjectId, Date, Binary) that plain JSON cannot represent accurately. JSON (B) is human-readable text and lacks…

Backup and Recovery

Question

In what format does mongodump creates backup files?

Options

  • ABSON
  • BJSON
  • CSOAP
  • DXML

How the community answered

(23 responses)
  • A
    87% (20)
  • B
    9% (2)
  • C
    4% (1)

Explanation

mongodump creates backup files in BSON (Binary JSON) format because MongoDB stores documents natively in BSON, so dumping directly to BSON preserves data types (like ObjectId, Date, Binary) that plain JSON cannot represent accurately. JSON (B) is human-readable text and lacks MongoDB's extended type support, making it unsuitable as a native backup format. SOAP (C) is a web services messaging protocol - entirely unrelated to database backup. XML (D) is a markup language used for data interchange, not MongoDB's storage or backup mechanism.

Memory tip: The "B" in BSON stands for Binary, and mongodump keeps the "B" from BSON just like MongoDB's own storage engine does - binary in, binary out.

Topics

#mongodump#BSON format#backup format#data export

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice