Microsoft Security Operations Analyst Associate SC-200 Practice Question

You are writing an advanced hunting query in Microsoft Defender XDR to detect interactive launches of PowerShell that use an encoded command. The query must be:

  • Case-insensitive by default.
  • Token-aware so that it matches the exact argument "-EncodedCommand" and does not fire on terms such as "NoEncodedCommand".

Which Kusto Query Language (KQL) operator should you use in the filter that inspects the ProcessCommandLine field to meet these requirements?

  • | where ProcessCommandLine has "-EncodedCommand"

  • | where ProcessCommandLine contains_cs "-EncodedCommand"

  • | where ProcessCommandLine contains "-EncodedCommand"

  • | where ProcessCommandLine matches regex @"-EncodedCommand\b"

Microsoft Security Operations Analyst Associate SC-200
Manage security threats
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot