All jobs / Solutions / cloud architect / Communication
Solutions / cloud architect interview question · 1–3 years
When is a sequence diagram the right picture, and what mistake makes it useless?
The strongest answer
When the order of interactions between parties matters — a login flow, a payment with retries, a timeout path; the mistake is drawing only the happy path or every call in the system, so the failure cases people argue about are missing
Why it works
Right — a sequence diagram earns its place on one flow with its failure branches.
What a good answer covers
- One flow, with its failures.
- Order between parties matters.
- Include timeout and error paths.
- Not every call in the system.
Answers that fall short
- Close, but not the strongest: When you need to show all the components of the system on one page
Structure belongs in a container diagram; a sequence shows time and order for one scenario. - Weak: Sequence diagrams are for documentation after the code is written
They are most valuable before the code, when the team is deciding who calls whom and what happens on failure. - Red flag: They are never worth it; the code and the logs show the real sequence
Code shows what one service does; the diagram shows the agreement between several before it exists.
Who gets asked this
More Communication questions
- You have three viable designs. How do you present them to non-technical decision makers?
- The CTO wants a technology you believe is wrong for the problem. How do you handle it?
- You present a proposed architecture to a customer’s technical team, who must approve it before the contract…
- How do you get leadership to fund architectural debt work that has no feature attached?
- You have twenty minutes with the executive committee about a platform re-architecture. What is on the one…
- You have no direct reports and no budget authority. How do you get fifty teams to move in one direction?
- What must an architecture diagram show before anyone can review it?
- What are the levels of a C4 diagram, and which one do you show first?