MongoDB - M100 Exam 2023
What of the following are some of the main features of MongoDB? - Answer- - Fault tolerance is natively built into MongoDB by keeping redundant copies of the same data on different servers - Scalability allows to seamlessly scale across multiple servers to store and process data -MongoDB lets you move data where you need it, so you can keep data near users NoSQL families - Answer- - key/value - graph -column - document What are correct statements about NoSQL databases? - Answer- - Most NoSQL databases have built-in modern features like redundancy and tolerance to failures - NoSQL databases were designed to scale large datasets horizontally Which of the following terms is used in MongoDB to map the concept of a row in RDBMS? - Answer- document Which of the following terms is used in MongoDB to map the concept of a table in RDBMS? - Answer- collection Which statements are good descriptions of the Document Model used in MongoDB? - Answer- - it is similar to map in Java and dictionaries in Python - it allows us to model one-to-one and one-to-many relationship ACID with MongoDB Document - Answer- Atomic - all write to one document are done at once Consistency - no dependency on other documents Isolation - document being modified not seen by other reads Durability - guaranteed by doing a write with a "majority" concern What of the following set of operations guarantee ACID data integrity? - Answer- - modify two documents within a MongoDB transaction - modify a field and array in a single document within a MongoDB transaction - Modify a field and array in a single document without using a transaction What are the main reasons distributed systems behave differently than single server systems? - Answer- - network speed is usually fast, but not instantaneous - networks are common point of failure Which one of the following are true about read/write preferences and concerns? - Answer- - the read concern tells the required durability requested for the read operation - the read preference tells which server to read data from - the write concern tells the required durability requested for the write operation Which of the following should you keep in mind when you design a data model with MongoDB? - Answer- - MongoDB is a distributed data - The document model encourages keeping related information together - MongoDB supports ACID with the docum
Written for
- Institution
- M100
- Course
- M100
Document information
- Uploaded on
- June 16, 2023
- Number of pages
- 2
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal