Exam Details

  • Exam Code
    :PT0-003
  • Exam Name
    :CompTIA PenTest+
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :271 Q&As
  • Last Updated
    :Mar 30, 2025

CompTIA CompTIA Certifications PT0-003 Questions & Answers

  • Question 211:

    A penetration tester gains access to a Windows machine and wants to further enumerate users with native operating system credentials. Which of the following should the tester use?

    A. route.exe print

    B. netstat.exe -ntp

    C. net.exe commands

    D. strings.exe -a

  • Question 212:

    During an assessment, a penetration tester manages to get RDP access via a low-privilege user. The tester attempts to escalate privileges by running the following commands:

    Import-Module .\PrintNightmare.ps1

    Invoke-Nightmare -NewUser "hacker" -NewPassword "Password123!" -DriverName "Print" The tester attempts to further enumerate the host with the new administrative privileges by using the runas command. However, the access level is

    still low.

    Which of the following actions should the penetration tester take next?

    A. Log off and log on with "hacker".

    B. Attempt to add another user.

    C. Bypass the execution policy.

    D. Add a malicious printer driver.

  • Question 213:

    A penetration tester is evaluating a SCADA system. The tester receives local access to a workstation that is running a single application. While navigating through the application, the tester opens a terminal window and gains access to the

    underlying operating system.

    Which of the following attacks is the tester performing?

    A. Kiosk escape

    B. Arbitrary code execution

    C. Process hollowing

    D. Library injection

  • Question 214:

    Which of the following is the most efficient way to infiltrate a file containing data that could be sensitive?

    A. Use steganography and send the file over FTP

    B. Compress the file and send it using TFTP

    C. Split the file in tiny pieces and send it over dnscat

    D. Encrypt and send the file over HTTPS

  • Question 215:

    In a file stored in an unprotected source code repository, a penetration tester discovers the following line of code:

    sshpass -p donotchange ssh [email protected]

    Which of the following should the tester attempt to do next to take advantage of this information? (Select two).

    A. Use Nmap to identify all the SSH systems active on the network.

    B. Take a screen capture of the source code repository for documentation purposes.

    C. Investigate to find whether other files containing embedded passwords are in the code repository.

    D. Confirm whether the server 192.168.6.14 is up by sending ICMP probes.

    E. Run a password-spraying attack with Hydra against all the SSH servers.

    F. Use an external exploit through Metasploit to compromise host 192.168.6.14.

  • Question 216:

    A penetration tester is working on a security assessment of a mobile application that was developed in-house for local use by a hospital. The hospital and its customers are very concerned about disclosure of information. Which of the following tasks should the penetration tester do first?

    A. Set up Drozer in order to manipulate and scan the application.

    B. Run the application through the mobile application security framework.

    C. Connect Frida to analyze the application at runtime to look for data leaks.

    D. Load the application on client-owned devices for testing.

  • Question 217:

    A penetration tester is performing an authorized physical assessment. During the test, the tester observes an access control vestibule and on-site security guards near the entry door in the lobby. Which of the following is the best attack plan for the tester to use in order to gain access to the facility?

    A. Clone badge information in public areas of the facility to gain access to restricted areas.

    B. Tailgate into the facility during a very busy time to gain initial access.

    C. Pick the lock on the rear entrance to gain access to the facility and try to gain access.

    D. Drop USB devices with malware outside of the facility in order to gain access to internal machines.

  • Question 218:

    In a cloud environment, a security team discovers that an attacker accessed confidential information that was used to configure virtual machines during their initialization. Through which of the following features could this information have been accessed?

    A. IAM

    B. Block storage

    C. Virtual private cloud

    D. Metadata services

  • Question 219:

    A penetration tester wants to use the following Bash script to identify active servers on a network:

    1 network_addr="192.168.1"

    2 for h in {1..254}; do

    3 ping -c 1 -W 1 $network_addr.$h > /dev/null

    4 if [ $? -eq 0 ]; then

    5 echo "Host $h is up" 6 else

    7 echo "Host $h is down"

    8 fi

    9 done

    Which of the following should the tester do to modify the script?

    A. Change the condition on line 4.

    B. Add 2>and1 at the end of line 3.

    C. Use seq on the loop on line 2.

    D. Replace $h with ${h} on line 3.

  • Question 220:

    SIMULATION

    You are a penetration tester running port scans on a server.

    INSTRUCTIONS

    Part 1: Given the output, construct the command that was used to generate this output from the available options.

    Part 2: Once the command is appropriately constructed, use the given output to identify the potential attack vectors that should be investigated further.

    If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

    A.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PT0-003 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.