Microsoft Azure AI Engineer Associate AI-102 Practice Question
Your production application calls an Azure AI Services multi-service resource by using its primary key for authentication. The security team mandates that account keys be rotated monthly without causing any service interruption. Which sequence should you follow to meet this requirement?
Enable Private Link for the resource and switch the application to managed identity authentication instead of rotating the keys.
Regenerate the secondary key, update the application to use the new secondary key, then regenerate the primary key.
Delete and recreate the Azure AI Services resource to obtain a new primary key, then update the application.
Regenerate both keys simultaneously and restart the application so it obtains the new values.
Azure AI Services exposes two independent account keys so that one key can remain valid while the other is being regenerated. First regenerate the key that the application is not using (the secondary key), then update the application configuration to use that new key and confirm successful requests. After traffic is switched, regenerate the original key. Regenerating both keys at the same time, recreating the resource, or changing network or identity settings would either cause downtime or fail to rotate the keys.
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.
Why does Azure AI Services provide two keys for authentication?
Open an interactive chat with Bash
What is the purpose of key rotation in Azure?
Open an interactive chat with Bash
How do you update an application to use a new account key in Azure AI Services?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Plan and manage an Azure AI 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 .