Design Patterns · Senior · Question 40 of 75
How does a modular monolith differ from microservices (micro-frontends)?
- ✓Correct answer: One build and deploy, but strict module boundaries inside
- 2A monolith can't have modules - it's one big folder
- 3A modular monolith is deployed in parts to different servers
Explanation
A modular monolith gives most of the benefits of separation (boundaries, ownership, public APIs) without distributed complexity. It's often the right first step: modules can be extracted later if a real need arises.