Design Driver Document Upload and Verification With Expiry Tracking
Last updated: November 29, 2026
Quick Overview
Design how prospective and active drivers upload photos of their license, insurance, and vehicle registration, how those images are processed and reviewed, and how the system blocks drivers whose documents expire.
Uber
November 29, 20260
0
0 solved
Design how prospective and active drivers upload photos of their license, insurance, and vehicle registration, how those images are processed and reviewed, and how the system blocks drivers whose documents expire.
Driver onboarding at Uber depends on document checks that vary by city and country, and expired documents are a compliance risk. Interviewers check direct-to-storage uploads, an async processing pipeline (quality checks, OCR), human review queues, and scheduled expiry enforcement.
What the Interviewer Expects
- Upload directly to object storage with pre-signed URLs
- Run async processing: image quality checks, OCR, and field extraction
- Route to automated approval or a human review queue
- Store document status and expiry dates and enforce them on schedule
- Protect sensitive images with encryption and access controls
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 give fast feedback when a photo is blurry?
- How would you support a new country with different required documents?
- How do you notify drivers before expiry and what happens on the day?
- Who can see these images, and how is access audited?
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
Drivers capture documents in the app; each document type has rules per region (required fields, max age). Most uploads should be auto-processed in under a minute; uncertain ones go to reviewers. Expir...
High-Level Design
- Document service issues a pre-signed upload URL to object storage for
(driver_id, doc_type), so large images never pass through app servers. The client compresses and runs a quick on-device bl...