Difficulty: 3/10collections, schema design, indexingA 'collection' is a group of documents that are stored together in a NoSQL database. It is similar to a table in a RDBMS.In addition to collections, MongoDB supports:1Read-only Views2On-Demand Materialized ViewsScenario Questions0-2 years experience1How would you create a new collection for storing user profiles in MongoDB, and what default index does MongoDB add?2If you insert a document into a collection that doesn't exist yet, what does MongoDB do behind the scenes?3What happens when you query a collection that currently has no documents?Follow-up QuestionsWhat default index does MongoDB create for every collection and why is it important?How would you verify that a collection was created with the options you intended?If a collection starts growing rapidly, what metrics would you monitor first?Suggest Improvement