These Go microservices scenario questions describe real problems in systems built from many services, from bad boundaries to lost events and cascading failures. Each one asks what you would do and what trade-off you accept. We gathered them from public interview lists and architecture reviews, then rewrote each one in our own words.
This post is questions only, so answer each one in your own words first. When you need help, read our post on microservices, Go circuit breaker pattern and Go retry with backoff. Also, finish our post on production debugging first, because most of these problems show up as incidents.
How to Use These Go Microservices Scenario Questions
For each of these Go microservices scenario questions, draw the services and arrows before you answer. Then name the failure point and the pattern that protects it. Finally, say what it costs, since every pattern adds work.
The table below lists each section and its number of questions.
| Section | What it tests | Questions |
|---|---|---|
| Boundaries | Split, merge and ownership | 15 |
| Communication | Calls, events and queues | 15 |
| Resilience | Timeouts, retries and fallbacks | 15 |
| Data consistency | Sagas, outbox and idempotency | 15 |
| Deploys and versions | Contracts and rollouts | 15 |
| Observability | Traces, SLOs and alerts | 15 |

Go Microservices Scenario Questions on Boundaries
Before you answer, study Go microservices basics and Go clean architecture. These Go microservices scenario questions check where one service should end and the next begin.
- Every feature needs changes in four services at once, so what does that say about your boundaries?
- Your startup has six developers and twelve services, so would you merge some, and which?
- When two services read and write the same tables, how would you untangle them?
- A user service grows to 60 endpoints, so how would you decide whether to split it?
- Imagine the billing team waits on the orders team for every release, then how would you reduce that?
- Your notification code lives in five services, so would you pull it into one?
- After a split, a simple page needs six network calls, so what went wrong?
- A shared library holds business rules for many services, so what risk does that bring?
- When a new feature does not fit any service, how would you decide where it goes?
- Your team owns a service nobody else understands, so how would you spread knowledge?
- A service exists only to pass calls through, so would you keep it?
- When moving from a monolith, which part would you pull out first?
- Two services have the same User type with different fields, so how would you handle it?
- Scenario: when a reorg moves half the team away, how would you change service ownership?
- Scenario: when leadership wants microservices for a new product, how would you argue for a modular monolith first?
Go Microservices Scenario Questions on Communication
Before you answer, study Go gRPC tutorial and Go NATS messaging. Calls and events fail in different ways, so these Go microservices scenario questions test your choice.
- An order must update stock, send an email and notify analytics, so which steps would be sync and which async?
- Your checkout calls five services in a chain and is slow, so how would you shorten it?
- When a consumer is down for an hour, what happens to events sent during that time?
- A team uses HTTP calls to broadcast a change to ten services, so what would you suggest?
- Imagine an event published twice by mistake, then how do consumers stay correct?
- Your events arrive out of order for one customer, so how would you fix ordering?
- After an event schema change, an old consumer crashes, so how would you prevent it?
- A request needs data from three services to build one response, so where would you join it?
- When should a service call another directly instead of reading from an event stream?
- Your queue grows faster than consumers drain it, so what options do you have?
- A partner webhook fails often, so how would you queue and retry it?
- When two services call each other in a loop, how would you break the cycle?
- An API gateway becomes a bottleneck, so how would you scale or split it?
- Scenario: when a missing event leaves an order stuck forever, how would you detect and fix stuck flows?
- Scenario: when a team wants Kafka for a system with ten events per minute, what would you advise?
Go Microservices Scenario Questions on Resilience
Before you answer, study Go circuit breaker pattern and Go rate limiting. One slow service can take down many others, so these Go microservices scenario questions focus on containment.
- The recommendation service is slow and the home page times out, so how would you protect the page?
- Your service retries a failing dependency three times at every layer, so how many calls really happen?
- When a downstream service recovers, a flood of retries knocks it down again, so what would you change?
- A payment call times out, but the charge may have gone through, so what should your service do?
- Imagine a shared database that slows down every service at once, then how would you add bulkheads?
- Your circuit breaker opens too often on small blips, so how would you tune it?
- After adding a fallback, users see stale data for hours, so what limit would you add?
- A partner allows 100 calls per minute shared across all your pods, so how would you enforce it?
- When one tenant floods the system, how would you protect the rest?
- Your service has no timeout on Redis calls, so what can happen during a Redis issue?
- A zone goes down and half your pods vanish, so what keeps the system running?
- When should a service shed load instead of queueing it?
- Your team wants chaos testing, so where would you start?
- Scenario: when a single bad deploy in one service causes a full outage, what design gaps would you look for?
- Scenario: when a vendor outage blocks logins, how would you add a backup path?
Go Microservices Scenario Questions on Data Consistency
Before you answer, study our post on database scenarios. Each service owns its data, so these Go microservices scenario questions test consistency without one big transaction.
- A customer pays, but the stock service never reserves the item, so how would you fix the flow?
- Your service saves to its database and then publishes an event, so what can go wrong in between?
- When a saga step fails halfway, how would you undo the earlier steps?
- A retry charges a customer twice, so how would idempotency keys help?
- Imagine a report that needs data from five services, then how would you build it?
- Your read model lags behind writes by minutes, so how would you explain it to users?
- After a bug, two services disagree on an order status, so how would you reconcile them?
- A user deletes their account, so how do all services remove their data?
- When a saga coordinator crashes in the middle, how does the flow continue?
- Your team proposes a distributed transaction across three databases, so what would you suggest instead?
- A consumer must not process the same event twice, so where would you store processed IDs?
- When should you accept eventual consistency, and when is it unacceptable?
- A product price changes while an order is in progress, so which price wins?
- Scenario: when finance finds orders with no matching payments, how would you design a daily check?
- Scenario: when an outbox table grows to millions of rows, how would you clean it safely?
Go Microservices Scenario Questions on Deploys and Versions
Before you answer, study our post on deployment. Services deploy on their own schedules, so these Go microservices scenario questions test safe change.
- Service A deploys a breaking API change and service B starts failing, so what process would prevent it?
- Your proto change removes a field that one consumer still reads, so how would you catch it in CI?
- When two services must change together, how would you release them safely?
- A canary shows a small error rise only for one client type, so would you continue?
- Imagine 40 services with different Go versions, then how would you keep them up to date?
- Your shared library update breaks three services, so how would you roll it out next time?
- After a deploy, one service cannot find another, so what would you check in discovery?
- A config change goes to all services at once and causes an outage, so how would you stage it?
- When a rollback needs an older event format, how do consumers handle both?
- Your team deploys 50 times a day, so what guard rails keep it safe?
- A feature spans four services behind one flag, so how would you coordinate the switch?
- When two services share one database migration, who owns it?
- How would you test a new version against real traffic without risk?
- Scenario: when a Friday deploy breaks the weekend, what rules would you change?
- Scenario: when no one knows which version of each service runs in production, what would you build?
Observability Across Services
Before you answer, study Go structured logging with slog and Go health checks. These questions check whether you can see a whole request across many services.
- A request is slow but every service dashboard looks fine, so what would you use?
- Your trace IDs disappear after a queue hop, so how would you carry them across?
- When each team uses a different log format, how would you make logs searchable?
- A user-facing SLO depends on six services, so how would you split the error budget?
- Imagine an alert storm where 30 services alert at once, then how would you find the source?
- Your service map is out of date, so how would you build one from traces?
- After adding tracing everywhere, costs rise, so how would you sample?
- A health check says OK while a dependency is down, so what should it report?
- When a dependency is slow, which metric would show it first?
- Your on-call rotation covers ten services, so how would you write runbooks?
- A business metric such as orders per minute drops, so how would you link it to a service?
- When logs contain user data from many services, how would you control access?
- How would you show the health of a whole business flow on one page?
- Scenario: when an incident review says it took 40 minutes to find the failing service, what would you add?
- Scenario: when a new team joins and cannot understand the system, which docs and tools would you give them?
Code Reading Questions
Read each program carefully and predict the output before you run it. Then explain the result in your own words.
package main
import "fmt"
type Payments struct {
done map[string]string
charges int
}
func (p *Payments) Charge(key string, amount int) string {
if r, ok := p.done[key]; ok {
return r + " (replayed)"
}
p.charges++
r := fmt.Sprintf("charged %d", amount)
p.done[key] = r
return r
}
func main() {
p := &Payments{done: map[string]string{}}
fmt.Println(p.Charge("ord-1", 500))
fmt.Println(p.Charge("ord-1", 500))
fmt.Println(p.Charge("ord-2", 250))
fmt.Println("real charges:", p.charges)
}
- What do the four lines print, and how does the key stop a double charge?
- What breaks if two pods each keep their own done map, and where should the keys live?
The second program runs a small saga with compensation steps.
package main
import (
"errors"
"fmt"
)
type step struct {
name string
do func() error
compensate func()
}
func run(steps []step) error {
var done []step
for _, s := range steps {
if err := s.do(); err != nil {
for i := len(done) - 1; i >= 0; i-- {
done[i].compensate()
}
return fmt.Errorf("%s failed: %w", s.name, err)
}
done = append(done, s)
}
return nil
}
func main() {
log := func(msg string) func() { return func() { fmt.Println(msg) } }
ok := func() error { return nil }
err := run([]step{
{"reserve stock", ok, log("release stock")},
{"charge card", ok, log("refund card")},
{"book courier", func() error { return errors.New("no courier") }, log("cancel courier")},
})
fmt.Println(err)
}
- In what order do the compensation lines print, and why is cancel courier never printed?
- What should happen if refund card itself fails?
Quick Revision Table for Service Problems
Use the table below as a final check before your interview. It maps common problems to the pattern that helps most.
| Problem | Pattern | Key idea |
|---|---|---|
| Retries cause duplicates | Idempotency keys | Same key, same result |
| Event lost after commit | Outbox | Save event with the data |
| Multi-step flow fails | Saga | Undo with compensations |
| Slow dependency | Timeout and circuit breaker | Fail fast, recover later |
| One tenant floods all | Bulkhead and quotas | Separate limits |
| Hard to find slow hop | Distributed tracing | One trace ID everywhere |
Also, many interviewers ask you to compare choreography and orchestration. The diagram below shows the difference side by side.

Official Resources
These official pages explain the tools behind these scenarios.
Quick Recap
- These Go microservices scenario questions cover boundaries, communication, resilience, consistency, deploys and observability.
- Draw boundaries around business capabilities, and merge services that always change together.
- Use events for broadcasts and sync calls only when you need an answer now.
- Every call needs a timeout, and retries need limits and idempotency.
- Use the outbox and sagas instead of distributed transactions.
- Pass one trace ID through every hop, including queues.
What’s Next?
By now, you have Go microservices scenario questions for the problems service-based systems face. Practise your answers out loud, then check your progress in the Go interview topics study guide.
Next up: Go security scenario questions


