MongoDB اسئلة واجوبة المقابلات
سؤال 6. What is indexing in MongoDB?
Indexing is the process of creating an index (like in a book) to improve the performance of queries. Indexes are used to quickly locate and access the data.
سؤال 7. What is sharding in MongoDB?
Sharding is the process of distributing data across multiple servers. It is MongoDB's approach to meeting the demands of data growth.
سؤال 8. What is the significance of the ObjectId in MongoDB?
ObjectId is a 12-byte identifier typically employed as the primary key in a MongoDB document. It consists of a timestamp, machine identifier, process ID, and a random incrementing value.
سؤال 9. Explain replication in MongoDB.
Replication is the process of synchronizing data across multiple servers. It provides redundancy and increases data availability.
سؤال 10. How can you achieve ACID properties in MongoDB?
MongoDB sacrifices ACID properties for performance and scalability. However, it supports multi-document transactions in recent versions to some extent.
الاكثر فائدة حسب تقييم المستخدمين: