ExamGecko
Question list
Search
Search

Question 387 - 156-315.81 discussion

Report
Export

When running a query on your logs, to find records for user Toni with machine IP of 10.0.4.210 but exclude her tablet IP of 10.0.4.76, which of the following query syntax would you use?

A.
Toni? AND 10.0.4.210 NOT 10.0.4.76
Answers
A.
Toni? AND 10.0.4.210 NOT 10.0.4.76
B.
To** AND 10.0.4.210 NOT 10.0.4.76
Answers
B.
To** AND 10.0.4.210 NOT 10.0.4.76
C.
Ton* AND 10.0.4.210 NOT 10.0.4.75
Answers
C.
Ton* AND 10.0.4.210 NOT 10.0.4.75
D.
'Toni' AND 10.0.4.210 NOT 10.0.4.76
Answers
D.
'Toni' AND 10.0.4.210 NOT 10.0.4.76
Suggested answer: D

Explanation:

When running a query on your logs, to find records for user Toni with machine IP of 10.0.4.210 but exclude her tablet IP of 10.0.4.76, you would use the following query syntax:

''Toni'' AND 10.0.4.210 NOT 10.0.4.76

This query will match logs that contain the exact phrase ''Toni'' and the IP address 10.0.4.210, but not the IP address 10.0.4.76. The quotation marks around ''Toni'' ensure that only logs with that exact word are matched, not variations like Toni? or To**. The AND operator combines two conditions that must both be true, while the NOT operator excludes logs that match a certain condition.

Reference: [SmartLog User Guide]

asked 16/09/2024
Morten Sivertsen
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first