PT0-002 Exam Details

  • Exam Code
    :PT0-002
  • Exam Name
    :CompTIA PenTest+
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :455 Q&As
  • Last Updated
    :May 31, 2026

CompTIA PT0-002 Online Questions & Answers

  • Question 211:

    Which of the following is the activity that is typically required the MOST during the post-engagement cleanup phase?

    A. Removing shells
    B. Launching new attacks
    C. Documenting vulnerabilities
    D. Requesting payment

  • Question 212:

    Which of the following is a regulatory compliance standard that focuses on user privacy by implementing the right to be forgotten?

    A. NIST SP 800-53
    B. ISO 27001
    C. GDPR

  • Question 213:

    A Chief Information Security Officer wants a penetration tester to evaluate the security awareness level of the company's employees.

    Which of the following tools can help the tester achieve this goal?

    A. Metasploit
    B. Hydra
    C. SET
    D. WPScan

  • Question 214:

    Which of the following methods is most effective for securing a wireless network by limiting unauthorized access from outside the building?

    A. Configure to stop broadcasting the SSID
    B. Using directional antennas
    C. Using WEP encryption
    D. Disabling Wi-Fi

  • Question 215:

    Which of the following is the MOST important information to have on a penetration testing report that is written for the developers?

    A. Executive summary
    B. Remediation
    C. Methodology
    D. Metrics and measures

  • Question 216:

    Given the following output:

    User-agent:*

    Disallow: /author/

    Disallow: /xmlrpc.php

    Disallow: /wp-admin

    Disallow: /page/

    During which of the following activities was this output MOST likely obtained?

    A. Website scraping
    B. Website cloning
    C. Domain enumeration
    D. URL enumeration

  • Question 217:

    A penetration tester discovers passwords in a publicly available data breach during the reconnaissance phase of the penetration test. Which of the following is the best action for the tester to take?

    A. Add the passwords to an appendix in the penetration test report.
    B. Do nothing. Using passwords from breached data is unethical.
    C. Contact the client and inform them of the breach.
    D. Use the passwords in a credential stuffing attack when the external penetration test begins.

  • Question 218:

    A penetration tester developed the following script to be used during an engagement:

    #!/usr/bin/python

    import socket, sys

    ports = [21, 22, 23, 25, 80, 139, 443, 445, 3306, 3389]

    if len(sys.argv) > 1:

    target = socket.gethostbyname (sys. argv [0])

    else:

    print ("Few arguments.")

    print ("Syntax: python {} ". format (sys. argv [0]))

    sys.exit ()

    try:

    for port in ports:

    s = socket. socket (socket. AF_INET, socket. SOCK_STREAM)

    settimeout (2)

    result = s.connect_ex ((target, port) )

    if result == 0:

    print ("Port {} is opened". format (port) )

    except KeyboardInterrupt:

    print ("\nExiting ... ")

    sys.exit ()

    However, when the penetration tester ran the script, the tester received the following message:

    socket.gaierror: [Errno -2] Name or service not known

    Which of the following changes should the penetration tester implement to fix the script?

    A. From: target = socket.gethostbyname (sys. argv [0]) To: target = socket.gethostbyname (sys.argv[1])
    B. From: s = socket. socket (socket. AF_INET, socket. SOCK_STREAM) To: s = socket.socket (socket.AF_INET, socket. SOCK_DGRAM)
    C. From: import socket, sys To: import socket import sys
    D. From: result = s.connect_ex ((target, port) ) To: result = s.connect ( (target, port) )

  • Question 219:

    Which of the following tools can a penetration tester use to brute force a user password over SSH using multiple threads?

    A. CeWL
    B. John the Ripper
    C. Hashcat
    D. Hydra

  • Question 220:

    User credentials were captured from a database during an assessment and cracked using rainbow tables.

    Based on the ease of compromise, which of the following algorithms was MOST likely used to store the passwords in the database?

    A. MD5
    B. bcrypt
    C. SHA-1
    D. PBKDF2

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-002 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.