AI-102 Plan and manage an Azure AI solution Practice Question
Your company uses Azure AI Language to analyze customer feedback. The solution currently uses the default endpoint and key. Security policy requires that all API calls be authenticated using Microsoft Entra ID and that network access be restricted to a specific virtual network. You need to reconfigure the resource. What should you do?
⚠ Common exam trap
Test-takers frequently confuse 'private endpoint' (which only handles network isolation) with the combined requirement of authentication and network access, leading them to select Option C without realizing that local authentication must also be disabled.
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
✓
Disable local authentication, enable managed identity, and configure the virtual network
It addresses both security requirements: disabling local authentication ensures that API keys cannot be used, forcing all calls to authenticate via Microsoft Entra ID; enabling a managed identity provides a secure identity for the resource to authenticate with Entra ID; and configuring the virtual network restricts network access to the specified VNet, meeting the network restriction policy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Disable local authentication, enable managed identity, and configure the virtual network
Why this is correct
Managed identity uses Microsoft Entra ID, and VNet integration restricts network access.
- ✗
Regenerate the API keys and update the application
Why it's wrong here
Using API keys violates the policy requiring Microsoft Entra ID authentication.
- ✗
Create a private endpoint for the resource
Why it's wrong here
Private endpoint alone does not enforce Microsoft Entra ID authentication.
- ✗
Configure the resource to use Microsoft Entra ID authentication only
Why it's wrong here
Does not restrict network access to a specific virtual network.
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.