DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Databases Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Databases
What is the primary purpose of the 'Expand-and-Contract' pattern in database schema migrations?
A
To compress database tables to save storage costs
B
To ensure database changes are backward-compatible so that both old and new code versions can run concurrently during deployment without downtime
C
To automatically convert relational tables to MongoDB collections
D
To encrypt data fields before backup runs
Check Answer