Question bank › Ai System Design
Ai System Design Ai System Design Easy

Privacy-First Legal AI Router

A legal firm needs an internal assistant. Due to strict data residency and client confidentiality, certain queries must stay on-premise using a small local model (e.g., Llama 3 8B), while non-sensitive research can go to a high-performance cloud API. Design a system that automatically classifies, masks PII, and routes requests to the appropriate model.

Key concepts

llm routingpii maskinghybrid inference

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of InterviewLab's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.