exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 3 question 5 discussion

Actual exam question from Microsoft's DP-300
Question #: 5
Topic #: 3
[All DP-300 Questions]

You have several Azure SQL databases on the same Azure SQL Database server in a resource group named ResourceGroup1.
You must be alerted when CPU usage exceeds 80 percent for any database. The solution must apply to any additional databases that are created on the Azure
SQL server.
Which resource type should you use to create the alert?

  • A. Resource Groups
  • B. SQL Servers
  • C. SQL Databases
  • D. SQL Virtual Machines
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
There are resource types related to application code, compute infrastructure, networking, storage + databases.
You can deploy up to 800 instances of a resource type in each resource group.
Some resources can exist outside of a resource group. These resources are deployed to the subscription, management group, or tenant. Only specific resource types are supported at these scopes.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types

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
CeyeN
Highly Voted 3 years, 10 months ago
Alerts cannot be set at the resource group or Logical SQL server level, So it has to be "SQL Database"
upvoted 22 times
mmat
2 years, 3 months ago
You can set an Alert on RG level, but not for "CPU percentage" signal or any other DB specific resource.
upvoted 2 times
OneplusOne
2 years, 3 months ago
https://microsoftlearning.github.io/dp-300-database-administrator/Instructions/Labs/12-create-cpu-status-alert.html
upvoted 2 times
...
...
Aggie0702
3 years, 7 months ago
Where's the link to this statement?
upvoted 2 times
ramelas
3 years, 4 months ago
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types the answer is in this link
upvoted 5 times
...
...
...
valente_sven1
Highly Voted 3 years, 7 months ago
I have checked in Lab. In SQL Database we can create CPU percentage alert rule.
upvoted 7 times
...
bingomutant
Most Recent 7 months ago
B - SQL Servers - in this case, since you want to cover all current and future databases on a particular SQL Server, you would configure the alert at the SQL Server level, not at the individual SQL Database level.
upvoted 1 times
...
Vitos25
7 months, 2 weeks ago
Selected Answer: C
SQL Database
upvoted 1 times
...
Vitos25
7 months, 3 weeks ago
I think it should be B since in a question the key is "You must be alerted when CPU usage exceeds 80 percent for any database"
upvoted 1 times
Vitos25
7 months, 2 weeks ago
I Double checked myself The Correct answer is C: SQL Databses Under SQL Server there is no option to Set an Alert
upvoted 1 times
...
...
vcloudpmp
1 year, 9 months ago
If the scope is changed in Azure Monitor to SQL managed instance, then an alert based on the log search (using KQL) of CPU utilization above 95% (might be a custom query) is supported. Otherwise, SQL VM might be the right answer as this ref https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-metric-overview indicates that the rule is applied at the VM level.
upvoted 2 times
...
vcloudpmp
1 year, 9 months ago
Tested on Azure SQL. CPU percentage signal returns an error -- "alert rule that uses an Activity Log signal type" -- when scope is specified as the SQL database from the Azure Monitor alert workflow window. This window supports signals at the SQL server scope level, but does not cover CPU percentage, as noted by another person on this discussion. The supported signals include admin tasks at the server level -- create, delete, update SQL server.
upvoted 1 times
...
KIET2131
2 years, 2 months ago
C. SQL Databases
upvoted 1 times
...
ramelas
3 years, 5 months ago
The given answer is correct You can specify the scope of monitoring by a single metric alert rule in one of three ways. For example, with virtual machines you can specify the scope as: a list of virtual machines (in one Azure region) within a subscription all virtual machines (in one Azure region) in one or more resource groups in a subscription all virtual machines (in one Azure region) in a subscription Note The scope of a multi-resource metric alert rule must contain at least one resource of the selected resource type. Creating metric alert rules that monitor multiple resources is like creating any other metric alert that monitors a single resource. Only difference is that you would select all the resources you want to monitor. You can also create these rules through Azure Resource Manager templates. You will receive individual notifications for each monitored resource. Note In a metric alert rule that monitors multiple resources, only one condition is allowed.
upvoted 2 times
ramelas
3 years, 5 months ago
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types
upvoted 1 times
...
...
ranjithp
3 years, 7 months ago
I think the correct answer is A, https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-activity-log
upvoted 3 times
...
learnazureportal
3 years, 8 months ago
The correct Answer is "A". Just make sure to review carefully, "The solution must apply to any additional databases that are created on the Azure SQL server." statement! Then, RG (Resource group) would be the correct Answer.
upvoted 2 times
azure2022
3 years, 8 months ago
It is wrong given answer correct
upvoted 2 times
...
palomino
1 year, 8 months ago
https://stackoverflow.com/questions/61684053/how-can-i-be-notified-if-someone-creates-a-new-database-in-azure
upvoted 1 times
...
...
Burrielito
3 years, 10 months ago
So, what is the correct answer here?
upvoted 1 times
...
dhasu
3 years, 11 months ago
It should be Azure SQL database server .
upvoted 1 times
...
Jas_dandiwal
4 years, 1 month ago
answer is correct. you can monitor all database on a specific resouregroup or many resourceg group for sql database type.
upvoted 1 times
...
humpy
4 years, 1 month ago
Many times, you might want the same alert rule applied to many resources. Azure Monitor also supports monitoring multiple resources (of the same type) with one metric alert rule, for resources that exist in the same Azure region. https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-metric-overview
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago