Question 1
EasyWhat does NoSQL usually mean?
- A.
'Not only SQL': databases that don't use the traditional relational table model
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
What does NoSQL usually mean?
'Not only SQL': databases that don't use the traditional relational table model
A database with no data
An old version of SQL
A database that forbids queries
Answer: A
NoSQL databases use other models — documents, key-value pairs, wide columns or graphs — often for scale and flexibility.
What type of NoSQL database is MongoDB?
Column-family store
Graph database
Document store
Key-value store
Answer: C
MongoDB stores JSON-like documents (BSON) in collections.
What type of database is Redis?
A document store
An in-memory key-value store
A relational database
A graph database
Answer: B
Redis keeps data in memory as keys mapped to values (strings, lists, hashes, sets), making it popular for caching.
Which database type is best suited to modelling social networks of friends and followers?
Graph database
Relational database with no joins
Key-value store
Spreadsheet
Answer: A
Graph databases such as Neo4j store nodes and edges directly, so traversals like 'friends of friends' are fast.
What is a typical advantage of NoSQL databases?
Fixed table structures
Strict ACID transactions in every case
Flexible schemas and easy horizontal scaling
No need for any storage
Answer: C
Many NoSQL systems spread data across many servers and let records have different fields.
Which type of database is Apache Cassandra?
Graph database
Document store
Relational database
Wide-column store
Answer: D
Cassandra stores rows with flexible columns grouped in column families, designed for very high write volumes.
In MongoDB, what is a collection?
An index
A single field
A group of documents, similar to a table
A database server
Answer: C
Databases contain collections, which contain documents.
Which data format do document databases such as MongoDB use to store records?
Images
Fixed-width text files
Spreadsheets
JSON-like documents
Answer: D
MongoDB stores documents in BSON, a binary form of JSON.
What is a key-value store?
A database of keyboard shortcuts
A database that stores values and looks them up by a unique key
A database of encryption keys only
A table with only two rows
Answer: B
It works like a large dictionary or hash map.
What is a wide-column (column-family) store?
A spreadsheet with wide columns
A database for images
A database that groups data into column families, where rows can have different columns
A relational database with many columns
Answer: C
Apache Cassandra and HBase are well-known examples.