Exam Details

  • Exam Code
    :PT0-002
  • Exam Name
    :CompTIA PenTest+
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :455 Q&As
  • Last Updated
    :Apr 13, 2025

CompTIA CompTIA Certifications PT0-002 Questions & Answers

  • Question 271:

    A consulting company is completing the ROE during scoping.

    Which of the following should be included in the ROE?

    A. Cost ofthe assessment

    B. Report distribution

    C. Testing restrictions

    D. Liability

  • Question 272:

    A security firm is discussing the results of a penetration test with the client. Based on the findings, the client wants to focus the remaining time on a critical network segment. Which of the following BEST describes the action taking place?

    A. Maximizing the likelihood of finding vulnerabilities

    B. Reprioritizing the goals/objectives

    C. Eliminating the potential for false positives

    D. Reducing the risk to the client environment

  • Question 273:

    A penetration tester gains access to a system and establishes persistence, and then runs the following commands:

    cat /dev/null > temp

    touch -r .bash_history temp

    mv temp .bash_history

    Which of the following actions is the tester MOST likely performing?

    A. Redirecting Bash history to /dev/null

    B. Making a copy of the user's Bash history for further enumeration

    C. Covering tracks by clearing the Bash history

    D. Making decoy files on the system to confuse incident responders

  • Question 274:

    A penetration tester discovers during a recent test that an employee in the accounting department has been making changes to a payment system and redirecting money into a personal bank account. The penetration test was immediately stopped. Which of the following would be the BEST recommendation to prevent this type of activity in the future?

    A. Enforce mandatory employee vacations

    B. Implement multifactor authentication

    C. Install video surveillance equipment in the office

    D. Encrypt passwords for bank account information

  • Question 275:

    A penetration tester is testing input validation on a search form that was discovered on a website. Which of the following characters is the BEST option to test the website for vulnerabilities?

    A. Comma

    B. Double dash

    C. Single quote

    D. Semicolon

  • Question 276:

    A penetration tester wants to find hidden information in documents available on the web at a particular domain. Which of the following should the penetration tester use?

    A. Netcraft

    B. CentralOps

    C. Responder

    D. FOCA

  • Question 277:

    Which of the following is the MOST effective person to validate results from a penetration test?

    A. Third party

    B. Team leader

    C. Chief Information Officer

    D. Client

  • Question 278:

    A penetration tester ran a simple Python-based scanner. The following is a snippet of the code: Which of the following BEST describes why this script triggered a `probable port scan` alert in the organization's IDS?

    A. sock.settimeout(20) on line 7 caused each next socket to be created every 20 milliseconds.

    B. *range(1, 1025) on line 1 populated the portList list in numerical order.

    C. Line 6 uses socket.SOCK_STREAM instead of socket.SOCK_DGRAM

    D. The remoteSvr variable has neither been type-hinted nor initialized.

  • Question 279:

    During an assessment, a penetration tester manages to exploit an LFI vulnerability and browse the web log for a target Apache server. Which of the following steps would the penetration tester most likely try NEXT to further exploit the web server? (Choose two.)

    A. Cross-site scripting

    B. Server-side request forgery

    C. SQL injection

    D. Log poisoning

    E. Cross-site request forgery

    F. Command injection

  • Question 280:

    A penetration tester recently completed a review of the security of a core network device within a corporate environment. The key findings are as follows: The following request was intercepted going to the network device: GET /login HTTP/1.1 Host: 10.50.100.16 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Authorization: Basic WU9VUilOQU1FOnNlY3JldHBhc3N3b3jk Network management interfaces are available on the production network. An Nmap scan returned the following:

    Which of the following would be BEST to add to the recommendations section of the final report? (Choose two.)

    A. Enforce enhanced password complexity requirements.

    B. Disable or upgrade SSH daemon.

    C. Disable HTTP/301 redirect configuration.

    D. Create an out-of-band network for management.

    E. Implement a better method for authentication.

    F. Eliminate network management and control interfaces.

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.