Design Scenario Search Across Petabytes of Labeled Drive Logs
Last updated: November 29, 2026
Quick Overview
Design a search service that lets autonomy engineers find moments in recorded drive logs by structured filters and free text (for example unprotected left turns at night with a pedestrian within 10 m), ranked by relevance and returned as clip links within seconds.
Applied Intuition
November 29, 20260
0
0 solved
Design a search service that lets autonomy engineers find moments in recorded drive logs by structured filters and free text (for example unprotected left turns at night with a pedestrian within 10 m), ranked by relevance and returned as clip links within seconds.
Finding the right edge cases in fleet data is central to Applied Intuition's data and validation products. The interviewer checks how you separate heavy offline indexing from fast online queries, choose the indexed unit, and rank results.
What the Interviewer Expects
- Define the searchable unit (time-windowed segments, not whole logs)
- Separate offline tag extraction from the online query path
- Combine structured filters with text or embedding similarity
- Explain ranking signals and de-duplication of near-identical clips
- Handle reindexing when taggers improve
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 would you support a new tag type without reprocessing all logs?
- How would you search by example: find clips similar to this one?
- How do you enforce per-customer data isolation?
- How would you measure search quality?
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
Users: perception and planning engineers. Corpus: about 5 PB of logs, 2 million drive hours. Queries combine filters (map attributes, weather, time of day, speed, actor types and distances), free text...
High-Level Design
Offline: an ingestion job splits each log into 10 second segments and runs taggers (map matcher for maneuver and road type, perception outputs for actors, weather and lighting classifiers, and an embe...
Submit Your Answer
Applied Intuition Software Engineer Interview Guide
Interview process, tips, and preparation timeline