CS0-003 Vulnerability Management Practice Question
A security analyst is configuring a container image scanning tool to identify vulnerabilities in a Docker image before deployment. Which of the following tools is commonly used for container image scanning?
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
✓
Trivy
Trivy is a popular open-source container image vulnerability scanner. It is widely used for scanning Docker images for known vulnerabilities.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Metasploit
Why it's wrong here
Metasploit is a penetration testing and exploitation framework used to validate vulnerabilities by executing payloads against target systems. It does not possess the capability to parse container image layers, manifest files, or software bills of materials (SBOMs) to detect static vulnerabilities during a build pipeline.
- ✗
Nmap
Why it's wrong here
Nmap is a network mapper and port scanner designed to discover active hosts, open ports, and running services across a network. It operates at the network layer and cannot inspect the static filesystem layers, base OS packages, or application dependencies contained within an offline container image.
- ✗
Wireshark
Why it's wrong here
Wireshark is a packet analysis tool used to capture and interactively browse network traffic at a deep level. While invaluable for troubleshooting network protocols and detecting active intrusions, it cannot analyze static container images or scan their internal libraries for known Common Vulnerabilities and Exposures (CVEs).
- ✓
Trivy
Why this is correct
Trivy is an open-source vulnerability scanner specifically designed for containers and other cloud-native targets. It quickly scans container images, filesystems, and Git repositories to detect known vulnerabilities (CVEs), misconfigurations, and leaked secrets, making it ideal for integration into CI/CD pipelines.
Go deeper
Related to this question
Learn chapter
Privileged Access Management and PAM Tools
Key term
Vulnerability
A vulnerability is a weakness in a system, network, or software that could be exploited by a threat to cause harm or unauthorized access.
Key term
Security
Security in IT is the practice of protecting systems, networks, and data from unauthorized access, damage, or theft.
About these practice questions
One of 701 original CS0-004 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 CS0-004 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 CS0-004 exam.