My Report

MongoDB Practice Test 3


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which of the following pattern is more straightforward to use?

2. To add structures to your document to support keyword-based queries add the keywords as ______ in the array.

3. How will avoid mutable, growing arrays in the following schema?

{
   name: "O'Reilly Media",
   founded: 1980,
   location: "CA",
   books: [12346789, 234567890, ...]
}

{
    _id: 123456789,
    title: "MongoDB: The Definitive Guide",
    author: [ "Kristina Chodorow", "Mike Dirolf" ],
    published_date: ISODate("2010-09-24"),
    pages: 216,
    language: "English"
}

{
   _id: 234567890,
   title: "50 Tips and Tricks for MongoDB Developer",
   author: "Kristina Chodorow",
   published_date: ISODate("2011-05-06"),
   pages: 68,
   language: "English"
} 

4. The ____________ pattern identifies each node in the tree as stops in a round-trip traversal of the tree.

5. _________ is a binary serialization format used to store documents and make remote procedure calls in MongoDB.

6. The files_id field contains the _id of the chunk’s __________ document.

7. The ________ Links pattern provides a simple solution to tree storage but requires multiple queries to retrieve subtrees.

8. Point out the wrong statement.

9. Point out the correct statement.

10. To store documents larger than the maximum size, MongoDB provides the _______ API.


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.