📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

What is a bounded context, and how do you decide where one ends and another begins?

Junior Theory Beginner

🎯 Key points

  • Boundary for one model and one language
  • Language changes and term disputes signal an edge
  • Different experts or stakeholders own the rules
  • Parts that change for different reasons or at different rates get separate models
  • Usually one team per context, mapped to a module or service
  • Integration is explicit: a context map with patterns such as customer-supplier, ACL or published events
  • Each context owns its data; others integrate through APIs or events

⏱ 30-second answer

A bounded context is the boundary within which one model and one language apply consistently. You find its edges where the language changes (the same word means different things), where different experts or stakeholders own the rules, and where parts of the domain change for different reasons and at different rates (tax rules yearly, catalogue daily), because those parts need models that can evolve separately. Each context usually maps to one team and one module or service. Contexts still have to work together, so you draw a context map of how they integrate (customer-supplier, anti-corruption layer, published events) and keep each context's data private behind those integrations.

🔍 What the interviewer is checking

Checks they understand the core strategic building block.

↩ Usually asked after

More in Domain-Driven Design

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me