Courseiva
Plan and manage an Azure AI solutioneasyMultiple ChoiceObjective-mapped

AI-102 Plan and manage an Azure AI solution Practice Question

You need to restrict access to an Azure AI Language resource so that only a specific virtual network can call the endpoint. Which configuration should you use?

⚠ Common exam trap

Many candidates confuse network-level access controls (service/private endpoints) with authentication mechanisms (keys, managed identities) or IP-based firewalls, mistakenly believing that rotating keys or using managed identities can restrict network access, or that a VNet's public IP range is the same as the VNet's internal address space.

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

Enable a service endpoint or private endpoint for the resource

Azure AI Language resources can be isolated to a specific virtual network by enabling either a service endpoint (via the Microsoft.CognitiveServices service tag) or a private endpoint (using Azure Private Link). This configuration ensures that only traffic originating from the designated VNet can reach the resource's endpoint, effectively blocking all public internet access. Service endpoints provide a direct, optimized route from the VNet to the resource, while private endpoints assign a private IP from the VNet to the resource, making it accessible only within the VNet.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Rotate the shared access keys

    Why it's wrong here

    Shared access keys are for authorization, not network restriction.

  • Enable a service endpoint or private endpoint for the resource

    Why this is correct

    Service endpoints and private endpoints restrict access to specific VNets.

  • Assign a managed identity to the resource

    Why it's wrong here

    Managed identity is for authentication, not network access control.

  • Configure an IP firewall rule with the VNet's public IP range

    Why it's wrong here

    IP firewall is less secure and not the best practice for VNet restriction.

About these practice questions

Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.