SpinTheMic
Pro

Interview practice question

Teams keep breaking module boundaries

Backend Engineering · OOP and Design Patterns · Experienced

Your modular monolith has clear modules on paper, but developers keep importing internal classes across modules. How do you enforce boundaries?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Architecture tests in CI (ArchUnit, Modulith).
  • Language visibility: packages, internal, modules.
  • Public API per module.
  • Separate build modules.
  • Code ownership and reviews.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics