CrowdStrike CCFH-202b (CrowdStrike Certified Falcon Hunter) Practice Test 28

Question 270

In a CQL investigation of normalized Falcon event data, the task is to sort counts from largest to smallest. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. | groupBy(_count)
  2. | sort(_count, order=desc)
  3. | sort(_count, order=asc)
  4. | select([_count])

Explanation

Correct Answer

B:

An explicit descending order ranks larger aggregate counts first. The stated requirement is to sort counts from largest to smallest; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

The `| groupBy(_count)` stage groups the events but does not enforce all constraints for sort counts from largest to smallest; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.

C:

`sort()` reorders existing rows without selecting a new cohort or computing the value required to sort counts from largest to smallest. The order of rows does not implement that transformation.

D:

`select()` projects the listed columns but does not impose the predicate or grouping needed to sort counts from largest to smallest. It can be used after filtering, not instead of the requested operation.

Question 271

Before publishing an Advanced Event Search query, the task is to show one-hour event buckets. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. | select([@timestamp])
  2. | timeChart(span=1h, function=count())
  3. | sort(@timestamp)
  4. | groupBy(ComputerName)

Explanation

Correct Answer

B:

timeChart() creates time buckets and applies the count aggregation to each bucket. The stated requirement is to show one-hour event buckets; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

`select()` projects the listed columns but does not impose the predicate or grouping needed to show one-hour event buckets. It can be used after filtering, not instead of the requested operation.

C:

`sort()` reorders existing rows without selecting a new cohort or computing the value required to show one-hour event buckets. The order of rows does not implement that transformation.

D:

The `| groupBy(ComputerName)` stage groups the events but does not enforce all constraints for show one-hour event buckets; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.

Question 272

While validating query semantics with known sample events, the task is to add a computed query field. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. | severityPlusOne := severity + 1
  2. | sort(severityPlusOne)
  3. | severityPlusOne == severity + 1
  4. | select([severityPlusOne])

Explanation

Correct Answer

A:

The := operator assigns a computed field inside a CQL processing pipeline. The stated requirement is to add a computed query field; this syntax preserves that meaning in the query stream.

Incorrect Answers

B:

`sort()` reorders existing rows without selecting a new cohort or computing the value required to add a computed query field. The order of rows does not implement that transformation.

C:

This equality predicate selects only its stated value, not necessarily the combination or negation required to add a computed query field. Compare both the target field and comparator with `| severityPlusOne := severity + 1`.

D:

`select()` projects the listed columns but does not impose the predicate or grouping needed to add a computed query field. It can be used after filtering, not instead of the requested operation.

Question 273

In a review of a proposed Falcon hunting query, the task is to add an explanatory single-line comment. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. # Explain why this filter exists
  2. <!-- Explain why this filter exists -->
  3. // Explain why this filter exists
  4. -- Explain why this filter exists

Explanation

Correct Answer

C:

Double slash begins a single-line CQL comment, not an HTML or SQL comment. The stated requirement is to add an explanatory single-line comment; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

In CQL, a leading hash normally identifies a tagged field such as `#event_simpleName`; it does not make the rest of `# Explain why this filter exists` an explanatory comment.

B:

`<!-- Explain why this filter exists -->` uses HTML comment markup, which CQL does not use to introduce the requested analyst comment. CQL provides slash-based delimiters for this function.

D:

The two-hyphen prefix in `-- Explain why this filter exists` resembles SQL line comments; it is not the supported CQL comment delimiter for the required query annotation.

Question 274

When converting a hunting lead into a CQL expression, the task is to add a multi-line analyst comment. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. <!-- Describe assumptions and time window -->
  2. -- Describe assumptions and time window
  3. /* Describe assumptions and time window */
  4. """ Describe assumptions and time window """

Explanation

Correct Answer

C:

Slash-star delimiters mark a CQL block comment. The stated requirement is to add a multi-line analyst comment; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

`<!-- Describe assumptions and time window -->` uses HTML comment markup, which CQL does not use to introduce the requested analyst comment. CQL provides slash-based delimiters for this function.

B:

The two-hyphen prefix in `-- Describe assumptions and time window` resembles SQL line comments; it is not the supported CQL comment delimiter for the required query annotation.

D:

The query text `""" Describe assumptions and time window """` alters the required operation. For the specified task to add a multi-line analyst comment, compare the exact field, operator and transformation against `/* Describe assumptions and time window */` rather than relying on similar-looking syntax.

Question 275

In a CQL investigation of normalized Falcon event data, the task is to format a UTC time field. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. | groupBy(@timestamp)
  2. | sort(@timestamp)
  3. | select([@timestamp])
  4. | formatTime(as=utcText,field=@timestamp,format="%Y-%m-%d",timezone="UTC")

Explanation

Correct Answer

D:

formatTime() transforms a timestamp into a formatted string, with an explicit UTC timezone. The stated requirement is to format a UTC time field; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

The `| groupBy(@timestamp)` stage groups the events but does not enforce all constraints for format a UTC time field; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.

B:

`sort()` reorders existing rows without selecting a new cohort or computing the value required to format a UTC time field. The order of rows does not implement that transformation.

C:

`select()` projects the listed columns but does not impose the predicate or grouping needed to format a UTC time field. It can be used after filtering, not instead of the requested operation.

Question 276

Before publishing an Advanced Event Search query, the task is to retain records that do not match a name. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. NOT FileName="rundll32.exe"
  2. FileName="*rundll32*"
  3. | groupBy(FileName)
  4. FileName="rundll32.exe"

Explanation

Correct Answer

A:

NOT negates the field predicate rather than selecting the named process. The stated requirement is to retain records that do not match a name; this syntax preserves that meaning in the query stream.

Incorrect Answers

B:

The wildcard in `FileName="*rundll32*"` changes the accepted prefix or suffix. It may match an unintended file set instead of the specific pattern required to retain records that do not match a name.

C:

The `| groupBy(FileName)` stage groups the events but does not enforce all constraints for retain records that do not match a name; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.

D:

This equality predicate selects only its stated value, not necessarily the combination or negation required to retain records that do not match a name. Compare both the target field and comparator with `NOT FileName="rundll32.exe"`.

Question 277

While validating query semantics with known sample events, the task is to group by a two-field combination. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. | timeChart(series=UserName)
  2. | groupBy([ComputerName,UserName], function=count())
  3. | select([ComputerName,UserName])
  4. | groupBy(ComputerName)

Explanation

Correct Answer

B:

The array of group fields creates groups for each host/account pair, not just for one dimension. The stated requirement is to group by a two-field combination; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

`timeChart()` produces time buckets, which changes the data into an aggregate series. The actual requirement is to group by a two-field combination, so temporal visualization alone loses the necessary event-level criterion.

C:

`select()` projects the listed columns but does not impose the predicate or grouping needed to group by a two-field combination. It can be used after filtering, not instead of the requested operation.

D:

The `| groupBy(ComputerName)` stage groups the events but does not enforce all constraints for group by a two-field combination; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.

Question 278

In a review of a proposed Falcon hunting query, the task is to count one distinct property. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. | sort(UserName)
  2. | count(UserName, distinct=false)
  3. | select([UserName])
  4. | count(UserName, distinct=true)

Explanation

Correct Answer

D:

The distinct flag counts unique usernames rather than the total number of events. The stated requirement is to count one distinct property; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

`sort()` reorders existing rows without selecting a new cohort or computing the value required to count one distinct property. The order of rows does not implement that transformation.

B:

This equality predicate selects only its stated value, not necessarily the combination or negation required to count one distinct property. Compare both the target field and comparator with `| count(UserName, distinct=true)`.

C:

`select()` projects the listed columns but does not impose the predicate or grouping needed to count one distinct property. It can be used after filtering, not instead of the requested operation.

Question 279

When converting a hunting lead into a CQL expression, the task is to match a pattern anywhere inside a command. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. CommandLine=/^encodedcommand/
  2. CommandLine=/encodedcommand$/
  3. CommandLine!=/encodedcommand/
  4. CommandLine=/encodedcommand/

Explanation

Correct Answer

D:

An unanchored regex can match the indicated substring at any location. The stated requirement is to match a pattern anywhere inside a command; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

The caret anchor in `CommandLine=/^encodedcommand/` requires the search term at the beginning of CommandLine. The requested substring search must also find occurrences later in the command text.

B:

The dollar anchor in `CommandLine=/encodedcommand$/` requires the search term at the end of CommandLine. A term followed by other arguments would be missed, even though the task requests an anywhere match.

C:

The inequality in `CommandLine!=/encodedcommand/` rejects the named value rather than selecting it. For the requirement to match a pattern anywhere inside a command, reversing this test would exclude the evidence under investigation.

Question 280

In a CQL investigation of normalized Falcon event data, the task is to filter a numeric threshold. Assume the stated fields exist and are parsed. Which expression implements the required CQL operation?

  1. BytesSent<1048576
  2. BytesSent>1048576
  3. | sort(BytesSent)
  4. BytesSent=1048576

Explanation

Correct Answer

B:

The strict greater-than comparison selects only values exceeding the threshold. The stated requirement is to filter a numeric threshold; this syntax preserves that meaning in the query stream.

Incorrect Answers

A:

The less-than operator in `BytesSent<1048576` selects traffic below the cutoff, whereas `BytesSent>1048576` is intended to detect values above that threshold. These two numeric populations do not overlap except in other ranges.

C:

`sort()` reorders existing rows without selecting a new cohort or computing the value required to filter a numeric threshold. The order of rows does not implement that transformation.

D:

This equality predicate selects only its stated value, not necessarily the combination or negation required to filter a numeric threshold. Compare both the target field and comparator with `BytesSent>1048576`.

CrowdStrike Certified Falcon Hunter (CCFH-202b) Practice Tests