exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 2 question 46 discussion

Actual exam question from Microsoft's AZ-301
Question #: 46
Topic #: 2
[All AZ-301 Questions]

Your company has several Azure subscriptions that are part of a Microsoft Enterprise Agreement.
The company's compliance team creates automatic alerts by using Azure Monitor.
You need to recommend a solution to apply the alerts automatically when new subscriptions are added to the Enterprise Agreement.
What should you include in the recommendation?

  • A. Azure Automation runbooks
  • B. Azure Log Analytics alerts
  • C. Azure Monitor action groups
  • D. Azure Resource Manager templates
  • E. Azure Policy
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
Oz
Highly Voted 5 years, 7 months ago
My take on this question is that it asks about how to apply "automatic alerts" when a new subscription is created. In this sense Azure Policy that could be created with that new subscription and it can be used to to assign "automatic alerts" through custom definitions. So I think correct answer is still Azure Policy
upvoted 37 times
AzureGC
5 years, 6 months ago
Azure Policy, an additional consideration is that the question is asking about "Compliance" which is a AZ Policy function. The policy may be applied using ARM templates which adds to the ambiguity.
upvoted 3 times
...
cloudoman
5 years, 3 months ago
Correct, they are asking that subscription must receive the alert settings once created, this can be done with Azure Policy.
upvoted 2 times
...
Daren
5 years, 2 months ago
From exclusion, i also believe azure policy is right
upvoted 2 times
...
...
bootyholeman
Highly Voted 5 years, 3 months ago
I think it's Automation Runbook. There is nothing in protal that would notify when a new subscription was added. All solutions like Policy, Log Analytics, Actions Groups are scope to a resource group/resource but not a subscription
upvoted 7 times
unknown4noone
4 years, 10 months ago
Policy definition or initiative is assigned to any scope of resources that Azure supports, such as management groups, subscriptions, resource groups, or individual resources.
upvoted 2 times
...
...
timHAG
Most Recent 4 years, 1 month ago
there is updated form of the question "Your company has several Azure subscriptions that are part of a Microsoft Enterprise Agreement. The company's compliance team creates automatic alerts by using Azure Monitor. You need to recommend a solution to automatically recreate the alerts in the new Azure subscriptions that are added to the Enterprise Agreement" with "solution to automatically recreate the alerts in the new Azure subscriptions that are added to the Enterprise Agreement" with recreate alerts in the subs. added, i think only ARM can do this.
upvoted 2 times
...
azurecert2021
4 years, 3 months ago
given answer is correct It is asking how to apply the alert to the new subscription. SO action groups will not do anything, neither will log analytics alerts. Which leave A and D. . SO down to A,E&D. D are not used to create new subscriptions that I can find, thus leaving the only answer left as A Runbooks and E poilcy.A Runbook that gets all subscriptions and creates the alert there which is not automatic so we have last opiton policy and Policy definition or initiative is assigned to any scope of resources that Azure supports, such as management groups, subscriptions, resource groups, or individual resources so it will work for any new subscription added if assigned at management group level.
upvoted 1 times
Granwizzard
4 years, 3 months ago
I believe we can create subscriptions with ARM templates, API. The question is mentioning the Enterprise agreement. https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/create-subscription-template?tabs=rest-getBillingAccounts%2Crest-getBillingProfiles
upvoted 1 times
...
...
glam
4 years, 4 months ago
E. Azure Policy
upvoted 2 times
...
M88778
4 years, 4 months ago
Azure Policy helps to enforce organizational standards and to assess compliance at-scale. If they add a new sub that meets a policy the policy won't alert. C is the best answer as it will alert when a new sub is created
upvoted 1 times
M88778
4 years, 4 months ago
Actually I don't think azure monitor can be used for subscriptions. It is used for resources within subscriptions. Im now leading towards E but its a poorly worded question
upvoted 1 times
...
...
sanketshah
4 years, 5 months ago
E is correct answer.
upvoted 1 times
...
levianthan
4 years, 8 months ago
Another trick question.. E for Policy won't apply automatically to new subscription unless assigned to a Management group. D ARM template would only have effect if used That sort of leaves us with A Runbook that gets all subscriptions and creates the alert there.
upvoted 2 times
...
Rooh
4 years, 8 months ago
The answer should be C. Create the following alert in Azure Monitor and Action group. Alert condition: Whenever the Activity Log has an event with Category='Administrative', Signal name='Create Subscription Definition (Microsoft.Subscription/SubscriptionDefinitions)', Level='informational'
upvoted 2 times
...
macco455
4 years, 8 months ago
This question is not asking how to get the alerts. It is asking how to apply the alert to the new subscription. SO action groups will not do anything, neither will log analytics alerts. Which leave A,D and E. I beleive E is out since you would need to link the policy to the new subscription, it will not link itself automatically. SO down to A&D. D are not used to create new subscriptions that I can find, thus leaving the only answer left as A Runbooks
upvoted 2 times
macco455
4 years, 8 months ago
IN revisiting this, its possible E might be right given you can apply policies to Management groups and management groups can contain multiple subscriptions. SO the question remains...and since the qustion staes that you just need to include one of the answers in the recommendation and NOT that its the complete solution, I am gong to change back from A and go with E Azure Policy
upvoted 4 times
...
...
spampos
4 years, 8 months ago
Based on: The company's compliance team creates automatic alerts by using Azure Monitor. We need to create action group, they are not asking about how to listen for sub creation events...
upvoted 1 times
...
Neetiniti
4 years, 10 months ago
Correct Answer: E One of the largest benefits of Azure Policy is the insight and controls it provides over resources in a subscription or management group of subscriptions. You organize subscriptions into containers called "management groups" and apply your governance conditions to the management groups. https://docs.microsoft.com/en-us/azure/governance/policy/how-to/get-compliance-data
upvoted 2 times
Explen
4 years, 9 months ago
I think that answer does not send alerts when an action or activity is triggered. Azure monitor and action group should be the correct answer
upvoted 1 times
...
...
Wildsheep
4 years, 11 months ago
Answer is right. Enable multiple Azure VMs, Azure VMSS, or Azure Arc machines by using Azure Policy. This method ensures that on existing and new VMs and scale sets, the required dependencies are installed and properly configured. Noncompliant VMs and scale sets are reported, so you can decide whether to enable them and to remediate them. https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-enable-overview
upvoted 2 times
...
prateek1005
4 years, 11 months ago
I think it should be Azure Monitor Action Group. Question states that new subscription addition is monitored using Azure Monitor to create Alert. Action group can act on alert by means of Webhook or Automation Run Books...What say?
upvoted 5 times
...
akamal
5 years ago
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-enable-template This article shows how you can use an Azure Resource Manager template to configure Azure classic metric alerts. This enables you to automatically set up alerts on your resources when they are created to ensure that all resources are monitored correctly.
upvoted 5 times
...
azlopaz
5 years ago
Under the EA agreement you can automate creation of subscriptions using Azure Resource Manager. I believe D would be the answer. This article does not say anything about runbooks. https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/programmatically-create-subscription?tabs=rest
upvoted 2 times
sourabh7257
4 years, 10 months ago
its not about creating subscriptions. its about alerts.
upvoted 1 times
azlopaz
4 years, 10 months ago
It is exactly about adding new subscriptions "You need to recommend a solution to apply the alerts automatically when new subscriptions are added"
upvoted 2 times
...
...
...
Rajuuu
5 years, 1 month ago
Correct Answer E . Log Analytics is for resources…. Whereas Accesspolicy is for Subscription.
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 ...