easyMultiple SelectObjective-mapped
CAS-004 Practice Question: An analyst wants to automate incident response…
An analyst wants to automate incident response tasks in a SOC environment. Which THREE scripting languages are commonly used for automation? (Choose three.)
⚠ Common exam trap
The CAS-004 exam often tests the distinction between compiled languages (like Java) and interpreted scripting languages, leading candidates to mistakenly select Java because of its popularity, ignoring that it is not a scripting language used for automation in SOC environments.
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
✓
Python
Python is correct because it is a versatile, high-level scripting language widely used in SOC automation for tasks such as parsing logs, interacting with REST APIs, and orchestrating incident response workflows. Its extensive libraries (e.g., requests, pandas, and boto3 for AWS) and cross-platform support make it ideal for automating repetitive security operations tasks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Python
Why this is correct
Python is popular for its rich libraries and cross-platform support.
- ✓
PowerShell
Why this is correct
PowerShell is native to Windows and widely used for automation.
- ✗
Java
Why it's wrong here
Java is more suited for large applications, not ad-hoc automation.
- ✗
COBOL
Why it's wrong here
COBOL is outdated and not used for modern automation.
- ✓
Bash
Why this is correct
Bash is standard on Linux/Unix for system automation.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CAS-005 question from scratch — 968 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CAS-005 practice question is part of Courseiva's free CompTIA 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 CAS-005 exam.