Block Jailbreak Attacks in Azure AI Content Safety

AI-102 By islever Editorial Last updated

Short answer

B Implement Jailbreak risk detection to block questions intended to circumvent built-in safety features.

Question

You have an Azure subscription that contains an Azure OpenAI resource named AI1. You build a chatbot that uses AI1 to provide generative answers to specific questions. You need to ensure that questions intended to circumvent built-in safety features are blocked. Which Azure AI Content Safety feature should you implement?
  1. Monitor online activity
  2. Jailbreak risk detection Correct Answer
  3. Moderate text content
  4. Protected material text detection

Key Takeaways

The question tests identifying the correct Azure AI Content Safety feature for a specific threat type; the common trap is confusing general content moderation with specific jailbreak circumvention.

To prevent users from bypassing built-in safety features in an Azure OpenAI chatbot, you must implement Jailbreak risk detection. This Azure AI Content Safety feature identifies and blocks adversarial prompts designed to circumvent model restrictions.

Common mistake: Choosing Moderate text content (C) because it sounds like a general safety feature, but it fails to specifically target adversarial prompt attacks designed to bypass system constraints.

Expert Analysis

Why the Answer Is Correct

Jailbreak risk detection (now known as Prompt Shields) is explicitly designed to identify and block user attempts to manipulate or circumvent the built-in safety mechanisms of an AI model. When a chatbot uses Azure OpenAI, users might try to bypass content restrictions using adversarial prompts, making this feature essential for maintaining system integrity.

Why the& Other Options Are Wrong

Monitor online activity (A) is a general monitoring concept and not a specific Azure AI Content Safety feature for blocking adversarial prompts. Moderate text content (C) checks for offensive or inappropriate language but does not detect structured attempts to break out of system instructions. Protected material text detection (D) identifies known copyrighted text but does not prevent safety circumvention.

Community Comment Notes

Commenters highlighted that Jailbreak risk detection has been updated and is now referred to as "Prompt shields for user Prompts", as mbsff noted. Another commenter emphasized that this feature is "specifically designed to detect and block user attempts to manipulate or circumvent the built-in safety mechanisms".

Official Reference

https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/jailbreak-detection

This link opens the official vendor documentation in a new tab.

Exam Strategy

Map the specific threat described in the question to the exact Content Safety feature. Circumventing safety features always points to jailbreak detection, while offensive language points to moderation.

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 3 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 3

  1. mbsff 👍 5 Answered B
    Now called Prompt shields for user Prompts https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/jailbreak-detection#prompt-shields-for-user-prompts
  2. syupwsh 👍 1 Answered B
    B is CORRECT because it is specifically designed to detect and block user attempts to manipulate or circumvent the built-in safety mechanisms of an AI model. Here, the chatbot using AI1 relies on Azure OpenAI to provide generative responses. However, some users may try to bypass content restrictions by rephrasing their inputs, using adversarial prompts, or employing indirect queries to elicit responses that the AI is programmed to block.
  3. swap_c11 👍 1
    Update to prompt shield

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to AI-102 Study Guide