Genai Applied
Sign in Get my playbook

Track 15 · Security

15.15 Patterns, Decisions & Case Studies

26 topics in 6 parts. Use it as a checklist before an interview, or as a map of what to learn next.

  • CCritical
  • HHigh
  • MMedium
  • NNew 2026

01Patterns and Anti-Patterns7 topics

  • Defence in depth (with INDEPENDENT controls), least privilege, default denyC
  • PEP/PDP separation, BFF, token exchange, secretless architectureC
  • Resource-level authorization, data-layer backstop, short-lived everythingC
  • Propose-then-validate; privilege separation for untrusted contentC
  • Anti-patterns: shared master credentials, long-lived tokens, hardcoded secretsC
  • Anti-patterns: trusting tenant_id from input, gateway-only authZ, admin tokens for agentsC
  • Anti-patterns: logging tokens, user auth for M2M, JWT decoding as validationC

02Decision Frameworks3 topics

  • Eleven axes: security, complexity, scalability, ops, rotation, auditability, blast radius, cost, lock-in, DX, failure modesC
  • The decision table: OAuth, OIDC, client credentials, managed identity, API key, mTLS, SAS, JWT, RBAC, ABAC, APIM, Key Vault, IP restriction, private endpoint, WAF, human approvalC
  • "This is more secure and I would not do it here" — the hardest sentence to earnH

03Ten Case Studies — Broken, Then Fixed7 topics

  • Browser → API → Database; SPA → APIM → BackendC
  • Service A → Service B; Service A → partner QMS APIC
  • Multi-tenant SaaS with shared DB and a shared support accountC
  • AI chatbot → RAG → shared vector DBC
  • AI agent → tools → external APIs (the full lethal trifecta)C
  • AI agent → database via run_sql; voice agent → CRM + SMS + bookingC
  • Multi-tenant AI agent platform with a template marketplace and MCP serversC

04Security Code Review Drills3 topics

  • The eleven-point review checklist to run in your headC
  • Drill: a share-document endpoint with seven findingsH
  • Drill: an agent turn handler with eight findingsH

05Progressive Design Challenges2 topics

  • Ten challenges from a public read-only API to a two-way partner integrationH
  • The five-point self-grading rubric — an answer with no stated cost is a sales pitchH

06Capstone — Secure Multi-Tenant AI Platform4 topics

  • Fourteen deliverables: authN, authZ, identity, token, tenancy, network, secrets modelsC
  • AI security, tool authorization, RAG security, threat model, IR, controls matrix, ADRsC
  • The ten defence questions a principal architect will attack it withC
  • The bar: weaknesses you can name, trade-offs you chose, risk you can state honestlyC

All 53 modules

Practise it

Knowing it is half.
Saying it is the rest.

Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.