Question:- Which command is used to create a backup of the database?
Answer:- The mongodump command is used to create a backup of the database.
Question:- What is a Collection in MongoDB?
Answer:- In MongoDB, a collection is a group of MongoDB documents.
Question:- What is the use of the db command?
Answer:- The db command gives the name of the currently selected database.
Question:- Which method is used to update documents into a collection?
Answer:- The update() and save() methods are used to update documents into a collection.
Question:- What is the syntax of the skip() method?
Answer:- The syntax of the skip() methopd is as follows: >db.COLLECTION_NAME.find().limit(NUMBER).skip(NUMBER)
Question:- Which command is used to restore the backup?
Answer:- The mongorestore command is used to restore the backup.
Question:- What is the use of the dot notation in MongoDB?
Answer:- MongoDB uses the dot notation to access the elements of an array and the fields of an embedded document.
Question:- Define Auditing.
Answer:- Auditing provides administrators with the ability to verify that the implemented security policies are controlling the activity in the system.
Question:- Define the Aggregation pipeline.
Answer:- The aggregation pipeline is a framework for performing aggregation tasks. The pipeline is used to transform documents into aggregated results.
Question:- Define MapReduce.
Answer:- MapReduce is a generic multi-phase data aggregation modality that is used for processing quantities of data.
Question:- What is Splitting in MongoDB?
Answer:- Splitting is a background process that is used to keep chunks from growing too large.
Question:- Which language is used to write for MongoDB?
Answer:- C++ is used for writing and implementing MongoDB.
Question:- In which format does MongoDB store data?
Answer:- MongoDB uses collections to store data rather than tables.
Question:- What is the use of the save() method?
Answer:- The save() method is used to replace the existing document with a new document.
