A well-structured monolith is usually the better start for a new product, a small team or an unclear domain, because it is simpler to build, test, deploy and debug. Microservices pay off when several teams need to deploy independently, parts of the system have very different scaling or reliability needs, or the domain boundaries are well understood. They add network calls, distributed data and operational overhead, so the organisation must be ready for that.
Why interviewers ask this
Microservices are often chosen for fashion rather than need, and the interviewer wants to see whether you understand the real costs as well as the benefits. They listen for team structure, domain maturity and operational readiness as the deciding factors. Mentioning a modular monolith as a middle ground, and splitting out services only where there is a clear reason, shows pragmatic judgement rather than attachment to one style.
How to structure your answer
- Explain the strengths of a monolith.
- Explain when microservices genuinely help.
- Describe the costs of distribution.
- Recommend a pragmatic path, such as a modular monolith.
Example answer
For most new products I recommend starting with a well-structured monolith. One codebase and one deployment are simpler to build and test, transactions are easy because there is one database, and debugging does not mean tracing a request across ten services. Early on, the domain boundaries are usually unclear, and splitting too soon gives you services that must change together: all of the cost, none of the benefit. Microservices make sense when several teams keep tripping over each other in one codebase, when part of the system has very different scaling or availability needs, or when a clear, stable boundary, such as payments, benefits from isolation. But they bring real costs: network latency and failures between services, data spread across databases, eventual consistency, harder testing, and the need for good monitoring, tracing and automated deployment. So my usual advice is a modular monolith with clear internal boundaries, extracting a service only where there is a specific reason.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- How would you decide where to draw service boundaries?
- What would you need in place before running dozens of microservices?
- How would you break a large monolith apart safely?
Related solutions architect questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions