exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 16 question 15 discussion

Actual exam question from Microsoft's AZ-300
Question #: 15
Topic #: 16
[All AZ-300 Questions]

You monitor Azure virtual machines by using Azure Monitor.
You plan to restart the virtual machines when CPU usage exceeds 95 percent for more than 30 minutes.
You need to create an alert in Azure Monitor to restart the virtual machines. The solution must minimize administrative effort.
Which type of action should you use in the alert?

  • A. ITSM
  • B. Webhook
  • C. Automation Runbook
  • D. Logic App
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Automation runbooks allows you to automatically perform standard remediations in response to VM alerts, like restarting or stopping the VM.
Previously, during VM alert rule creation you were able to specify an Automation webhook to a runbook in order to run the runbook whenever the alert triggered.
However, this required you to do the work of creating the runbook, creating the webhook for the runbook, and then copying and pasting the webhook during alert rule creation. With this new release, the process is much easier because you can directly choose a runbook from a list during alert rule creation, and you can choose an Automation account which will run the runbook or easily create an account.
Reference:
https://azure.microsoft.com/en-us/blog/automatically-remediate-azure-vm-alerts-with-automation-runbooks/

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
P0d
Highly Voted 5 years, 2 months ago
Answer is correct. We need Automation Runbook which can be triggered from the Alerts directly and which gets Events or Logs.
upvoted 11 times
...
Sourabh1703
Highly Voted 5 years, 1 month ago
while logic app can do the job, as per https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management the recommended way is to use runbooks
upvoted 8 times
...
mackc13
Most Recent 5 years ago
https://docs.microsoft.com/en-us/azure/automation/automation-create-alert-triggered-runbook
upvoted 2 times
SinghJagdeep
4 years, 11 months ago
This link is worth reading. thanks
upvoted 1 times
...
...
Jayendrana
5 years, 1 month ago
Why not logic App ? as it's less administrative thing than runbooks ?
upvoted 1 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 ...