Discover how to safely rotate access keys in Azure AI Speech services to protect your applications. Follow this detailed guide to ensure seamless transitions and robust security practices.
Table of Contents
Question
You work on the enterprise security team for your organization. You want to ensure that all applications that use the Azure AI Speech service are secure.
To avoid the access keys from being compromised, you regenerate them periodically.
You have a speech application named anutextestlab9843 which is in production. At this moment, anutextestlab9843 is using key1. What is the correct order that you should proceed with key rotation?
Unordered Choices:
- Start Applications that use anutextestlab9843.
- Make sure that key2 is not used by any application.
- Regenerate access key1.
- Make sure that key1 is not used by any application.
- Stop Applications that use anutextestlab9843.
- Regenerate access key2.
Answer
Correct Order:
- Make sure that key2 is not used by any application.
- Regenerate access key2.
- Make sure that key1 is not used by any application.
- Regenerate access key1.
Explanation
All keys generated by Azure have at least two keys to access resources. One or both of them can be used. Since the application is using key1, key2 is not being used, so the best idea is to start by regenerating key2, change the application to use key2, and then regenerate access key1.
You would not stop and start applications that use the Azure AI Speech service . This action is not the best solution because it causes the application to stop while regenerating the keys, and there is no information that keys are changed in the application.
With Azure Key Vault, a key vault can be responsible for the management of the access keys. Applications can request keys or secrets from Azure Key Vault without having them persist with the applications. You can use a key vault to allow updates of keys and secrets without affecting applications.
Microsoft Azure AI Engineer Associate AI-102 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Engineer Associate AI-102 exam and earn Microsoft Azure AI Engineer Associate AI-102 certification.