nerdexam
Microsoft

AI-102 · Question #13

You deploy a web app that is used as a management portal for indexing in Azure AI Search. The app is configured to use the primary admin key. During a security review, you discover unauthorized…

The correct answer is C. Regenerate the secondary admin key, change the app to use the secondary admin key, and then. A can not be the answer as you regenerated the secondary key after your already add to your app. The right order to minimize downtime is to regenerate the secondary, add to your app and then regenerate the primary. If you change the application to use the secondary key and then…

Submitted by valeria.br· Mar 30, 2026

Question

You deploy a web app that is used as a management portal for indexing in Azure AI Search. The app is configured to use the primary admin key. During a security review, you discover unauthorized changes to the search index. You suspect that the primary access key is compromised. You need to prevent unauthorized access to the index management endpoint. The solution must minimize downtime. What should you do next?

Options

  • ARegenerate the primary admin key, change the app to use the secondary admin key, and then
  • BChange the app to use a query key, and then regenerate the primary admin key and the
  • CRegenerate the secondary admin key, change the app to use the secondary admin key, and then
  • DAdd a new query key, change the app to use the new query key, and then delete all the unused

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    18% (8)
  • C
    71% (32)
  • D
    7% (3)

Explanation

A can not be the answer as you regenerated the secondary key after your already add to your app. The right order to minimize downtime is to regenerate the secondary, add to your app and then regenerate the primary. If you change the application to use the secondary key and then you regenerate the key the application in not going to work.

Topics

#Azure AI Search#Access key management#Security incident response#Downtime minimization

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice