nerdexam
CompTIA

CS0-003 · Question #21

A security analyst recently joined the team and is trying to determine which scripting language is being used in a production script to determine if it is malicious. Given the following script: Which

Sign in or unlock CS0-003 to reveal the answer and full explanation for question #21. The question stem and answer options stay visible for context.

Submitted by chen.hong· Mar 6, 2026Security operations

Question

A security analyst recently joined the team and is trying to determine which scripting language is being used in a production script to determine if it is malicious. Given the following script:

Which of the following scripting languages was used in the script?

Exhibit

CS0-003 question #21 exhibit

Options

  • APowerShell
  • BRuby
  • CPython
  • DShell script

Unlock CS0-003 to see the answer

You've previewed enough free CS0-003 questions. Unlock CS0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Script analysis#PowerShell#Malicious scripts#Static analysis
Full CS0-003 Practice