All jobs / Backend developer / Architecture

Backend developer interview question · 5+ years

The interviewer asks: “Billing keeps importing Order's entity. What's the design problem?” Strongest answer?

The strongest answer

We've crossed a bounded context. Billing should depend on a published language — an API or event — not on Order's tables and types. I split the model and the ownership, not just the repo folders.

Why it works

Exactly. DDD here is practical: independent evolution, independent deploys, a contract at the edge. Shared entities are a distributed monolith.

What a good answer covers

Answers that fall short

Who gets asked this

More Architecture questions