AI & Technical question
Design a video chat infrastructure. How do you handle the scalability of the system with the least amount of cost?
- Microsoft
- AI & Technical
- Hard
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
- Clarify scale: concurrent call volume and typical group size, since architecture differs significantly between 1:1 and large group calls.
- 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.
- Address cost: use adaptive bitrate and simulcast so the server forwards only the necessary quality per participant's bandwidth, reducing costs at scale.
- Address regional cost and latency trade-off: deploy media servers in regional points of presence to reduce cross-region bandwidth cost and latency.
- Add elasticity: auto-scale media server capacity based on real-time concurrent call load rather than provisioning permanently for peak.
- Define success as cost per concurrent-minute of video and call quality metrics, packet loss and latency, under load.
What a strong answer includes
- Names the correct real-world architecture pattern, SFU over full mesh or MCU, with clear reasoning, showing genuine systems knowledge.
- Explicitly ties cost reduction to a concrete mechanism, simulcast and regional scaling, not just 'use the cloud.'
- Balances scalability and cost with a measurable metric, cost per concurrent-minute, rather than treating them as unconnected goals.
Common mistakes
- Proposing full mesh peer-to-peer for group calls, which doesn't scale past a handful of participants.
- Ignoring cost entirely and only discussing scalability, missing half the question.
Likely follow-up questions
- How would you handle a participant with very poor bandwidth?
- How would you decide between SFU and MCU architectures?
More ai & technical questions
- Create an API design for third-party integration for payments.Microsoft · AI & Technical · Hard
- How will you design a web service that enables other developers to create online chat applications?Microsoft · AI & Technical · Hard
- How will you design a mobile version of MS Word and ensure real time collaboration within this app?Microsoft · AI & Technical · Hard
- Write an algorithm for a robot that has to get from point A to point B in a room.Microsoft · AI & Technical · Medium
- Design the security for a chat/messaging application.Microsoft · AI & Technical · Hard
- Design a system that can detect fraudulent use of Microsoft Word.Microsoft · AI & Technical · Hard
More questions from Microsoft
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture