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?
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
Explanation:
Azure Kubernetes Service (AKS): AKS provides enterprise-grade security, governance, and increased scalability. It is ideal for production deployments.
token_auth_enabled parameter: This parameter, when set to true, enables token-based authentication using Azure Active Directory for the deployed web service.
The other options do not correctly combine the deployment target and configuration parameters for enabling Azure Active Directory authentication:
B and C (Azure Container Instances): While you can deploy models to Azure Container Instances (ACI), they do not support the token_auth_enabled parameter for Azure AD authentication.
D (auth.enabled parameter): This is not a recognized parameter for setting up Azure AD authentication in the deployment configuration.
Thus, the correct deployment strategy involves using AKS and setting token_auth_enabled to true during the deployment process
the 2 parameters exists in the documentation, there is a slight difference in their definitions :
token_auth_enabled = Whether or not to enable Token auth for this Webservice. If this is enabled, users can access this Webservice by fetching access token using their Azure Active Directory credentials
auth_enabled = Whether or not to enable key auth for this Webservice. Defaults to True.
since we are using Azure Active Directory, answer A is correct
I can't find token_auth_enabled parameter.
In ref i got parameter "auth_mode".
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-authenticate-online-endpoint
You can set the authentication type when you create an online endpoint. Set the auth_mode to key or aml_token depending on which one you want to use. The default value is key.
Correct is A: From (v1 SDK) https://learn.microsoft.com/en-us/azure/machine-learning/v1/how-to-authenticate-web-service
# Create the config
aks_config = AksWebservice.deploy_configuration()
# Enable token auth and disable (key) auth on the webservice
aks_config = AksWebservice.deploy_configuration(token_auth_enabled=True, auth_enabled=False)
upvoted 2 times
...
...
This section is not available anymore. Please use the main Exam Page.DP-100 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.
madrid99
Highly Voted 1 year, 11 months agoevangelist
Most Recent 5 months agodaviskv74
1 year agoNadine_nm
1 year, 2 months agoMal42
1 year, 2 months agoMikku123
1 year, 3 months agophydev
1 year, 3 months agoajay0011
1 year, 7 months agoJTWang
2 years agosilva_831
2 years agoklowqw
2 years, 2 months agomanualrg
1 year, 9 months ago