mediumMultiple ChoiceObjective-mapped
CAS-004 Practice Question: Needs to implement a solution that will detect…
A security engineer needs to implement a solution that will detect and block command-and-control (C2) traffic from malware on the internal network. The solution must be able to inspect encrypted traffic and operate at the network layer. Which of the following is the BEST choice?
⚠ Common exam trap
It's easy for candidates to choose a network-based IDS/IPS (Option B) thinking it can inspect encrypted traffic, but without SSL/TLS decryption, it can only see encrypted payloads and cannot detect C2 commands hidden inside the encrypted tunnel.
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
✓
Deploy a next-generation firewall (NGFW) with SSL/TLS inspection and application-level filtering.
A next-generation firewall (NGFW) with SSL/TLS inspection and application-level filtering is the best choice because it can decrypt and inspect encrypted C2 traffic at the network layer, then apply application-aware rules to block malicious communications. This directly addresses the requirement to detect and block C2 traffic that uses encryption to evade traditional inspection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Implement a web application firewall (WAF) to filter outbound HTTP/HTTPS traffic.
Why it's wrong here
WAF is designed for web application attacks and may not detect non-HTTP C2 traffic.
- ✗
Install a network-based intrusion detection/prevention system (IDS/IPS) with signature updates.
Why it's wrong here
Without decryption, encrypted C2 traffic would pass through undetected.
- ✗
Use endpoint detection and response (EDR) agents on all workstations and servers.
Why it's wrong here
EDR is host-based, not network-layer, and may not block traffic before it leaves the host.
- ✓
Deploy a next-generation firewall (NGFW) with SSL/TLS inspection and application-level filtering.
Why this is correct
NGFW can decrypt SSL/TLS traffic and inspect it for C2 patterns, then block malicious flows.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 968 original CAS-005 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.