exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 37 discussion

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

DRAG DROP
-

You have a web app named App1 that uses Application Insights in Azure Monitor.

You need to compare the hourly CPU usage of App1 from the last 24 hours. The solution must include a graph that has a threshold line at 75 percent.

How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
renzoku
Highly Voted 1 year, 9 months ago
from the last 24 hours: TimeGenerated > ago(24h) compare the hourly CPU usage: bin(TimeGenerated, 1h) must include a graph that has threshold line at 75 percent: extend Threshold = 75 But you need to use "render timechart" after, to generate the graph with the threshold line with static value 75.
upvoted 21 times
catfood
1 year, 9 months ago
This seems correct, spent ages trying to find MS doco without much luck. Reviewed KQL queries that all seemed to be formatted this way: extend Threshold
upvoted 6 times
...
...
kay000001
Highly Voted 1 year, 11 months ago
peformance counters | where TimeGenerated > ago(1d) | where counter == "% Processor Time" | summarize avg(value), by cloud_RoleInstance, bin(TimeGenerated, 1d) | render Threshold = 75
upvoted 19 times
dgcc97
1 year, 10 months ago
According to https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuredataexplorer render requires a visualization parameter. As such, it can't be render.
upvoted 6 times
...
...
p2006
Most Recent 7 months ago
I will go with "extend", https://stackoverflow.com/questions/63122428/is-there-a-way-to-add-a-threshold-to-the-charts-in-azure-monitor
upvoted 1 times
p2006
6 months, 4 weeks ago
BTW, in Topic2-Question#2, page-4 for now, I can see "extend" in exhibit image. ---- extend threshold=675 render timechart
upvoted 2 times
...
...
ozbonny
1 year, 2 months ago
performanceCounters | where TimeGenerated > ago(1d) | where counter == "% Processor Time" | summarize avg(value) by cloud_RoleInstance, bin(TimeGenerated, 1h) | extend Threshold = 75
upvoted 6 times
...
joostmnl
1 year, 4 months ago
performanceCounters | where TimeGenerated > ago(1d) | where counter == "% Processor Time" | summarize avg(value), by cloud_RoleInstance, bin(TimeGenerated, 1h) | extend Threshold = 75 where TimeGenerated > ago(1d) -> Counters from the last 24 summarize ... bin(TimeGenerated, 1h) -> Hourly CPU usage extend Threshold = 75 -> Add a calculated column named Theshold In order to produce a visual as stated in the question, a "render timechart" statement should be added at the end.
upvoted 5 times
...
Dats1987
1 year, 7 months ago
Actual Query will be this: First Placeholder: bin(TimeGenerated, 1h) Second Placeholder: extend performance counters | where TimeGenerated > ago(1d) | where counter == "% Processor Time" | summarize avg(value) by cloud_RoleInstance, bin(TimeGenerated, 1h) | extend Threshold = 75 | project cloud_RoleInstance, bin_TimeGenerated, avg_value, Threshold | render Here's the breakdown of the changes: bin(TimeGenerated, 1h) is used to bin the timestamp into hourly intervals, extend Threshold = 75 adds the threshold value, project cloud_RoleInstance, bin_TimeGenerated, avg_value, Threshold Finally, render is used to render the graph. This query will compare the hourly CPU usage of App1 from the last 24 hours, including a graph with a threshold line at 75 percent.
upvoted 2 times
...
ieboaix
1 year, 8 months ago
Suspect the question isn't complete. without render "timechart", the requirement wont be met. but without "timechart", render Threshold = 75 wont produce a visual.
upvoted 2 times
...
ssSsEclipse
1 year, 10 months ago
should be "extend"
upvoted 3 times
...
[Removed]
1 year, 11 months ago
Looks like the "project" operator will do the job: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/projectoperator | project Threshold = 75
upvoted 2 times
Lightfood
1 year, 8 months ago
Nope! Project selects the columns. You need a graph. That is the "render" statement
upvoted 2 times
resonant
1 year, 7 months ago
As others say, the render would also need to specify "timechart", which isn't included in the answer. Also, you need to display the threshold and you do that with extend, so the answer is "extend" but you have to make sure to add "render" afterwards with "timeline".
upvoted 1 times
...
...
...
zellck
1 year, 11 months ago
1. bin(TimeGenerated, 1h) 2. render https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuredataexplorer Instructs the user agent to render a visualization of the query results.
upvoted 15 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