AI-102 Plan and manage an Azure AI solution Practice Question
Which TWO actions are recommended to secure an Azure AI Language resource?
⚠ Common exam trap
Watch out — candidates often assume disabling public network access alone is sufficient, but they forget that managed identities are required to replace access keys for authentication from Azure services, making both A and C necessary together.
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 for authentication from Azure services
Managed identities allow Azure AI Language resources to authenticate to other Azure services (like Azure Storage or Azure Key Vault) without storing credentials in code or configuration. This eliminates the risk of access key leakage and aligns with the principle of least privilege, as the identity is tied to the resource lifecycle and can be granted granular RBAC permissions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use managed identities for authentication from Azure services
Why this is correct
Managed identities eliminate the need for hard-coded credentials.
- ✗
Enable local authentication with access keys
Why it's wrong here
Access keys can be compromised; managed identity is more secure.
- ✓
Disable public network access and use a private endpoint
Why this is correct
Private endpoint ensures traffic stays within the Microsoft network.
- ✗
Allow all Azure services through the firewall
Why it's wrong here
Allowing all Azure services broadens attack surface.
- ✗
Enable anonymous access for public APIs
Why it's wrong here
Anonymous access is not secure.
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
This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.