Beginner
System Design
Q8 / 100
What is the difference between a SQL (relational) database and a NoSQL database?
Correct! Well done.
Incorrect.
The correct answer is A) SQL databases use structured tables with fixed schemas and relationships; NoSQL databases offer flexible schemas and are often optimized for specific data models like documents or key-value pairs
A
Correct Answer
SQL databases use structured tables with fixed schemas and relationships; NoSQL databases offer flexible schemas and are often optimized for specific data models like documents or key-value pairs
Explanation
SQL databases (like PostgreSQL, MySQL) enforce schemas and relationships with ACID guarantees, while NoSQL databases (like MongoDB, Cassandra, Redis) trade some consistency or structure for flexibility and horizontal scalability.
Progress
8/100