CS FundamentalsHardProduct-company placement
A company split its monolith into 12 microservices, but every release still needs all 12 deployed together in a fixed order, and several services read and write the same database tables. What is this anti-pattern called?
- A. Distributed monolith
- B. Strangler fig
- C. Service mesh
- D. Event sourcing
Correct answer: A. Distributed monolith
Services that share schemas and must deploy in lockstep keep the monolith's coupling while adding network calls and partial failures. Independent deployability and data ownership per service are the point of microservices.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A gRPC API's Protocol Buffers message had field 'int32 discount = 4', which was deleted last year. A developer now adds 'string coupon =…
- For monitoring, which pairing of method and what it tracks is correct?
- A service receives 2000 requests per second; each request holds a worker thread for 150 ms on average. It runs on 4 identical instances…
- A request flows client → A → B → C → D. Services A, B and C each make up to 3 attempts (1 + 2 retries) when their downstream call fails. D…
- A web API's documentation says nothing about the order of items in a JSON list, which happened to be sorted by id. After an internal…
- A dependency-injection container registers ReportCache as a singleton, and ReportCache takes a DbSession in its constructor; DbSession is…