Service boundaries, API gateways, service discovery, database per service and the shared database anti-pattern, contract testing, backward compatibility and service ownership.
-
What is Conway's law, and how does it affect the way you design or change service boundaries?
Intermediate
Theory
Microservices
-
Should a Kubernetes readiness probe check the service's downstream dependencies, such as its database or other services?
Mid-Level
Theory
Microservices
-
How do you version an event schema so that old and new consumers keep working while messages of both versions are in flight?
Senior
Theory
Microservices
-
What is an error budget, how do you calculate it, and what happens when a team runs out of it?
Senior
Architecture
Microservices
-
Your team is moving a feature out of the monolith into its own microservice. What actually changes for you as a developer when a method call becomes a network call to another service, and what costs do you take on compared with keeping it in the monolith?
What a microservice is in practice, and the concrete costs of turning in-process calls into network calls: latency, partial failure, no shared transaction, versioning, deployment and observability.
Junior
Theory
Microservices
Β· π 3 follow-ups
-
How do you find good service boundaries? Explain business capabilities, bounded contexts, data ownership and team ownership, how you test a proposed boundary, and the signs that a boundary is in the wrong place.
Finding microservice boundaries from business capabilities and bounded contexts, using data and team ownership, testing a boundary with change and call patterns, and recognising a wrong boundary.
Intermediate
Theory
Microservices
Β· π 3 follow-ups Β· π 1 real-world
-
How does a service find the address of another service it needs to call? Explain service discovery with DNS, Kubernetes Services, and .NET's Microsoft.Extensions.ServiceDiscovery (as used by Aspire), compare client-side and server-side discovery, and tell me what breaks when discovery goes wrong.
Service discovery for .NET services: DNS, Kubernetes Services and kube-proxy, Microsoft.Extensions.ServiceDiscovery and Aspire, client-side vs server-side discovery, and failure modes such as stale DNS and uneven load.
Mid-Level
Theory
Microservices
Β· π 3 follow-ups Β· π 1 real-world
-
Two of your services read and write the same SQL Server tables. Explain what goes wrong with this shared database setup compared with database per service, and walk me through how you would move to database per service step by step without downtime.
The shared database anti-pattern versus database per service: schema coupling, hidden invariants, locking and scaling problems, and a step-by-step, zero-downtime migration to separate data ownership.
Mid-Level
Theory
Microservices
Β· π 3 follow-ups Β· π 1 real-world
-
How do you stop one service from breaking another when it changes its API or its messages? Explain consumer-driven contract testing with Pact (PactNet), how it differs from end-to-end tests, and the backward compatibility rules you follow for HTTP APIs and message schemas.
Consumer-driven contract testing with PactNet for HTTP and messages, the Pact Broker and can-i-deploy, comparison with end-to-end tests, and concrete backward compatibility rules for JSON APIs and events.
Senior
Theory
Microservices
Β· π 3 follow-ups Β· π 1 real-world
-
What does service ownership mean in a microservices organisation? Explain "you build it, you run it", on-call, per-service SLOs and error budgets, and the role of a platform team, and tell me how you would set this up for a company moving from a central ops team.
Service ownership in microservices: you build it, you run it, sustainable on-call, SLIs, SLOs and error budgets per service, service catalogues, and platform teams providing paved roads, plus a transition plan from central operations.
Senior
Architecture
Microservices
Β· π 3 follow-ups Β· π 1 real-world
-
A team makes what looks like a small change in one service, and three other services start failing in production within an hour. How do you diagnose it, find the hidden coupling (shared database, shared library, synchronous call chains, shared message contracts), and stop it happening again?
Diagnosing a change in one microservice that breaks others: using traces, deployment markers and dependency maps to find hidden coupling through shared databases, shared NuGet libraries, synchronous call chains and message contracts, then mitigating and removing it.
Senior
Debugging
Microservices
Β· π 3 follow-ups Β· π 1 real-world
-
Your company has around 40 microservices, six teams, and delivery has slowed down: most features need changes in several services and releases are coordinated. How would you assess whether to consolidate services, decide which ones to merge, and carry it out without stopping feature work?
Assessing an over-split microservices estate with data (change coupling, call graphs, ownership, cost and DORA metrics), deciding which services to merge into fewer, team-aligned services or a modular monolith, and executing the consolidation incrementally with stakeholder buy-in.
Staff / Architect
Architecture
Microservices
Β· π 3 follow-ups Β· π 1 real-world