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 2 / 10 · Domain 2: Data management

You are building a parser extension with Map data fields. The input is a Syslog header followed by a JSON body, and you want to map attributes inside the body. Which preprocessing step lets the body be parsed?

  1. In Syslog, give the source name; in Target, give the name of the parser to use
  2. In Syslog, give the key of the body; in Target, give a constant value to compare against
  3. In Syslog, give an extraction pattern; in Target, give the variable for the body
  4. In Syslog, give the log type; in Target, give the destination UDM field
Show the answer and explanation

Answer: C

Why this is correct
When the raw log in the Raw Log panel has a Syslog header, the Syslog and Target fields appear. Google SecOps uses the two fields to preprocess the header and pull out the structured part of the log. In the Syslog field you write an expression that combines Grok and regular expressions and includes a variable name for the structured part; in the Target field you give that variable name.

Why the other options are wrong
"In Syslog, give the log type; in Target, give the destination UDM field" … Syslog and Target exist to separate the Syslog header from the structured body. They are not fields for the log type or a destination UDM field.
"In Syslog, give the key of the body; in Target, give a constant value to compare against" … The Syslog field holds a Grok and regular expression extraction expression, and Target holds the variable name from that expression. They do not take a body key or a comparison constant.
"In Syslog, give the source name; in Target, give the name of the parser to use" … Target names the variable that receives the body from the Syslog expression. It does not take a source name or a parser name.

Key point
Native JSON, XML, and CSV logs have no Syslog header, so the two fields are not shown. When JSON follows a header, cut the body out with these two fields first, then map the attributes inside it.

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

See the full practice set