A security engineer is configuring Azure AI Content Safety for a company's customer-facing chatbot built on Azure OpenAI Service. The engineer needs to detect and block prompt injection attacks where end users attempt to override the system prompt. Which feature should be enabled in Azure AI Content Safety?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because Prompt Shield is the Azure AI Content Safety feature specifically designed to detect prompt injection and jailbreak attempts, where attackers embed instructions in user input to override system prompts or hijack model behavior. A is wrong because Groundedness detection checks whether model responses are grounded in provided documents, not for injection attacks.
Full explanation below image
Full Explanation
B is correct because Prompt Shield is the Azure AI Content Safety feature specifically designed to detect prompt injection and jailbreak attempts, where attackers embed instructions in user input to override system prompts or hijack model behavior. A is wrong because Groundedness detection checks whether model responses are grounded in provided documents, not for injection attacks. C is wrong because Protected material detection identifies copyrighted content reproduction, not injection attacks. D is wrong because Custom categories allow you to define content filtering rules for specific terms, but do not detect structural prompt injection patterns.