Multi-Agent Systems interview question

Agentic AIMulti-Agent SystemsLatencyeasy

A telecom network-diagnosis orchestrator fans out to 8 sub-agents in parallel (one per system: radio network, core, billing, …) and waits for all of them before answering. Each sub-agent independently finishes within 30 s with probability 0.9. How often does the whole fan-out finish within 30 s, and what is the best design response?

  1. AAbout 90%, because the sub-agents run in parallel, so the fan-out is on time exactly as often as a single sub-agent is; adding more sub-agents leaves the tail unchanged.
  2. BAbout 20% (1 − 8 × 0.1), because each sub-agent adds its own 10% risk of being late; halve the fan-out to 4 sub-agents to bring the on-time rate back to 60%.
  3. CAbout 43% (0.9⁸), because the slowest of the 8 sets the latency; give each sub-agent a deadline and let the orchestrator answer from partial results, flagging gaps.
  4. DAlmost 100% (1 − 0.1⁸), because the fan-out is late only if all 8 sub-agents are late together; no deadline is needed, as redundancy across agents absorbs slow ones.
Show the answer and explanation

Correct answer: C, About 43% (0.9⁸), because the slowest of the 8 sets the latency; give each sub-agent a deadline and let the orchestrator answer from partial results, flagging gaps.

Explanation Multi-Agent Systems

When an orchestrator waits for all of its sub-agents, the slowest one sets the latency. With independent sub-agents that each finish within 30 s with probability 0.9:

P(all 8 on time) = 0.9⁸ ≈ 0.43, so about 57% of requests exceed 30 s, even though each sub-agent looks fine on its own.

Sub-agentsP(all within 30 s)
190.0%
281.0%
465.6%
843.0%
1618.5%

To keep 90% for the whole fan-out, each sub-agent would need 0.9^(1/8) ≈ 98.7% on-time probability. A cheaper fix is to stop waiting for stragglers: give each sub-agent a deadline, let the orchestrator answer from the results that arrived, and state which systems are missing. With a 30 s deadline, at least 7 of the 8 results arrive about 81% of the time (0.9⁸ + 8 × 0.1 × 0.9⁷). Hedged requests (a backup call after a delay) and caching also shorten the tail.

Why the other numbers are wrong:

  • 90% treats the fan-out like one sub-agent; parallelism removes the sum of latencies but not the maximum.
  • 20% (1 − 8 × 0.1) is the union bound, a lower limit rather than the exact value; it would even go negative for 11 sub-agents. With 4 sub-agents the true rate is 65.6%, not 60%.
  • ≈100% (1 − 0.1⁸) is the probability that at least one sub-agent finishes on time, which matters for redundant requests, not for waiting on all of them.

Interview tip: say "fan-out amplifies tail latency" and propose per-call deadlines plus graceful degradation.

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Agentic AI questions

  1. A bank's document pipeline in Google's Agent Development Kit (ADK) must always run extract → validate → summarise, in that order. It is built as an LlmAgent…
  2. A bank moves its claims-triage planner from a general chat model to a reasoning model. The old prompt says "Think step by step", lists a fixed 10-step script…
  3. In LLM applications, what is an AI agent?
  4. Why do long-running agents checkpoint (persist) their state after each step?
  5. During an outage, a retailer's inventory API answers every request with HTTP 503. The shopping assistant reaches it through the three layers below; assume the…