Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam AI-200 Topic 1 Question 10 Discussion

Actual exam question for Microsoft's AI-200 exam
Question #: 10
Topic #: 1
You are developing an AI-powered API that retrieves connection strings and API keys from Azure Key Vault.
You must configure a solution that provides the following security functionality:
- The API must authenticate to Key Vault without storing credentials in any application configuration files.
- The identity used by the API must have only the minimum permissions
necessary to read secrets.
- The configuration must minimize the blast radius if an identity or
credential is compromised.
You need to implement a secure access strategy for the API.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

Suggested Answer: B,C Vote an answer

You should use a system-assigned managed identity, but to minimize the blast radius, you should grant the Key Vault Secrets User role at the secret scope rather than the vault scope.
Authentication (Managed Identity): A system-assigned managed identity perfectly satisfies your first requirement. Azure automatically manages the identity credentials, eliminating the need to store keys or connection strings in application configuration files. Because it shares the lifecycle of your API service, it is automatically deleted if the API is removed.
Authorization (RBAC Role): The Key Vault Secrets User role satisfies the "minimum permissions" requirement because it only grants read permissions (Microsoft.KeyVault/vaults/secrets/getSecret/action and readSecret/action.
Scope (Blast Radius Minimization): Granting this role at the vault scope allows the API to read every secret inside that vault. If your API only needs specific connection strings, you should grant the role at the individual secret scope [0.30]. This restricts the identity so it cannot access any other secrets in the vault if compromised.
Reference:
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity

by Bill at Sep 11, 2026, 08:11 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.