Microsoft Azure AI Engineer Associate AI-102 Practice Question
You are creating a new Azure AI Foundry Agent that will send chat-completion requests to an existing Azure OpenAI resource in the same subscription. The agent will run inside a managed online endpoint, which receives a system-assigned managed identity when the endpoint is created. Before the agent executes its first run, which built-in Azure role must you assign to that managed identity on the Azure OpenAI resource so the agent can successfully invoke the model?
Create a private endpoint that links the Azure OpenAI resource to the virtual network where the endpoint runs.
Enable zone-redundant provisioning for the model deployment in Azure OpenAI.
Register an application in Microsoft Entra ID and configure a client secret for the agent to use.
Assign the managed identity to the Cognitive Services OpenAI User role on the Azure OpenAI resource.
The managed identity that belongs to the managed online endpoint must be granted the Cognitive Services OpenAI User role on the target Azure OpenAI resource. This role allows the identity to perform inference operations such as chat completions without permitting management actions like creating or updating deployments. Other actions, such as creating a private endpoint or registering an Entra ID application, are only required in specific network or authentication scenarios and are not universally mandatory for model invocation.
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 Cognitive Services OpenAI User role?
Open an interactive chat with Bash
What is a managed identity in Azure?
Open an interactive chat with Bash
What is an online endpoint in Azure AI Foundry?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement an agentic 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 .