AI-102 Plan and manage an Azure AI solution Practice Question
Which THREE practices should be followed to secure an Azure AI solution that uses Azure OpenAI Service and Azure AI Search?
⚠ Common exam trap
Test-takers frequently think storing keys in Key Vault is sufficient for security, but the question tests whether you understand that managed identities eliminate the need to handle keys altogether, and that public endpoints (even in a DMZ) are not secure for AI services.
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
✓
Use managed identities to authenticate between Azure OpenAI and Azure AI Search.
Managed identities allow Azure OpenAI and Azure AI Search to authenticate securely without storing or rotating credentials. By assigning a managed identity to the Azure OpenAI service, you can grant it access to Azure AI Search via Azure RBAC, eliminating the need for API keys or shared access keys in code or configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Store API keys in Azure Key Vault but use them directly in application code.
Why it's wrong here
Keys should not be used directly; managed identities are preferred.
- ✓
Use managed identities to authenticate between Azure OpenAI and Azure AI Search.
Why this is correct
Managed identities provide secure authentication without secrets.
- ✗
Place all AI services in a DMZ subnet with public IP addresses.
Why it's wrong here
DMZ is not recommended; private endpoints are more secure.
- ✓
Require that all client applications use HTTPS with TLS 1.2 or higher.
Why this is correct
Encryption in transit protects data from interception.
- ✓
Enable firewall and private endpoints for all AI service endpoints.
Why this is correct
Private endpoints limit access to trusted networks.
Quick reference
Access Control Model Comparison
| Model | Acronym | Who Controls Access? | Best For |
|---|---|---|---|
| Discretionary Access Control | DAC | Resource owner | Small teams, file shares |
| Mandatory Access Control | MAC | System / security labels | Classified govt / military |
| Role-Based Access Control | RBAC | Administrator (via roles) | Enterprise environments |
| Attribute-Based Access Control | ABAC | Policy engine (user + resource attributes) | Fine-grained, dynamic policies |
| Rule-Based Access Control | RuBAC | System rules / ACLs | Firewall rules, network ACLs |
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.