Design an Online Exam Delivery Platform That Survives Network Drops
Last updated: November 29, 2026
Quick Overview
Design a system that delivers timed, proctored exams to hundreds of thousands of candidates across test centers, where answers must never be lost if a center's internet link drops, question papers must stay secret until the exam starts, and results must be computed soon after.
TCS
November 29, 20260
0
0 solved
Design a system that delivers timed, proctored exams to hundreds of thousands of candidates across test centers, where answers must never be lost if a center's internet link drops, question papers must stay secret until the exam starts, and results must be computed soon after.
TCS iON conducts high-stakes recruitment and entrance exams in secure centers, so reliability and paper security matter as much as throughput. The interviewer looks for an edge-plus-cloud design, a clear answer to the offline question, and how the candidate keeps timing and integrity honest.
What the Interviewer Expects
- Clarify scale, center topology and offline tolerance
- Place a local center server between candidate terminals and the cloud
- Encrypt papers ahead of time and release keys at start time
- Autosave answers locally with an append-only log and sync later
- Keep the exam clock server-side and resumable
- Describe evaluation and result publishing
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you resume a candidate whose terminal crashed at minute 47?
- How would you randomize question order per candidate without breaking evaluation?
- What if a key release fails to reach one center at start time?
- How do you detect answer tampering on the center server?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
300k candidates in one shift across 1,000 centers; 100 questions, 2 hours. Each answer change must be durable within a second. A center may lose internet for the whole exam and still finish. Papers ca...
High-Level Design
Cloud: exam authoring, paper encryption, key service, sync ingest, evaluation, results. Each center: a hardened local server on the LAN that holds the encrypted paper, serves terminals, timestamps and...