Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-103 topic 1 question 4 discussion

Actual exam question from Microsoft's AZ-103
Question #: 4
Topic #: 1
[All AZ-103 Questions]

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. Get-Event Event | where {$_.EventType ""eq "error"}
  • B. Get-Event Event | where {$_.EventType == "error"}
  • C. search in (Event) * | where EventType ""eq "error"
  • D. search in (Event) "error"
  • E. select *from Event where EventType == "error"
  • F. Event | where EventType is "error"
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
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/search-queries https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-portal

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
amehim
Highly Voted 4 years ago
D is correct. Please check https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/search-queries
upvoted 13 times
...
EricTheGreat
Highly Voted 4 years ago
D makes sense
upvoted 5 times
...
Lkk51
Most Recent 2 years, 10 months ago
Only D can do the job https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/searchoperator?pivots=azuredataexplorer
upvoted 2 times
...
MountainW
3 years ago
Checked the official document. None of the query is right. The right one is: Event | where EventLevelName == "error" https://docs.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-windows-events
upvoted 2 times
photon99
6 months, 1 week ago
Even tried the same. All the syntaxes are wrong. Event | where EventLevelName == "error" is correct
upvoted 1 times
...
...
MountainW
3 years ago
F is the only one matches the Kusto query syntax. There is no search syntax in query, Check https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/tutorial?pivots=azuremonitor
upvoted 1 times
...
ZUMY
3 years, 1 month ago
D is correct
upvoted 1 times
...
toniiv
3 years, 2 months ago
D is correct
upvoted 1 times
...
I
3 years, 2 months ago
I think this question is out of data. Moreover, AZ104 won't test coding.
upvoted 2 times
LovelyGroovey
1 month ago
This coding is very confusing!!
upvoted 1 times
...
...
mikewallace8372
3 years, 3 months ago
D is correct answer.
upvoted 1 times
...
aryise
3 years, 4 months ago
Correct Answer: D
upvoted 5 times
...
JohnAvlakiotis
3 years, 4 months ago
I really believe F is correct https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/
upvoted 4 times
JohnAvlakiotis
3 years, 4 months ago
But now that I tested it, D could also do the trick. So, I would also go for D.
upvoted 2 times
...
...
simanastasiya
3 years, 4 months ago
in exam az-104 29nov 2020
upvoted 1 times
...
Ajayhub
3 years, 5 months ago
D is correct, look at here https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-portal#:~:text=To%20open%20a%20Log%20Analytics,Monitor%20left%20navigation%2C%20select%20Logs.
upvoted 1 times
...
Shades
3 years, 8 months ago
Came in exam 1st Aug 2020
upvoted 2 times
...
wazouskix
3 years, 9 months ago
This question was in my exam today! Good luck with your certification :)
upvoted 4 times
...
DTsg
3 years, 10 months ago
In Exam
upvoted 1 times
...
senseibrutal
3 years, 10 months ago
on exam
upvoted 1 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 ...