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 14 Discussion

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

You deploy a model as an Azure Machine Learning real-time web service using the following code.

The deployment fails.

You need to troubleshoot the deployment failure by determining the actions that were performed during deployment and identifying the specific action that failed.

Which code segment should you run?

Show Suggested Answer Hide Answer
Suggested Answer: A

You can print out detailed Docker engine log messages from the service object. You can view the log for ACI, AKS, and Local deployments. The following example demonstrates how to print the logs.

# if you already have the service object handy

print(service.get_logs())

# if you only know the name of the service (note there might be multiple services with the same name but different version number)

print(ws.webservices['mysvc'].get_logs())


https://docs.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-deployment

Contribute your Thoughts:

0/2000 characters
Hoa
4 months ago
D won't help with identifying the failure either.
upvoted 0 times
...
Fidelia
4 months ago
Wait, are we sure A is the best option?
upvoted 0 times
...
Kanisha
4 months ago
C seems irrelevant for troubleshooting.
upvoted 0 times
...
Mariann
5 months ago
I think B could give some useful info too.
upvoted 0 times
...
Tammy
5 months ago
A is definitely the way to go for logs.
upvoted 0 times
...
Gilma
5 months ago
I remember `service.update_deployment_state()` being used for changing states, but I don’t think it helps with identifying what failed. I’m leaning towards the logs as well.
upvoted 0 times
...
Tresa
5 months ago
I practiced a similar question where we had to identify deployment issues. I think `service.get_logs()` was the right choice then too, but I’m a bit confused if there’s a better option here.
upvoted 0 times
...
Herman
5 months ago
I'm not entirely sure, but I feel like `service.state` could give us some information about the current status of the deployment. It might help us figure out if it’s running or failed.
upvoted 0 times
...
Serina
5 months ago
I think we might need to check the logs to see what went wrong during the deployment. I remember something about using `service.get_logs()` for troubleshooting.
upvoted 0 times
...
Felix
5 months ago
Okay, I think I've got this. Utilization rates measure the number of services provided per 1,000 members per year, so the correct answer is B.
upvoted 0 times
...
Chauncey
5 months ago
Okay, I think I know the answer to this one. Ezmeral Data Fabric uses more efficient erasure coding instead of replication, which is a key advantage over HDFS.
upvoted 0 times
...
Gerald
5 months ago
I'm pretty sure we need the schedule network diagram and duration estimates for simulating schedule risk—at least that's what my notes suggest.
upvoted 0 times
...
Lamar
5 months ago
GRE tunneling sounds familiar, especially from the practice scenarios, but I'm hesitant since it might not be the ideal solution for VN communication.
upvoted 0 times
...

Save Cancel