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.
61. What is the primary purpose of MongoDB replication?
62. In a replica set, what is the role of the primary node?
63. What is the purpose of the secondary nodes in MongoDB replication?
64. How are elections for a new primary node managed in a replica set?
65. What is the minimum number of nodes required to form a replica set in MongoDB?
66. Which write concern level ensures that data is written to the primary node and at least one secondary node before acknowledging the write operation?
67. What is the purpose of the "oplog" in MongoDB replication?
68. Which consistency guarantee level ensures that a read operation will see the most recent data as of the time the operation started?
69. In MongoDB, what is the role of an arbiter in a replica set?
70. What is the purpose of a hidden secondary node in MongoDB replication?