ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 137 - AZ-104 discussion

Report
Export

You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1.

You need to view the error events from a table named Event.

Which query should you run in Workspace1?

A.
Event | where EventType is "error"
Answers
A.
Event | where EventType is "error"
B.
Event | search "error"
Answers
B.
Event | search "error"
C.
select * from Event where EventType == "error"
Answers
C.
select * from Event where EventType == "error"
D.
Get-Event Event | where {$_.EventType -eq "error"}
Answers
D.
Get-Event Event | where {$_.EventType -eq "error"}
Suggested answer: B

Explanation:

To search a term in a specific table, add in (table-name) just after the search operator

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-queries

asked 26/09/2024
Nicoleta Moglan
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first