ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 197 - AZ-204 discussion

Report
Export

HOTSPOT

You create the following PowerShell script:

For each of the following statements, select Yes if the statement is true. Otherwise, select No,

NOTE: Each correct selection is worth one point.


Question 197
Correct answer: Question 197

Explanation:

Box 1: No

The AzScheduledQueryRuleSource is Heartbeat, not CPU.

Box 2: Yes

The AzScheduledQueryRuleSource is Heartbeat!

Note: New-AzScheduledQueryRuleTriggerCondition creates an object of type Trigger Condition. This object is to be passed to the command that creates Alerting Action object.

Box 3: No

The schedule is 60 minutes, not two hours.

-FrequencyInMinutes: The alert frequency.

-TimeWindowInMinutes: The alert time window

The New-AzAscheduledQueryRuleSchedule command creates an object of type Schedule. This object is to be passed to the command that creates Log Alert Rule.

Reference:

https://docs.microsoft.com/en-us/powershell/module/az.monitor/new-azscheduledqueryrule

https://docs.microsoft.com/en-us/powershell/module/az.monitor/new-azscheduledqueryruletriggercondition

asked 02/10/2024
Liam Derwin
35 questions
User
0 comments
Sorted by

Leave a comment first