Ad
Sponsored by Sir Tauqeer
CLICK HERE TO JOIN SIR TAUQUEER WHATSAPP GROUP
FOR PREPARATION CLASSES AND JOBS UPDATES
Join Now

MongoDB belongs to which type of database?

A. Relational database
B. NoSQL database.
C. SQL database
D. Flat-file database
Correct Answer: B. NoSQL database.
Explanation:


The correct answer is NoSQL database. because MongoDB utilizes a non-relational, document-oriented model to manage structural data feeds efficiently.



    • Step 1 (Document Store Model): MongoDB avoids traditional tables and rows. Instead, it records datasets as BSON documents (binary JSON format), allowing schemas to vary flexibly between items.

    • Step 2 (Scalability Features): As a NoSQL system, it is architected to scale out horizontally across distributed clusters, making it ideal for handling unstructured big data and high-velocity workloads.

    • Incorrect Options:

      • Relational database is incorrect because relational systems rely on rigid schemas, structured tables, primary keys, and foreign keys.

      • SQL database is incorrect because SQL databases are simply the query language foundation used to interact with structured relational systems.

      • Flat-file database is incorrect because flat files store text records sequentially without structured indexing mechanisms or database management engine features.




Leave a Comment

Your email address will not be published. Required fields are marked *

Join Our WhatsApp Channel ×
Scroll to Top