Courseiva
Incident Detection And ResponsehardMultiple ChoiceObjective-mapped

CCOA Incident Detection And Response Practice Question

You are investigating a PowerShell-based attack. The attacker is using Base64 encoded commands. Which command line switch often indicates the use of encoded code?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

-EncodedCommand

The '-EncodedCommand' (or '-e', '-enc') switch in PowerShell is a common flag used to execute obfuscated or Base64 encoded scripts.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • -WindowStyle Hidden

    Why it's wrong here

    Hides the window but doesn't handle encoding.

  • -EncodedCommand

    Why this is correct

    Used to execute base64-encoded strings.

  • -NoProfile

    Why it's wrong here

    Prevents loading user profile scripts.

  • -ExecutionPolicy Bypass

    Why it's wrong here

    Overrides security settings, not encoding.

About these practice questions

This CCOA question is part of Courseiva's 203-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official ISACA exam blueprint

This CCOA practice question is part of Courseiva's free ISACA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCOA exam.