System Design · interview question
When you're designing a microservice that requires high availability and flexibility in schema design, which database type should you consider first?
Multiple choiceEasychapter-20-curatedpremiumsystem-designdefending-tradeoffs
Answer and explanation
Correct answer
A. NoSQL
Why
NoSQL databases are often chosen for their ability to handle flexible and evolving schemas, as well as their high availability in distributed systems. They are designed to scale horizontally, which is ideal for microservices needing rapid development and deployment.
Test yourself on System Design
A free test with instant, explained results. No account needed.
More System Design questions
- If an interviewer says inventory accuracy is critical during checkout, which design statement is strongest?
- You are reviewing a codebase and spot a potential security issue. Which practice is most effective for mitigating SQL…
- Which approach is the strongest way to start a senior system-design answer?
- When discussing SQL databases, what does ACID stand for, and why is it important?
- During a code review, you spot a potential race condition. What is one effective way to address this in Java?
- In a system design interview, you're asked about CAP theorem. Which two properties can a distributed database…