nerdexam
Microsoft

DP-100 · Question #491

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…

The correct answer is B. No. The aml_token authentication mode issues short-lived, expiring tokens and does not satisfy the requirement for a non-expiring authentication artifact.

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 an Azure Machine Learning model. You plan to deploy the model to an online endpoint. You need to ensure that applications will be able to use the authentication method with a non- expiring artifact to access the model. Solution: Create a Kubernetes online endpoint and set the value of its auth_mode parameter to aml_token. Deploy the model to the online endpoint. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(37 responses)
  • A
    22% (8)
  • B
    78% (29)

Why each option

The aml_token authentication mode issues short-lived, expiring tokens and does not satisfy the requirement for a non-expiring authentication artifact.

AYes

Answering Yes is incorrect because aml_token produces expiring credentials, directly contradicting the requirement for a non-expiring authentication method.

BNoCorrect

The aml_token mode generates time-limited bearer tokens that expire after a set period, which does not meet the stated requirement for a non-expiring artifact. Key-based authentication (auth_mode=key) issues static keys that do not expire unless explicitly rotated, making it the correct choice for non-expiring access. Using aml_token on a Kubernetes endpoint still does not fulfill the non-expiring constraint.

Concept tested: Azure ML online endpoint authentication modes - key vs aml_token

Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-authenticate-online-endpoint

Topics

#Azure ML deployment#Online endpoints#Authentication methods#Kubernetes endpoints

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice