Microsoft Azure AI Engineer Associate AI-102 Practice Question
You deployed an Azure OpenAI resource that serves multiple internal applications. The security team needs a weekly report that shows how many user prompts or completions were blocked by the built-in content filters and which harmful content category was responsible for each block. You will build the report by querying Azure Monitor workbooks. In the Azure portal, which configuration step should you perform first to ensure the necessary data is collected?
Configure a diagnostic setting in Azure Key Vault and link the Azure OpenAI resource to that setting.
Assign an Azure Policy that audits requests containing blocked content for the resource group.
Create a diagnostic setting for the Azure OpenAI resource that sends the ContentFiltering log category to a Log Analytics workspace.
Enable the Content Safety option in the Networking blade of the Azure OpenAI resource.
Azure Monitor workbooks can only query data that has been sent to a Log Analytics workspace. An Azure OpenAI resource emits content-filter events through the ContentFiltering log category. By creating a diagnostic setting on the resource, selecting the ContentFiltering category, and routing the logs to a Log Analytics workspace, you persist every allow, block, or safe-complete decision together with its category and severity. Networking settings, Key Vault diagnostic settings, or Azure Policy assignments do not collect or store the required filter telemetry, so they will not populate the workbook.
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 is the purpose of the ContentFiltering log category in Azure OpenAI?
Open an interactive chat with Bash
What is a Log Analytics workspace in Azure Monitor?
Open an interactive chat with Bash
Why is a diagnostic setting needed for logging in Azure OpenAI?
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 .