Professional Security Operations Engineer Practice Questions

Google Cloud Professional Security Operations Engineer exam preparation

Professional Security Operations Engineer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Security Operations Engineer free question 7 / 10 · Domain 4: Detection engineering

In a rule's events section you write UDM events $login and $logout and join them on the same user. You want to detect a login with no logout. Which condition compiles?

  1. $login and !$logout
  2. $login and not $logout
  3. $login, not $logout
  4. $login, !$logout
Show the answer and explanation

Answer: A

Why this is correct
To compile a non-existence query, at least one UDM event must have a bounded condition. $login is a bounded condition that requires the event to exist, and !$logout is an unbounded condition that expresses the absence of the event. Joining the two with and satisfies the requirement, and both UDM events written in events appear in the condition.

Why the other options are wrong
"$login and not $logout" … The not keyword cannot be used in conditions on events or placeholders, and not $u1 appears in the invalid examples. The absence of an event is written with a ! prefix, as in !$logout.
"$login, !$logout" … Commas cannot be used to separate conditions in condition (the invalid example is $u1, $u2, $e1, ...). Join conditions with and.
"$login, not $logout" … This combines both mistakes: a comma cannot separate conditions, and the not keyword cannot be used. Join conditions with and and write absence with !.

Key point
A placeholder or entity with an unbounded condition must also be tied to at least one bounded UDM event. The or keyword cannot be combined with unbounded conditions.

Go to the Professional Security Operations Engineer practice app (10 free questions; purchase unlocks all questions)

See the full practice set