exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 4 question 51 discussion

Actual exam question from Microsoft's AZ-500
Question #: 51
Topic #: 4
[All AZ-500 Questions]

HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.

VM1 and VM2 are stopped.
You create an alert rule that has the following settings:
✑ Resource: RG1
✑ Condition: All Administrative operations
✑ Actions: Action groups configured for this alert rule: ActionGroup1
✑ Alert rule name: Alert1
You create an action rule that has the following settings:
✑ Scope: VM1
✑ Filter criteria: Resource Type = "Virtual Machines"
✑ Define on this scope: Suppression
✑ Suppression config: From now (always)
✑ Name: ActionRule1
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Note: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1:
The scope for the action rule is set to VM1 and is set to suppress alerts indefinitely.
Box 2:
The scope for the action rule is not set to VM2.
Box 3:
Adding a tag is not an administrative operation.
References:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-activity-log https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-action-rules

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
JAGUDERO
Highly Voted 4 years, 2 months ago
NO: VM1 is suppressed, examplae maintenance YES: Rule is OK NO: Tags not Administrative operations
upvoted 30 times
Lobo
4 years ago
NYY, Tags are administrative actions...
upvoted 23 times
Hot_156
3 months, 2 weeks ago
I did add a tag to a resource and check the activity log. This is the value for the change, "category": { "value": "Administrative", "localizedValue": "Administrative"
upvoted 1 times
...
ITFranz
5 months, 1 week ago
To support the answer: Yes, tags are considered administrative actions in Azure. Tags are metadata elements that you apply to Azure resources for organization and management purposes. They are key-value pairs that help identify resources based on settings relevant to your organization. Last answer =Y
upvoted 2 times
...
wannabepro789
3 years, 11 months ago
Can confirm - tested in lab Adding a tag adds a 'Write Tags' operation event under RG1 activity log. Also, for completeness, obviously gets written to the subscription Activity logs as well.
upvoted 9 times
...
...
madhatter
2 years, 8 months ago
Anyone confused about the second option being YES. The Action (suppress) Scope is only set to VM1. So the suppression action does not apply to VM2.
upvoted 3 times
...
khengoolman
3 years, 4 months ago
The correct answer is N N N NO: Scope of alert is RG1, not VM, start action on the VM does NOT trigger the RG admin action alert. NO: See above. YES: Tagging is absolutely an administrative operation. I have tested this by creating resources, tagging, turning on off and setting alert rules for both VM and RG, when the alert rule is set to VM scope, turning the resource ON/OFF DOES trigger the alert.
upvoted 6 times
khengoolman
3 years, 4 months ago
N N Y sorry, wish you could edit...
upvoted 6 times
achechen
12 months ago
confirmed in a lab
upvoted 1 times
...
...
...
epomatti
1 year, 5 months ago
WRONG! Tags are administrative operations.
upvoted 3 times
...
...
Karls
Highly Voted 3 years, 9 months ago
I confirm this in a lab. The alerts ALWAYS are generated. In Monitor/Alerts/click in Total Alerts, you can see all alerts. In this view you can choose "edit column" and add "Suppression Status" column. Now you can see each alert with "None" or "Suppressed" status. In this questions, always ask about "an alert is triggered" and always it is. The action rule is defined for Suppression and with it, you won't get for example an email notification if you have configured an action group,. So answering the questions for me is Yes in all of them because an alert is always triggered.
upvoted 23 times
ARDNK
3 years, 3 months ago
[adding a tag is not an administrative operation]. how come Alert will be triggered? please explain
upvoted 2 times
...
AzureJobsTillRetire
2 years, 5 months ago
It is true that alters are already "fired", but it is not true that action groups are always "triggered". The question asks if the alters are triggered, and we should better interpret the question as if it asks if action groups are triggered. It is unlikely that Microsoft test us on the knowledge of alert firing in all variants of those questions. https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-processing-rules?tabs=portal
upvoted 2 times
...
...
golitech
Most Recent 4 months, 3 weeks ago
NNY 1)The alert rule is scoped to RG1, and it triggers based on all administrative operations within RG1. VM1 is part of RG1, so if an administrative operation (such as starting VM1) occurs on VM1, the alert rule can be triggered. However, there is an action rule in place that applies suppression to VM1. Since the suppression is defined as "always" for VM1, any alert related to VM1 (including starting the VM) will not trigger the alert. Answer: No 2)The alert rule is scoped to RG1, and it triggers based on all administrative operations within RG1. VM2 is part of RG2, which is a different resource group, so any operations on VM2 (like starting it) would not trigger the alert rule, which is scoped to RG1. Answer: No 3)The alert rule is scoped to RG1 and triggers on all administrative operations within RG1. Adding a tag to RG1 is considered an administrative operation within the scope of RG1. As a result, the alert will be triggered when a tag is added to RG1, since this operation falls within the conditions specified in the alert rule. Answer: Yes
upvoted 1 times
golitech
4 months, 3 weeks ago
sorry, VM2 is also in RG1 therefore: NYY 1)already mentioned 2)The alert rule is scoped to RG1, and it triggers on all administrative operations within RG1. Since VM2 is now in RG1, starting VM2 is also an administrative operation within RG1. There's no suppression rule for VM2, so starting VM2 will trigger the alert. 3)already mentioned
upvoted 1 times
...
...
xRiot007
10 months, 1 week ago
Yes, Yes, Yes - Tags are administrative actions. Suppressed alerts will still trigger, BUT the underlying action will not be done (that's the thing that is actually getting suppressed, not the alert itself)
upvoted 3 times
...
pentium75
11 months ago
NO - Suppression rule for VM1 in place (alert is still created but does not trigger an action) YES - Matches the alert definition, not suppressed YES - Matches the alert definition, not suppressed
upvoted 2 times
...
Shyammmcfy
1 year, 4 months ago
got an alert notification for tag. Y Y Y for me
upvoted 1 times
...
epomatti
1 year, 5 months ago
Tag operations are ABSOLUTELY an administrative category. 1. Create RG1 2. Add a tag to RG1 3. Go to the Activity Log of the RG1 and filter by "Event category=Administrative". (it can take 1-2 minutes for the record to appear). Stop affirming to stuff you know nothing about. "Category: Administrative: Contains the record of all create, update, delete, and action operations performed through Resource Manager." https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log-schema#categories
upvoted 3 times
...
[Removed]
1 year, 6 months ago
The scope of the alert is RG it should have been RG->All Virtual machines then the alert would trigger so for both VMs the alert will not trigger So No No and Yes for the tags
upvoted 1 times
...
rosef
1 year, 7 months ago
Discussion is really confusing, So I tested the scenario by myself. - Tag is definitely administrator action. - All alerts are triggered and I got notification e-mail. In the alerts at the bottom there is a info about Suppression status: None or Suppressed. I can see that for VM1 status is Suppressed and VM2 is NONE. So the answer: Y Y Y
upvoted 2 times
...
wardy1983
1 year, 7 months ago
Box 1: NO The scope for the action rule is set to VM1 and is set to suppress alerts indefinitely. Box 2: YES The scope for the action rule is not set to VM2. Box 3: NO Adding a tag is not an administrative operation. References: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-activity-log https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-action-rules
upvoted 2 times
...
wardy1983
1 year, 7 months ago
Explanation: Box1: Activity log - Azure activity logs provide insight into the operations that were performed on resources in your subscription. Activity logs were previously known as audit logs or operational logs, because they report control-plane events for your subscriptions. Activity logs help you determine the what, who, and when for write operations (that is, PUT, POST, or DELETE). Box 2: Logs - Log Integration collects Azure diagnostics from your Windows virtual machines, Azure activity logs, Azure Security Center alerts, and Azure resource provider logs. This integration provides a unified dashboard for all your assets, whether they're on-premises or in the cloud, so that you can aggregate, correlate, analyze, and alert for security events. Reference: https://docs.microsoft.com/en-us/azure/security/azure-log-audit
upvoted 1 times
alisyed
1 year, 4 months ago
you are answering the wrong question here
upvoted 1 times
...
...
wardy1983
1 year, 7 months ago
Box 1: NO The scope for the action rule is set to VM1 and is set to suppress alerts indefinitely. Box 2: YES The scope for the action rule is not set to VM2. Box 3: NO Adding a tag is not an administrative operation. References: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-activity-log https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-action-rules
upvoted 1 times
...
Ario
1 year, 11 months ago
Yes "Alert1" will trigger However, the action rule "ActionRule1" with suppression configured on VM1 will prevent any actions associated with the alert from being executed Yes when VM2 is started, the alert rule "Alert1" will be triggered, and the actions defined in "ActionGroup1" will be executed No Alert1" that is configured to trigger on all administrative operations within RG1 does not explicitly mention adding a tag as a condition.
upvoted 1 times
...
liorh
2 years, 1 month ago
so what is the right answer?!
upvoted 6 times
...
majstor86
2 years, 3 months ago
NO YES YES
upvoted 8 times
...
kabooze
2 years, 6 months ago
Alerts are still fired, they just won't trigger action groups when suppressed: https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-processing-rules?tabs=portal
upvoted 2 times
...
Fal991l
2 years, 7 months ago
I side with khengoolman. NNY
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 ...