AI-102 exam dumps

AI-102 practice question 72 of 493

Designing and Implementing a Microsoft Azure AI Solution. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AI-102 Question 72

Single answer

You are managing an Azure Cognitive Services account that uses keys for authentication. One of your team members reports that an account key might have been exposed. What is the best course of action to secure the account?

  1. A

    Regenerate the exposed key and update your applications to use the new key.

  2. B

    Delete the Azure Cognitive Services account and create a new one.

  3. C

    Disable the exposed key temporarily while investigating.

  4. D

    Switch to using Azure Active Directory (Azure AD) authentication instead of account keys.

Show answer and explanation

Correct answer: A

Explanation

If an account key is exposed, regenerating the key is the most effective and immediate way to secure the account. It invalidates the compromised key and provides a new one that can be updated in your applications. While transitioning to Azure AD authentication is a best practice for enhanced security, it does not mitigate the current risk associated with the exposed key.

  • A. Correct.

    Regenerating the exposed key is the recommended way to secure the account because it invalidates the old key and provides a new one that applications can use.

  • B. Incorrect.

    Deleting and recreating the account is unnecessary and inefficient, as it would disrupt services and require reconfiguration.

  • C. Incorrect.

    Azure Cognitive Services does not provide an option to temporarily disable a specific account key. This option is not feasible.

  • D. Incorrect.

    Switching to Azure AD authentication is a good long-term solution but does not address the immediate issue of securing the exposed key.

Timed practice exam

Take a AI-102 practice test under exam conditions

40 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam