Designing and Implementing a Data Science Solution on Azure — Question 187
You use an Azure Machine Learning workspace.
You have a trained model that must be deployed as a web service. Users must authenticate by using Azure Active Directory.
What should you do?
Answer options
- A. Deploy the model to Azure Kubernetes Service (AKS). During deployment, set the token_auth_enabled parameter of the target configuration object to true
- B. Deploy the model to Azure Container Instances. During deployment, set the auth_enabled parameter of the target configuration object to true
- C. Deploy the model to Azure Container Instances. During deployment, set the token_auth_enabled parameter of the target configuration object to true
- D. Deploy the model to Azure Kubernetes Service (AKS). During deployment, set the auth.enabled parameter of the target configuration object to true
Correct answer: A
Explanation
The correct answer is A because deploying the model to Azure Kubernetes Service (AKS) allows for token-based authentication with Azure Active Directory, which is required in this scenario. Options B and C incorrectly suggest using Azure Container Instances, which do not support the necessary authentication type. Option D incorrectly references the wrong parameter for enabling authentication in AKS.