AI & Technical question

Design a video chat infrastructure. How do you handle the scalability of the system with the least amount of cost?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Systems design trading off scalability and cost for real-time media infrastructure, with a named architecture pattern.

How to approach it

  1. Clarify scale: concurrent call volume and typical group size, since architecture differs significantly between 1:1 and large group calls.
  2. Propose the core approach: a Selective Forwarding Unit architecture rather than full mesh peer-to-peer, since mesh doesn't scale past a few participants.
  3. Address cost: use adaptive bitrate and simulcast so the server forwards only the necessary quality per participant's bandwidth, reducing costs at scale.
  4. Address regional cost and latency trade-off: deploy media servers in regional points of presence to reduce cross-region bandwidth cost and latency.
  5. Add elasticity: auto-scale media server capacity based on real-time concurrent call load rather than provisioning permanently for peak.
  6. Define success as cost per concurrent-minute of video and call quality metrics, packet loss and latency, under load.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from Microsoft

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank