Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 subjective questions NoSQLDatabases

INT306 — Database Management Systems 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Compare and contrast SQL and NoSQL databases in terms of schema, scalability, and data models.

  2. Question 2 of 20

    What is MongoDB? Discuss its key features that distinguish it from traditional relational databases.

  3. Question 3 of 20

    Explain the hierarchical structure of MongoDB data storage. How does it map to RDBMS concepts?

  4. Question 4 of 20

    Describe the basic CRUD operations in MongoDB. Provide the syntax for each.

  5. Question 5 of 20

    What is Amazon DynamoDB? Explain its core components.

  6. Question 6 of 20

    Explain the concept of Primary Keys in DynamoDB. Differentiate between Partition Key and Sort Key.

  7. Question 7 of 20

    Define a Serverless Cloud Database. What are its major benefits?

  8. Question 8 of 20

    How does a serverless database differ from a traditional provisioned cloud database?

  9. Question 9 of 20

    What are JSON databases? Explain how JSON format is utilized for storing structured and semi-structured data.

  10. Question 10 of 20

    Provide a detailed JSON representation of a dataset for a 'University Student'. Include examples of nested objects and arrays.

  11. Question 11 of 20

    Explain the concept of BSON in MongoDB. Why does MongoDB use BSON instead of plain JSON?

  12. Question 12 of 20

    What is an index in a database, and why is index creation important in MongoDB?

  13. Question 13 of 20

    How do you create an index in MongoDB? Provide the syntax for single-field, compound, and descending indexes.

  14. Question 14 of 20

    Explain the purpose of the explain() method in MongoDB. How does it assist in performance optimization?

  15. Question 15 of 20

    Describe a scenario showing performance comparison using EXPLAIN before and after creating an index in MongoDB.

  16. Question 16 of 20

    What are Vector Databases? Why have they become increasingly important with the rise of Artificial Intelligence and Machine Learning?

  17. Question 17 of 20

    Explain the concept of Similarity Search in Vector Databases. Mention mathematical distance metrics used.

  18. Question 18 of 20

    Explain the CAP Theorem. How does it apply to NoSQL databases like MongoDB and DynamoDB?

  19. Question 19 of 20

    Discuss the MongoDB Aggregation Pipeline. Give a brief example of how stages are chained to process data.

  20. Question 20 of 20

    What is meant by an Eventual Consistency model in NoSQL databases? Contrast it with Strong Consistency.

That's unit 6

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.