exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 5 discussion

Actual exam question from Microsoft's DP-100
Question #: 5
Topic #: 4
[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?

  • A. service.get_logs()
  • B. service.state
  • C. service.serialize()
  • D. service.update_deployment_state()
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())
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-deployment

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SaulG
Highly Voted 2 years ago
A is the correct answer.
upvoted 10 times
...
therealola
Most Recent 11 months, 3 weeks ago
On exam 18-06-22
upvoted 1 times
...
kkkk_jjjj
1 year, 2 months ago
on exam 18/03/2022
upvoted 3 times
...
AjoseO
1 year, 3 months ago
On 03 March 2022
upvoted 1 times
...
JoshuaXu
1 year, 7 months ago
on Exam 6 Nov 2021
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...