Explain the methods used to secure MongoDB deploym
Explain how to perform advanced queries using regular expr
MongoDB.
Explain the use of indexes to improve query performance in
Define schema validation in MongoDB. Why is it impor
Explain the purpose and syntax of the $match stage in M
aggregation.
Explain how the $group stage is used in MongoDB aggregatio
Explain how MongoDB handles authorization with roles and
Describe MongoDB and state how does it differ from traditi
databases?
Explain the process of inserting a new document into a MongoD
Discuss the steps to create a schema in MongoDB using M
Define a field in a MongoDB schema. IIIustrate with exa
Apply your understanding of MongoDB to explain its advantag
databases, and identify scenarios where using MongoDB wou
appropriate.
Compare the performance of MongoDB and SQL databases f
unstructured data.
Explain the document-oriented model used by Mongo
Demonstrate to insert a new document into a MongoDB co
Imagine You are working with a MongoDB collection named s
stores the following fields: name, roll_no, department, an
a) Explain each of the CRUD operations (Create, Read, Update
MongoDB with appropriate methods. (6 Marks)
b) Write MongoDB queries to perform the following tasks:
Insert a new student record:
name: "Amit", roll_no: 101, department: "CSE", marks
Retrieve all students from the CSE department.
Update the marks of the student with roll_no: 101 to
Delete the record of the student with roll_no: 101
Discuss the steps to create a schema in MongoDB using M
Explain the use of field in MongoDB schema. IIIustrate with
Analyze the role of Node.js, React, Express, and MongoDB in
application and show how do these technologies integrate to c
review web app. Also, provide a basic interface for the mov
application.
Elaborate the steps involved in setting up a full-stack deve
environment for a MERN stack project. Include installati
configuration of tools like Node.js, MongoDB, and Re
You are developing a RESTful API using Express.js and Mon
managing a products collection with fields: name, price, catego
a) Explain how Express.js is used to create routes for handling d
methods.
b) Write Express.js route handlers to perform the following
operations using Mongoose:
POST: Add a new product document.
GET: Retrieve all products under the category "Electron