Microsoft Azure AI Engineer Associate AI-102 Practice Question
You must provide your security team with dashboards that show how often prompts or completions sent to an Azure OpenAI resource are blocked or flagged by built-in content safety classifiers. The team uses Azure Monitor workbooks that read log data from a centralized Log Analytics workspace. Which action should you perform in the Azure portal to make the required data available to the workspace?
Attach an Application Insights instance to the deployment by adding its connection string to the resource settings.
Create a diagnostic setting on the Azure OpenAI resource and route the ContentSafetyLogs category to the required Log Analytics workspace.
Assign an Azure Policy guest configuration at the resource group scope that audits responsible AI compliance.
Enable Prompt Shields under Responsible AI settings for the deployment without changing diagnostic settings.
The only way to stream the detailed logs that contain block and flag information produced by Azure OpenAI content safety is to configure a diagnostic setting on the Azure AI resource. In the diagnostic setting you select the ContentSafetyLogs (and other relevant) categories and choose the target Log Analytics workspace. Prompt shields and content filter settings control inference behavior but do not export data. Application Insights instrumentation and Azure Policy guest configuration likewise do not funnel the Content Safety log category to Log Analytics, so they would leave the workbook without the required telemetry.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are ContentSafetyLogs in Azure OpenAI?
Open an interactive chat with Bash
What are Azure Monitor workbooks, and how do they work?
Open an interactive chat with Bash
Why is a Log Analytics workspace necessary to capture diagnostic logs in Azure?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Plan and manage an Azure AI solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .