Microsoft
AI-102 · Question #7
You successfully run the following HTTP request. POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc- a54745f708a1/resourceGroups/RG1/providers/Microsoft.CognitiveServices/…
The correct answer is D. The secondary subscription key was reset. Regenerates the secondary account key for the specified Cognitive Services account. https://docs.microsoft.com/en-us/rest/api/cognitiveservices/accountmanagement/accounts/regene
Submitted by viktor_hu· Mar 30, 2026Plan and manage an Azure AI solution
Question
You successfully run the following HTTP request. POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc- a54745f708a1/resourceGroups/RG1/providers/Microsoft.CognitiveServices/ accounts/contosol/regenerateKey?api-version=2017-04-18 Body{"keyName": "Key2"} What is the result of the request?
Options
- AA key for Azure AI Services was generated in Azure Key Vault.
- BA new query key was generated.
- CThe primary subscription key and the secondary subscription key were rotated.
- DThe secondary subscription key was reset.
How the community answered
(24 responses)- A13% (3)
- B4% (1)
- C8% (2)
- D75% (18)
Explanation
Regenerates the secondary account key for the specified Cognitive Services account. https://docs.microsoft.com/en-us/rest/api/cognitiveservices/accountmanagement/accounts/regene
Topics
#Cognitive Services keys#Azure AI Services key management#REST API operations
Community Discussion
No community discussion yet for this question.