Design school-to-guardian messaging with acknowledgments
I was asked this
No reports yet. Sign in to say where you were asked it.
A system design interview question asked in Google's first round (coding), last asked Sep 2025. It tests messaging, privacy and delivery guarantees.
School staff send messages to students' parents and guardians: announcements to a whole school, alerts, and notes about one student. Some messages require the guardian to acknowledge receipt. Design the system: managing senders and recipients, reliable delivery over several channels, capturing acknowledgments, reminders and escalation when nobody acknowledges, audit trails, privacy and consent, and reporting.
Requirements
- Functional: staff compose a message to a student, a class, a grade or the whole school; the system resolves it to the right guardians; delivers by app push, email and SMS; records delivery, reads and acknowledgments; sends reminders and escalates (another guardian, a phone call, a staff task) when a required acknowledgment is missing; staff see a live report of who has and hasn't acknowledged.
- Non-functional: an emergency alert to a whole district reaches everyone within minutes; no message is lost or silently dropped; acknowledgments are never double counted; student data is protected and access is limited by role; every action is auditable.
Clarifying questions
- How many schools, students and guardians? How large is the biggest send?
- Which channels, and do guardians choose their preferred one? What about guardians without a smartphone?
- Are there custody or legal restrictions on which guardian may receive what?
- What counts as acknowledged: opening the message, or pressing a button? Can a guardian acknowledge by SMS reply?
- Is translation into the guardian's language required?
What a strong answer covers
- Data model: schools, staff with roles, students, guardians, the guardian-student relationship with permissions (custody flags, contact preferences, consent), messages, and one recipient row per guardian per message with its delivery and acknowledgment state.
- Sending: the message is stored first, then fanned out by a queue into per-recipient deliveries; idempotent workers so a retry never sends twice; provider fallbacks (push, then SMS, then email).
- Delivery and read tracking from provider callbacks; acknowledgment via a signed, single-use link or an in-app button, idempotent by recipient.
- Reminders and escalation as scheduled jobs per message: remind after X hours, escalate to the next guardian or a staff task after Y; emergency messages on a separate high-priority path.
- Privacy: role-based access, a guardian only sees their own students, data minimisation in SMS, encryption, retention rules, and a consent record per channel.
- Audit and reporting: an append-only log of sends, deliveries, reads and acknowledgments; per-message dashboards and exports.
Follow-ups
- A district-wide emergency goes out at 7am to 500,000 guardians. Walk through the fan-out and the SMS rate limits.
- A guardian claims they never got a message they supposedly acknowledged. How do you show what happened?
- Two-way replies: guardians answer a message and a teacher responds.
Where it's asked
- Google · First round: coding · Last asked Sep 202545 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI
What it tests
messaging · privacy · delivery guarantees
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
