exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 14 discussion

Actual exam question from Microsoft's DP-100
Question #: 14
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 ssl_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: B 🗳️
Instead use only auth_enabled = TRUE
Note: Key-based authentication.
Web services deployed on AKS have key-based auth enabled by default. ACI-deployed services have key-based auth disabled by default, but you can enable it by setting auth_enabled = TRUE when creating the ACI web service. The following is an example of creating an ACI deployment configuration with key-based auth enabled. deployment_config <- aci_webservice_deployment_config(cpu_cores = 1, memory_gb = 1, auth_enabled = TRUE)
Reference:
https://azure.github.io/azureml-sdk-for-r/articles/deploying-models.html

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
santoshpandit
Highly Voted 2 years, 11 months ago
correct
upvoted 5 times
...
james2033
Most Recent 7 months, 3 weeks ago
Selected Answer: A
azureml.core.webservice.aci.AciWebservice(.. ssl_enable = true...) https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.webservice.aci.aciwebservice?view=azure-ml-py#variables key-based and ssl_enable can work together. Web services deployed on AKS have key-based auth enabled by default. ACI-deployed services have key-based auth disabled by default, but you can enable it by setting auth_enabled = TRUE when creating the ACI web service. The following is an example of creating an ACI deployment configuration with key-based auth enabled.
upvoted 1 times
james2033
7 months, 3 weeks ago
deployment_config <- aci_webservice_deployment_config(cpu_cores = 1, memory_gb = 1, auth_enabled = TRUE) To fetch the auth keys, use get_webservice_keys(). To regenerate a key, use the generate_new_webservice_key() function: # Generate the primary auth key primary_key <- generate_new_webservice_key(service, key_type = "Primary") # Generate the secondary auth key secondary_key <- generate_new_webservice_key(service, key_type = "Secondary") https://azure.github.io/azureml-sdk-for-r/articles/deploying-models.html#key-based-authentication
upvoted 1 times
james2033
7 months, 3 weeks ago
I changed: missing step Generate auth_key. Choose B.
upvoted 1 times
...
...
...
michaelmorar
1 year, 6 months ago
Selected Answer: B
False - SSL is transport-layer only, not application-level authentication.
upvoted 2 times
...
claps92
1 year, 8 months ago
answer is YES!!
upvoted 1 times
...
JoshuaXu
2 years, 7 months ago
on 6 Nov 2021
upvoted 3 times
...
hargur
2 years, 7 months ago
on 19Oct2021
upvoted 2 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 ...