BACKEND & DATA30 questions • 3 levels • ~12 min

Database Design Interview Quiz

Select level:

30 questions on relational modeling, ACID guarantees, CAP theorem, sharding strategies, CQRS, Event Sourcing, and distributed patterns.

Primary KeysForeign KeysNormalization (1NF-3NF)ACID GuaranteesNULL SemanticsCAP Theorem

What the Database Design interview quiz covers

This quiz evaluates core and advanced database modeling concepts: 1NF to 3NF normalization, ACID guarantees, the CAP theorem, and relational integrity constraints.

It also covers high-scale distributed architectural patterns including sharding strategies, replication topology, transaction isolation levels, CQRS, Event Sourcing, and the Saga Pattern.

Difficulty levels

Beginner focuses on relational fundamentals, primary and foreign keys, schema normalization, and NULL value semantics.

Intermediate explores the CAP theorem, SQL isolation levels (Read Committed through Serializable), and horizontal data sharding.

Advanced tests your architecture chops with Event Sourcing, CQRS, Saga patterns, Two-Phase Commit, and optimistic vs pessimistic locking.

Question topics covered

  • Relational normalization rules (1NF, 2NF, 3NF, BCNF)
  • ACID properties and transactional boundary design
  • CAP theorem trade-offs between consistency and availability
  • SQL transaction isolation levels and concurrency anomalies
  • Horizontal partitioning, partition keys, and sharding strategies
  • CQRS, Event Sourcing, and eventual consistency via Sagas

How to use the Database Design quiz

  1. Choose a difficulty level or complete all 30 questions.
  2. Consider real-world architectural trade-offs before locking in your choice.
  3. Read the detailed explanation and best-practice insights for every question.

Frequently asked questions about the Database Design quiz

There are 30 questions in total: 10 Beginner, 10 Intermediate, and 10 Advanced, with randomized question order.

Deepen your interview prep with other essential topics tested in engineering interviews.