nerdexam
MongoDB

C100DBA · Question #49

What is the use of mongodump and mongorestore tools?

The correct answer is A. backup mongodb deployment. mongodump and mongorestore are MongoDB's native backup and recovery tools - mongodump exports data from a running MongoDB instance into BSON files, while mongorestore imports those files back into a MongoDB deployment, making A correct. Why the distractors are wrong: B (audit): M

Backup and Recovery

Question

What is the use of mongodump and mongorestore tools?

Options

  • Abackup mongodb deployment
  • Baudit mongodb deployment
  • Cperformance tune mongodb deployment
  • Dreplicate mongodb deployments

How the community answered

(46 responses)
  • A
    91% (42)
  • B
    2% (1)
  • C
    2% (1)
  • D
    4% (2)

Explanation

mongodump and mongorestore are MongoDB's native backup and recovery tools - mongodump exports data from a running MongoDB instance into BSON files, while mongorestore imports those files back into a MongoDB deployment, making A correct.

Why the distractors are wrong:

  • B (audit): MongoDB auditing tracks who did what and when - handled by MongoDB's audit log feature, not dump/restore.
  • C (performance tuning): Performance is addressed through indexing, query optimization, and tools like explain() or MongoDB Atlas Performance Advisor.
  • D (replication): Replication is a built-in MongoDB feature using replica sets, configured via rs.initiate() - completely separate from backup tooling.

Memory tip: Think of the names literally - "dump" a copy of your data out, "restore" it back in. The word dump is a classic backup term (like SQL's mysqldump), so whenever you see these two tools paired together, think backup/restore pair.

Topics

#mongodump#mongorestore#backup tools#data export

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice