CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free CompTIA PenTest+ PT0-002 Practice Question

During a penetration test, you're tasked with automating the process of scanning a network to identify live hosts and then perform a vulnerability scan on the discovered hosts. Which of the following scripting approaches allows you to meet the requirement while adhering to best practices for efficient and effective test automation?

  • Using a script that incorporates an initial ping sweep to identify live hosts and then dynamically passing the list of live IP addresses to a vulnerability scanner

  • Running a full vulnerability scan on the entire IP range of the network without performing host discovery.

  • Performing a vulnerability scan using random sampling of IP addresses in the network to predict the presence of live hosts.

  • Manually logging the IP addresses of live hosts and then using a seperate tool to scan each IP address for vulnerabilities.

This question is for objective:
Tools and Code Analysis
Your Score:
Tools and Code Analysis
Information Gathering and Vulnerability Scanning
Attacks and Exploits
Reporting and Communication
Planning and Scoping