New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-100 Exam - Topic 1 Question 24 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 24
Topic #: 1
[All DP-100 Questions]

You train a model and register it in your Azure Machine Learning workspace. You are ready to deploy the model as a real-time web service.

You deploy the model to an Azure Kubernetes Service (AKS) inference cluster, but the deployment fails because an error occurs when the service runs the entry script that is associated with the model deployment.

You need to debug the error by iteratively modifying the code and reloading the service, without requiring a re-deployment of the service for each code update.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

How to work around or solve common Docker deployment errors with Azure Container Instances (ACI) and Azure Kubernetes Service (AKS) using Azure Machine Learning.

The recommended and the most up to date approach for model deployment is via the Model.deploy() API using an Environment object as an input parameter. In this case our service will create a base docker image for you during deployment stage and mount the required models all in one call. The basic deployment tasks are:

1. Register the model in the workspace model registry.

2. Define Inference Configuration:

a. Create an Environment object based on the dependencies you specify in the environment yaml file or use one of our procured environments.

b. Create an inference configuration (InferenceConfig object) based on the environment and the scoring script.

3. Deploy the model to Azure Container Instance (ACI) service or to Azure Kubernetes Service (AKS).


Contribute your Thoughts:

0/2000 characters
Almeta
4 months ago
E sounds interesting, but is it really practical?
upvoted 0 times
...
Stephaine
4 months ago
Wait, can you really debug without redeploying?
upvoted 0 times
...
Lazaro
4 months ago
Isn't A just a bit too much work?
upvoted 0 times
...
Cristy
5 months ago
I think A is the best option here.
upvoted 0 times
...
Ria
5 months ago
Just modify the entry script and reload the service!
upvoted 0 times
...
Tyra
5 months ago
I vaguely recall that adding breakpoints is useful, but I thought we were trying to avoid redeploying the service each time.
upvoted 0 times
...
Leontine
5 months ago
I practiced a similar question where we had to debug a service, and I feel like using ACI might be a good option for quick iterations.
upvoted 0 times
...
Gail
5 months ago
I think enabling application insights could help with debugging, but it sounds like it would require a redeployment, which we want to avoid.
upvoted 0 times
...
Tegan
5 months ago
I remember something about modifying the entry script, but I'm not sure if I need to register a new model version for that.
upvoted 0 times
...
Delisa
5 months ago
Hmm, I'm a bit unsure about this one. I'll need to carefully review the options and think through the key responsibilities in a fraud response plan.
upvoted 0 times
...
Ronnie
5 months ago
I'm leaning towards option C - Internationalization. That seems like the least likely issue to cause significant project delays in this scenario.
upvoted 0 times
...

Save Cancel