AI-102 Plan and manage an Azure AI solution Practice Question
Your team uses Azure AI Studio to deploy a large language model endpoint. You need to monitor for prompt injection attacks. Which Azure AI safety feature should you enable?
⚠ Common exam trap
Watch out — candidates often confuse Azure OpenAI Service (the model hosting platform) with Azure AI Content Safety (the security layer), assuming the LLM endpoint itself includes built-in prompt injection filtering, when in fact it requires an explicit safety service to be enabled.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure AI Content Safety
Azure AI Content Safety is the correct feature because it provides built-in detection for prompt injection attacks by analyzing user inputs for malicious content, such as jailbreak attempts or indirect injection patterns. This service integrates directly with Azure AI Studio endpoints to filter harmful prompts before they reach the LLM, ensuring compliance with responsible AI practices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Azure AI Content Safety
Why this is correct
Azure AI Content Safety includes prompt injection detection.
- ✗
Azure AI Agent Service
Why it's wrong here
Azure AI Agent Service is for agent execution, not content safety.
- ✗
Azure AI Search
Why it's wrong here
Azure AI Search is a search service, not a content safety feature.
- ✗
Azure OpenAI Service
Why it's wrong here
Azure OpenAI Service provides models, not prompt injection detection.
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.