AI & Technical question
Build a system to predict if something can go wrong in a cab ride.
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Tests PM-level thinking about an ML safety system: defining the prediction target, signals, and how model output translates into real-time action.
How to approach it
- Define the target precisely: predict elevated risk of a safety incident during an in-progress ride, not just post-hoc analysis.
- Identify input signals: GPS deviation from the expected route, unusual stops or speed patterns, sudden cancellation attempts, and driver or rider rating history.
- Propose the model approach: a real-time anomaly-detection model scoring live trip telemetry against the rider's expected route and historical norms.
- Define the action layer: a risk score above threshold triggers an automated check-in, with escalation to share live location with an emergency contact or support.
- Address false positives: an ordinary wrong turn from traffic must not trigger alarming interventions, so calibrate thresholds using multiple combined signals.
- Define success: reduction in unresolved deviation incidents, response time from detection to check-in, and false-positive rate on the trigger.
What a strong answer includes
- Defines the prediction target concretely, an in-trip risk score, instead of a vague predict-problems framing.
- Names specific, realistic signals, route deviation, unusual stops, cancellation attempts, grounded in how rideshare safety systems work.
- Designs a graduated action layer, check-in then escalation, rather than jumping straight to alarms.
- Explicitly addresses false-positive risk, since over-alerting on ordinary traffic detours would erode user trust.
Common mistakes
- Describing only a vague AI model with no concrete signals or real-time architecture.
- Ignoring false positives, which would make the safety feature more annoying than useful.
Likely follow-up questions
- How would you handle a driver disputing a flagged anomaly?
- How would you validate the model before enabling automatic escalation?
More ai & technical questions
- Create the algorithm for ridesharing concept for uber pool. Explain the goals, logic, factors considered and success metrics.Lyft · AI & Technical · Hard
- Design a simple load balancer for Google.com. What data structures would you use?Google · AI & Technical · Hard
- You’re part of the Google Search web spam team. How would you detect duplicate websites?Google · AI & Technical · Hard
- Explain the data pipeline for the last AI project you worked on. What were the top challenges in getting data, and how did you resolve them?Google · AI & Technical · Hard
- Create an API design for third-party integration for payments.Microsoft · AI & Technical · Hard
- How would you implement the sync feature of Google Drive app or Google Docs? How would you design the DB for G-drive?Google · AI & Technical · Hard
More questions from these companies
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture