exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 5 question 108 discussion

Actual exam question from Microsoft's AZ-303
Question #: 108
Topic #: 5
[All AZ-303 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
jank
Highly Voted 4 years, 4 months ago
C is correct. Check yourself in Azure Portal -> Monitor -> Create alert rule -> create action -> automation runbook -> select "restart VM" from dropdown. Every easy, no admin effort. If you choose Logic App instead of automation runbook, you actually need to develop/design your logic app to restart the VM, which is more effort.
upvoted 15 times
...
moon2351
Most Recent 3 years, 4 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
quantumray
3 years, 6 months ago
Question appeared On AZ-303 exam on 08/12/2021 - 49 questions, 4Q - Fabrikan case study
upvoted 1 times
...
syu31svc
3 years, 10 months ago
ITSM - IT Service Management Connector (ITSMC) allows you to connect Azure to a supported IT Service Management (ITSM) product or service. Webhook - Webhook actions allow you to invoke a single HTTP POST request. Logic App - This action is used to invoke a logic app. Answer is C
upvoted 4 times
...
Yiannisthe7th
4 years ago
Answer is correct. We need Automation Runbook which can be triggered from the Alerts directly and which gets Events or Logs.
upvoted 2 times
...
awsazurelearner
4 years, 4 months ago
C is correct: https://docs.microsoft.com/en-us/azure/automation/automation-alert-metric If you want a simple Alert, use a runbook. If you have a complicated set of rules and logic you need to apply, then use Logic Apps.
upvoted 2 times
...
Stephan99
4 years, 5 months ago
Correct Use a runbook (to restart a VM, or scale a VM up or down) https://docs.microsoft.com/en-us/learn/modules/incident-response-with-alerting-on-azure/6-activity-log-alerts
upvoted 3 times
prashantjoge
4 years, 4 months ago
"You need to create an alert in Azure Monitor to restart the virtual machines." - Runbooks can be triggered if an alert is generated. But the question relates to triggering the alert. I would go with logic app
upvoted 1 times
...
...
Said_kram
4 years, 5 months ago
"The solution must minimize administrative effort" eq. Logic App
upvoted 3 times
pentium75
3 years, 11 months ago
A Logic App can reboot a VM?
upvoted 2 times
...
AberdeenAngus
3 years, 4 months ago
Difficult choice I think, runbook and logic app can both do it and are both options in an action group. The whole point of a logic app is that it's simpler because you haven't got to write code. Personally I think I'll go runbook, more orthodox, but I may change my mind!
upvoted 1 times
...
...
Kraviecc
4 years, 5 months ago
Correct
upvoted 3 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 ...