• +91 9723535972
  • info@interviewmaterial.com

MongoDB Interview Questions and Answers

Question - While creating a schema in MongoDB, what are the points need to be taken into consideration?

Answer - While creating a schema in MongoDB, the points need to be taken care of are as follows: 1. Design our schema according to the user requirements 2. Combine objects into one document if we want to use them together; otherwise, separate them 3. Do joins while on write, and not when it is on read 4. For most frequent use cases, optimize the schema 5. Do complex aggregation in the schema

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners