MongoDB is a popular NoSQL database system renowned for its flexibility and scalability. It uses a document-oriented model, storing data in JSON-like BSON format, allowing for dynamic schemas and easy data manipulation. MongoDB's distributed architecture supports horizontal scaling, ensuring high availability and performance. It's widely utilized for applications requiring real-time data access and complex data structures. Its features include automatic sharding, replication, and support for geospatial data, making it a versatile choice for a broad range of industries, from e-commerce and social media to IoT and big data analytics.
21. Which CRUD operation is used to insert a new document into a MongoDB collection?
22. How is data typically read from a MongoDB collection?
23. What is the primary key for a document in MongoDB?
24. Which operation is used to retrieve a single document from a collection based on a query criteria?
25. Which MongoDB operation is used to modify an existing document?
26. In MongoDB, what does the "upsert" option do when updating a document?
27. Which operation is used to remove documents from a collection based on a query criteria?
28. What is the MongoDB equivalent of the SQL "SELECT * FROM collection" statement?
29. What is the purpose of the "projection" option in a MongoDB query?
30. Which CRUD operation is used to create a copy of a document in a different collection?