Test details
MongoDB is a document-oriented database management system that can be distributed over any number of computers and does not require a predefined data schema. It is written in C ++. The server and tools are distributed under the SSPL license, the drivers under the Apache license, and the documentation under the Creative Commons license.
It is part of the NoSQL movement.This test validates your basic skills on the following topics:
- The syntax
- Aggregations
- Dynamic attributes
- Indexes
Sample question
THIS BLOCK IS THE SAME FOR ALL QUESTIONS
You must design a landscaper marketplace.
A person can register as a landscaper. She then chooses the services she offers from a pre-established list. She then declares - by selecting on a calendar - her availability (a start date and an end date, the days are always whole).
Another person can register on the site as a client. She can then select the one or more services she is looking for. A list of landscapers is then presented to her with a filter that allows only landscapers available for certain days / periods to be presented.
If the client finds an adequate landscaper, he can then select the dates he actually needs and then place an order.
All the questions of the quiz refer to this problem.
####Two important constraints are added to answer the questions:
No data redundancy is tolerated.
We will consider the storage of structured data (array, hash, json, etc.) in a single data field impossible.
You decide to model as follows:
# collection landscapers
{
_id: ObjectId("4c0791e2b9ec877893f3363a"),
name: "John Lennon",
services:["sculpture", "labyrinth"]
}
The list of possible services is stopped in advance. How do you ensure that the written values are part of this list?
Developers ratings
Recommended tests
- Our interview questions for Data Scientist