AI-102 · Question #304
You have an Azure subscription that contains an Azure App Service app named App1. You provision a multi-service Azure AI Services resource named CSAccount1. You need to configure App1 to access…
The correct answer is D. the endpoint URI and subscription key. To configure an Azure App Service app to access an Azure AI Services resource with minimal administrative effort, the app should be provided with the resource's endpoint URI and a subscription key.
Question
Options
- Aa system-assigned managed identity and an X.509 certificate
- Bthe endpoint URI and an OAuth token
- Cthe endpoint URI and a shared access signature (SAS) token
- Dthe endpoint URI and subscription key
How the community answered
(35 responses)- A3% (1)
- B11% (4)
- C6% (2)
- D80% (28)
Why each option
To configure an Azure App Service app to access an Azure AI Services resource with minimal administrative effort, the app should be provided with the resource's endpoint URI and a subscription key.
While managed identities are a secure practice, combining one with an X.509 certificate adds complexity and is not the simplest direct authentication method for an App Service to an AI service resource when a subscription key is available.
OAuth tokens are primarily for user or application authentication with identity providers like Azure AD, and while possible, they are not the standard or simplest method for direct service-to-service authentication to Azure AI Services compared to subscription keys.
Shared Access Signatures (SAS) tokens are generally used for granular, time-limited access to specific Azure storage resources, not as the primary authentication mechanism for a general Azure AI Services resource from an App Service.
Azure AI Services resources are typically secured using an endpoint URI and a subscription key (API key). Configuring the App Service app with these credentials is a straightforward and common method for authentication, requiring minimal setup and ongoing administrative effort for basic access.
Concept tested: Azure AI Services authentication methods
Source: https://learn.microsoft.com/en-us/azure/ai-services/authentication
Topics
Community Discussion
No community discussion yet for this question.