How the interviewer opens it
“Design an online examination system. Candidates take scheduled exams and receive their results.”
The prompt is vague on purpose. The first minutes are for you. Reduce the prompt to the core features and agree on the numbers before you draw.
What to clarify first
- Exam format
- Scale and retention
- Traffic and payloads
- Attempts and access
- Time limits
- Latency
- Consistency, availability, and durability
- Submission and results
- Content protection
- Excluded features
The interviewer has the answers. In a SysRound round, Alex gives these answers, as a real interviewer does.
Scope of a strong answer
Core requirements
- Start an assigned exam and read its questions
- Save answers and resume an attempt
- Submit an attempt or end it at the deadline
- Grade answers and release scores
Usually out of scope
- Question author tools
- Essay grading
- Live video supervision
- Account creation and identity verification
- Payments
What interviewers ask about
- Answers across requests
- Retries and multiple devices can reverse answer changes unless the system defines which request can change an attempt.
- The exam deadline
- The system must apply one cutoff rule despite slow requests, concurrent submissions, and delayed attempt closure.
- The shared start and finish
- A fixed schedule aligns reads, saves, submissions, and retries across 100,000 candidates.
- Scores and result access
- The system must grade stable answers with the correct key while it prevents early result disclosure.
Common mistakes
- The design treats an exam as a form and omits the attempt lifecycle.
- The browser clock controls the deadline.
- Late retries replace newer answers.
- The system acknowledges answers before durable storage succeeds.
- A deadline task provides the only guard against late changes.
- Candidate responses expose answer keys or scores before release.
The bar by level
- Mid-level (L4/E4)
- Define the exam, attempt, answer, and score records. Explain durable saves, server deadlines, and automatic closure. Prevent duplicate attempts and repeated submissions.
- Senior (L5/E5)
- Resolve races between saves, retries, and submission. Explain recovery after lost responses and grade failures. Size the shared bursts and protect exam content. State what candidates see during save failures.