AI-103 practice question 5 of 15
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the…
Full set: 67 questionsThe proposed solution is incomplete. While configuring image moderation effectively addresses the risk of users uploading visually unsafe content (e.g., adult, violent, or gory images), it does not mitigate the second, equally critical risk of prompt injection. Prompt injection involves embedding hidden instructions as text within the image. Standard image moderation services are designed to analyze and classify the visual content of an image based on safety categories, not to parse and analyze the semantic meaning of embedded text for malicious instructions. Therefore, the model remains vulnerable to manipulation through this vector, and the solution does not fully meet the stated goal.
A. Yes: This is incorrect because the solution only addresses one of the two identified risks. It fails to protect against prompt injection attacks delivered via text within the images.
1. Microsoft Learn, Azure AI Content Safety, "Image moderation concepts." This document specifies that the image moderation service detects content in four categories: hate, self-harm, sexual, and violence. It makes no mention of detecting or mitigating prompt injection instructions embedded as text within an image. This confirms that image moderation is for visual safety, not instruction analysis. (Reference: learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/image-moderation, Section: "Categories")
2. Microsoft Learn, Azure OpenAI Service, "Prompt injection." This official documentation defines prompt injection as a user-driven vulnerability where the large language model is manipulated by malicious user input. The mitigations discussed, such as grounding and prompt engineering, are distinct from visual image moderation, highlighting that different controls are needed for this type of risk. (Reference: learn.microsoft.com/en-us/azure/ai-services/openai/concepts/prompt-injection, Section: "What is prompt injection?")
3. Microsoft, "Transparency Note for Azure OpenAI Service" (for GPT-4 Turbo with Vision). This document explicitly separates the risks of multimodal models. It discusses "Harmful content generation" and the use of an "image moderation filter" to detect unsafe visual content. Separately, it discusses "Jailbreak vulnerabilities" (a form of prompt injection) as a distinct risk that requires different mitigation strategies. This source directly supports that image moderation alone is insufficient to handle both risks. (Reference: learn.microsoft.com/en-us/legal/cognitive-services/openai/transparency-note-vision, Section: "Mitigating risks and responsible AI")
Keep practicing
Take the free AI-103 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AI-103 practice questions
- Question 1You are creating an agent workflow in a Microsoft Foundry project to support natural voic…
- Question 2You have a chat app in a Microsoft Foundry project and an Azure AI Search vectorized inde…
- Question 3You have a Microsoft Foundry project that contains an agent. The agent uses Azure Al Sear…
- Question 4You have a Microsoft Foundry project that contains an agent and an image generation model…
