Question 570
A development bot hardcodes its Azure OpenAI API key in a public source repository to simplify a classroom demo. The team proposes this change: Revoke the exposed secret and use approved managed identity or protected secret storage where supported. Which observation best demonstrates the intended correction?
Explanation
Correct Answer
The leaked key no longer works while the application authenticates through a documented secure configuration. The result tests whether this response worked: Revoke the exposed secret and use approved managed identity or protected secret storage where supported. It directly addresses: The key grants service access and is exposed to unauthorized readers of the repository.
Incorrect Answers
This evidence relates to: The chosen model endpoint's supported API and message format differ from the existing client integration. For the described issue, the acceptance result is: The leaked key no longer works while the application authenticates through a documented secure configuration.
An observation of that kind would support: The application has not connected the relevant authorized knowledge context to the model's response generation. The stated incident requires evidence that: The leaked key no longer works while the application authenticates through a documented secure configuration.
The prototype creates several distinct descriptions that remain grounded in the supplied product specifications. The observation tests: A classifier predicts labels while the task requires a generative model to compose new text under specified constraints. The required confirmation in this case is: The leaked key no longer works while the application authenticates through a documented secure configuration.