Q18 /20 Which of the following databases are classified as NoSQL?
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Which of the following databases are classified as NoSQL?
Show answer & explanation
Answer: B. Redis
Redis is an in-memory NoSQL database that stores data as key-value pairs, supporting various data structures like strings, lists, sets, and hashes. MySQL, SQLite, and PostgreSQL are all relational SQL databases that use structured schemas and SQL query language.
Step-by-step Derivation:
Classification of databases:
- MySQL: Relational SQL database (RDBMS)
- Redis: NoSQL key-value store (in-memory data structure store)
- SQLite: Relational SQL database (embedded RDBMS)
- PostgreSQL: Relational SQL database (RDBMS)
NoSQL databases are non-relational and do not use SQL as their primary query language. Redis fits this definition as a key-value NoSQL database. The other three are all SQL-based relational databases.