exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 15 discussion

Actual exam question from Microsoft's DP-100
Question #: 15
Topic #: 4
[All DP-100 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You train and register a machine learning model.
You plan to deploy the model as a real-time web service. Applications must use key-based authentication to use the model.
You need to deploy the web service.
Solution:
Create an AciWebservice instance.
Set the value of the auth_enabled property to True.
Deploy the model to the service.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
desmondfernando
Highly Voted 3 years, 4 months ago
Yes, the correct answer is Option A. Because AKS is based on Key-value auth as default.
upvoted 7 times
...
evangelist
Most Recent 4 months, 3 weeks ago
Selected Answer: A
It meets the requirements
upvoted 1 times
...
Matt2000
9 months ago
Selected Answer: B
The answer is No. The question is about AciWebservice. This option is not recommended for real-time inferencing: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/innovate/best-practices/ml-deployment-inference
upvoted 1 times
...
phdykd
1 year, 8 months ago
B. No The solution provided does not fully meet the goal. While creating an AciWebservice instance and deploying the model to the service are necessary steps, simply setting the value of the auth_enabled property to True does not provide a key-based authentication mechanism for the web service. Additional steps are required to generate and manage the authentication keys, such as creating an Azure Key Vault to store the keys and implementing code in the client applications to retrieve and use the keys for authentication.
upvoted 2 times
...
michaelmorar
1 year, 11 months ago
Selected Answer: A
True - key-based authentication is exactly the solution here.
upvoted 3 times
...
[Removed]
2 years, 8 months ago
On 20Feb2022
upvoted 2 times
...
JoshuaXu
2 years, 12 months ago
on 6 Nov 2021
upvoted 1 times
...
hargur
3 years ago
on 19Oct2021
upvoted 3 times
...
azurecert2021
3 years, 4 months ago
given answer is correct auth_enabled=True is used for Key-based authentication and token_auth_enabled =True is used for Token-based authentication https://docs.microsoft.com/en-us/azure/machine-learning/how-to-authenticate-web-service
upvoted 4 times
...
nmuenter
3 years, 5 months ago
I think A is correct. The requirements say : Applications must use key-based authentication to use the model. auth_enabled parameter is for key-based authentication (By default it's True for AKS) and token_auth_enabled is for token based authentication (not for key-based).
upvoted 3 times
...
birbyne
3 years, 5 months ago
B: No token_auth_enabled=True https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.webservice.akswebservice?view=azure-ml-py
upvoted 3 times
treadst0ne
3 years, 4 months ago
The question says "key-based", not token_auth, so the correct answer is A.
upvoted 4 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago