Problem Statement: Analytics Above the Toll Line, Not the Toll Line Itself
Frames the question as a data platform built on top of toll capture, separating transactional collection from aggregation, reconciliation, anomaly detection, and reporting.
Problem statement
Design a Toll & Road Usage Analytics platform. A statewide network of toll plazas and overhead gantries already captures passages: transponder reads, automatic license plate recognition (ALPR) images, vehicle classification, lane and timestamp, and the resulting charge. Your job is not to design the barrier hardware or the payment card flow. Your job is everything that happens to that raw capture stream afterwards: ingest events from thousands of lanes, build trustworthy summaries of daily usage and revenue, surface the busiest intervals, break traffic down by vehicle type, lane, and region, detect anomalies and evasion patterns, serve operator dashboards, and produce scheduled regulatory reports.
This distinction is the single most important framing move in the interview. Toll capture is a transactional, roadside, hardware-heavy problem with hard money guarantees. Toll analytics is a data-platform problem: high-volume append-only ingestion, layered aggregation, late-event handling, reconciliation against a financial ledger, and a spectrum of freshness requirements from five-second lane-health boards to T+1 revenue close. Candidates who blur the two produce either a toy dashboard or an over-engineered payment system. Separate them explicitly.
Why the analytics side is hard
A toll network is a factory for skewed, lossy, physically-grounded data. One busy bridge can emit more events per hour than a rural plaza emits in a week. Cameras misread plates in rain and glare. Transponders are read twice when a vehicle straddles adjacent lanes. A gantry cabinet loses its uplink for an hour and then replays 40,000 buffered passages at once, all with past timestamps. The vehicle class read at the axle sensor disagrees with the class on the customer account. Every one of these phenomena lands in your ingestion layer as a real record, and every downstream number a finance director reads is only as good as how you handled them.
The platform must therefore solve five engineering problems at once: deduplicated exactly-once-effect ingestion from unreliable field devices; multi-granularity aggregation from five-second lane health to fiscal-year rollups; revenue reconciliation between the operational stream and the financial clearinghouse; anomaly and evasion detection with human review capacity as a bounded resource; and governed serving of plate-linked data, which is personal data in most jurisdictions.
Public operating baseline
The category is operationally real and large. The E-ZPass interoperability network spans more than a dozen US member agencies across the Midwest and East Coast and is the reference model for transponder-based open-road tolling; the MTA's New York bridges and tunnels moved to fully cashless all-electronic tolling in 2017 and report well over a quarter billion customer trips per year. India's FASTag program, mandated nationwide in February 2021, converted hundreds of plazas to RFID-based electronic collection under the NPCI-run NETC clearing framework and now processes millions of toll transactions per day network-wide. Germany's Toll Collect truck toll, operated on the Axxiome platform, demonstrates the distance-based alternative: GNSS onboard units charging heavy trucks per kilometer across roughly 52,000 km of federal roads rather than per crossing at a gantry. The UK's Dart Charge shows the pure ANPR end-state: no barriers, pay-by-plate with an enforcement pipeline behind it.
These are cited public facts about the category, not requirements for our fictional system. Every capacity number used for sizing below is an explicitly stated design assumption.
Design assumptions for this answer
We design for a mature statewide network: 1,200 toll points (plazas and overhead gantries), 6,000 lanes, 25 million passages per day average, with a 2.5x commuter peak multiplier. Assume 85% of passages are electronic (transponder or RFID tag) and 15% are plate-based captures that require image evidence and account lookup. Passage events produce structured telemetry plus evidence imagery, and the platform serves roughly 500 concurrent operator and analyst users plus automated regulatory report jobs.
The four architectural planes
- Capture edge plane: lane controllers, gantry cabinets, local buffering, checksums, and store-and-forward upload. Not designed in depth, but its contract defines everything downstream.
- Ingestion and stream plane: deduplication, enrichment, normalization, partitioned event backbone, and real-time rollup jobs.
- Serving and reconciliation plane: columnar warehouse, materialized rollups, revenue ledger reconciliation, dashboards, exports, and scheduled reports.
- Intelligence plane: anomaly detection, evasion scoring, case management, human review tooling, and model governance.
A strong answer keeps these planes separate. The serving plane may degrade to hour-old rollups while the ingestion plane keeps draining; the intelligence plane may be paused entirely without losing a single revenue record.
Key Highlights
- •The analytics plane sits above capture: it never controls barriers or moves money, it makes capture data trustworthy and actionable.
- •Five hard problems: deduplicated ingestion, multi-granularity aggregation, revenue reconciliation, bounded human review for violations, and governed plate-data serving.
- •E-ZPass, FASTag, Toll Collect, and Dart Charge prove four distinct real architectures: transponder network, national RFID clearing, GNSS distance charging, and pure ANPR.
- •Assumed scale: 1,200 toll points, 6,000 lanes, 25M passages/day, 2.5x peak, 85% electronic / 15% plate.
- •Four planes: capture edge, ingestion/stream, serving/reconciliation, intelligence. Each degrades independently.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "Let me separate the toll capture contract from the analytics platform before choosing any storage."
- "I will treat freshness as a spectrum: lane health in seconds, dashboards in minutes, finance in daily closes."