Lesson 6 of 8 · 7 min read
AI Gateways and Model Routing as a Security Control Point
Model gateways can enforce provider policy, control request resources and record effective dispatches. Their assurance depends on path coverage, trustworthy request facts and controls that survive retries, queued work and concurrent admission. Work through a fictional route matrix and distinguish enforceable limits from delayed accounting.
Get full Premium access · $25
Every worked answer in all 17 topics, every lesson in every course, the full concept curriculum, the complete practice-test bank, and the downloadable security field guides.
6 months · One payment · No auto-renewal
Practise it as an interviewer asks it
How is securing an LLM application different from ordinary application security, and what stays exactly the same?Threat-model a customer-support chatbot that answers from a knowledge base and can look up orders.Prompting, RAG or fine-tuning on customer data: how does the security risk differ between them?Calling a hosted model API versus self-hosting open weights: what are the security trade-offs?How do training data extraction and memorisation work in LLMs, and how do you reduce them?A product team wants to ship an LLM feature next week, and the security review is not done. What do you do?