nerdexam
Microsoft

DP-100 · Question #231

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 h

The correct answer is A. Yes. The answer is Yes - this solution correctly meets the goal. Creating an AksWebservice deployment configuration and setting auth_enabled=True enables key-based authentication on the deployed AKS web service endpoint. When auth_enabled is True, Azure ML generates primary and second

Train and deploy models

Question

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 AksWebservice instance. Set the value of the auth_enabled property to True. Deploy the model to the service. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(40 responses)
  • A
    83% (33)
  • B
    18% (7)

Explanation

The answer is Yes - this solution correctly meets the goal. Creating an AksWebservice deployment configuration and setting auth_enabled=True enables key-based authentication on the deployed AKS web service endpoint. When auth_enabled is True, Azure ML generates primary and secondary service keys. Calling applications must include the key in the Authorization header (e.g., 'Bearer <key>') to receive predictions. AKS is the appropriate compute target for production real-time inference, and auth_enabled is the correct property to enforce key-based access control.

Topics

#Model Deployment#Web Services#Authentication#Azure Kubernetes Service

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice