Safety, Security & Responsible AI·Question 43 of 70Advanced

Where is the line between the model provider's safety responsibility and the application developer's? Whose job is each control?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The clean split: the provider owns the model's trained behaviour; you own the system you built around it. Confusing the two is how apps ship insecure while insisting "the model is safe."

Full worked answer

The clean split: the provider owns the model's trained behaviour; you own the system you built around it. Confusing the two is how apps ship insecure while insisting "the model is safe."

Provider's responsibility (largely outside your control):

  • Alignment training - RLHF/DPO/Constitutional AI so the base model refuses clearly harmful content and follows an instruction hierarchy.
  • Baseline jailbreak resistance and model-level safety classifiers.
  • Not training on your data (per their enterprise terms) and offering retention controls.
  • Model/safety cards, disclosure of capabilities and limitations, and patching newly found model-level vulnerabilities.
  • Not leaking training data (memorisation mitigations on their side).

Your responsibility (nobody else can do it):

  • Prompt-injection defence in your app - least privilege, trifecta decomposition, approval gates. The provider cannot solve this for you; it's a property of your tools and data flows.
  • Authorisation and secrets - server-side, never in the prompt; the model requests, your backend decides.
  • Output handling - sandboxing, escaping, schema validation before anything downstream trusts model output.
  • Application guardrails - input/output classifiers, PII redaction, tenant isolation, egress control tuned to your risk.
  • Data governance - logs, traces, retention, deletion, DPAs - the provider's terms don't cover your own log store.
  • Red teaming and evals of the integrated system, and choosing an appropriately safe model + deployment mode.
  • Compliance for your use case (EU AI Act tier, sector rules) - the provider isn't liable for how you deploy.

The shared/grey zone: safety benchmarks (both run them), the system prompt (you write it, but it's weak steering, not a control), and jailbreaks whose impact depends on your app (a jailbroken chatbot with no tools is low-impact; the same jailbreak in an agent with prod access is a breach). The unifying rule: the provider makes the model tend to be safe; you make the system fail safe. Never outsource an application-security property to the provider's training.

What a good answer covers

  • The clean split: the provider owns the model's trained behaviour; you own the system you built around it
  • Confusing the two is how apps ship insecure while insisting "the model is safe."
  • Provider's responsibility (largely outside your control)
  • Your responsibility (nobody else can do it)
  • The provider cannot solve this for you; it's a property of your tools and data flows

Key terms: provider · you · Alignment training · Baseline jailbreak resistance · Not training on your data · Model/safety cards · Not leaking training data · Prompt-injection defence · Authorisation and secrets · Output handling

Interviewer follow-ups to expect

  1. Give one control that's unambiguously the provider's and one that's unambiguously yours. Why can't the provider fix prompt injection for you?

  2. If the provider's model gets jailbroken, whose incident is it - and does the answer depend on your architecture?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep