nerdexam
Microsoft

DP-100 · Question #261

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 A. Yes. To deploy an Azure Machine Learning online endpoint without egress connectivity, the egress_public_network_access parameter must be set to 'Disabled' in the ManagedOnlineDeployment configuration.

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 have an Azure Machine Learning workspace named Workspace1. Workspace1 has a registered MLflow model named model1 with PyFunc flavor. You plan to deploy model1 to an online endpoint named endpoint1 without egress connectivity by using Azure Machine Learning Python SDK v2. You have the following code: You need to add a parameter to the ManagedOnlineDeployment object to ensure the model deploys successfully. Solution: Add the scoring_script parameter. Does the solution meet the goal?

Exhibit

DP-100 question #261 exhibit

Options

  • AYes
  • BNo

How the community answered

(32 responses)
  • A
    81% (26)
  • B
    19% (6)

Why each option

To deploy an Azure Machine Learning online endpoint without egress connectivity, the egress_public_network_access parameter must be set to 'Disabled' in the ManagedOnlineDeployment configuration.

AYesCorrect

If the proposed solution involved setting the egress_public_network_access parameter to 'Disabled' or 'Private' within the ManagedOnlineDeployment object, it would successfully prevent the deployment from having egress connectivity. This parameter directly controls whether the deployment can access resources over the public internet.

BNo

Concept tested: Azure ML online endpoint private egress

Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-online-endpoints?view=azureml-api-2#secure-online-endpoints-with-managed-vnet

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice