312-85 Threat Hunting And Detection Practice Question
During an investigation, you observe suspicious PowerShell execution with the -EncodedCommand flag. Which log provider should you consult to see the decoded script block content?
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
✓
Microsoft-Windows-PowerShell/Operational ID 4104
The Microsoft-Windows-PowerShell/Operational log (Event ID 4104) captures the full script block text, even if obfuscated or encoded.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
System Event ID 7040
Why it's wrong here
This relates to service start types.
- ✓
Microsoft-Windows-PowerShell/Operational ID 4104
Why this is correct
This log provides the full de-obfuscated script content.
- ✗
Application Event ID 1000
Why it's wrong here
This indicates application crashes.
- ✗
Security Event ID 4688
Why it's wrong here
4688 shows the command line but not the decoded script content.
About these practice questions
This 312-85 question is part of Courseiva's 195-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 →
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 EC-Council exam blueprint
This 312-85 practice question is part of Courseiva's free EC-Council 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 312-85 exam.