Solutions Architect Interview Question

When would you integrate systems synchronously through APIs, and when asynchronously through messaging?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Use synchronous APIs when the caller needs an immediate answer, such as checking stock or authorising a payment, and the dependency is fast and reliable. Use asynchronous messaging through queues or events when work can happen later, when one system failing must not stop the other, or when you need to absorb spikes. Asynchronous designs need idempotent consumers, retries and dead-letter handling, and they are eventually consistent.

Why interviewers ask this

Integration is where many solutions fail, and the choice between synchronous and asynchronous communication shapes reliability, performance and user experience. The interviewer wants to see that you choose based on the business need rather than habit, and that you understand the consequences: tight coupling and cascading failures on one side, eventual consistency and duplicate messages on the other. Concrete examples make the answer convincing.

How to structure your answer

  • Describe when synchronous calls make sense.
  • Describe when asynchronous messaging is better.
  • Explain the costs of each approach.
  • Give a concrete example combining both.

Example answer

Spoken example, first person

I use synchronous calls when the user is waiting for an answer only the other system can give, such as whether a delivery slot is free or whether a card payment is authorised. It is simple, but it couples the two systems. If the downstream service is slow, the caller is slow, and if it is down, the caller fails, so I add timeouts, limited retries and a circuit breaker, and decide what the user sees on failure. I use asynchronous messaging when the work does not need to finish before we respond, such as confirmation emails or warehouse updates. A queue or event stream decouples the systems, so the warehouse system can be down for an hour and catch up afterwards, and it smooths out traffic spikes. The price is eventual consistency and more moving parts. Messages can arrive twice or out of order, so consumers must be idempotent, and failed messages need a dead-letter queue that someone actually watches. Most real designs mix both: placing an order is synchronous up to payment, and everything after it is asynchronous.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • What does a circuit breaker do, and when would it open?
  • How do you make a message consumer idempotent?
  • How would you show a user the status of work that happens asynchronously?

Related solutions architect questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot