Question Bank

Interview Practice Questions

1,600+ practice questions organized by topic, company tag, and difficulty.

1635
questions
16
categories
50
companies

Showing 20 of 1635 questions

MediumSQL & Databases

Explain what MVCC is and how it works in PostgreSQL.

postgresqlmvcc
Practice in bot
MediumSQL & Databases

What is ACID and why is it important for transactions in databases?

transactionsacid
Practice in bot
HardSQL & Databases

Compare SQL and NoSQL databases. In what cases might each be preferable?

sql vs nosqldatabases
Practice in bot
HardSQL & Databases

Explain the CAP theorem. How does it affect the design of distributed systems?

cap theoremdistributed systems
Practice in bot
HardSQL & Databases

When does it make sense to use table partitioning in PostgreSQL?

partitioningpostgresql
Practice in bot
MediumSQL & Databases

How does replication work in databases and what types are there?

replicationdatabases
Practice in bot
EasySQL & Databases

Explain what a primary key is and its role in a relational database.

databaserelational
Practice in bot
EasySQL & Databases

What are the main differences between INNER JOIN and LEFT JOIN?

sqljoin
Practice in bot
MediumSQL & Databases

What is a CTE (Common Table Expression) and when should it be used?

sqlcte
Practice in bot
MediumSQL & Databases

Explain how B-tree indexes work and their advantages over hash indexes.

databaseindexes
Practice in bot
MediumSQL & Databases

When should window functions be used in SQL?

sqlwindow functions
Practice in bot
HardSQL & Databases

Explain the differences between ACID and BASE in the context of databases.

databaseacidbase
Practice in bot
HardSQL & Databases

How does the MVCC (Multiversion Concurrency Control) mechanism work in PostgreSQL?

postgresqlmvcc
Practice in bot
HardSQL & Databases

Explain how replication works in databases and what types exist.

databasereplication
Practice in bot
MediumSQL & Databases

What is sharding and what advantages does it provide in distributed databases?

databasesharding
Practice in bot
EasySQL & Databases

What is the role of the HAVING clause and how does it differ from the WHERE clause?

sqlhavingwhere
Practice in bot
EasySQL & Databases

What are window functions in SQL and how do they differ from aggregate functions?

sqlwindow_functions
Practice in bot
EasySQL & Databases

Explain what a primary key is and how it differs from a unique key.

sqlkeys
Practice in bot
EasySQL & Databases

What is a transaction and what are its main properties according to ACID?

sqltransactions
Practice in bot
MediumSQL & Databases

How does the MVCC mechanism work in PostgreSQL and how does it improve performance?

postgresqlmvcc
Practice in bot

Prepare for your next interview with Vibe Interview.

Download Vibe Interview
Question Bank — page 65 | Vibe Interview