Free PT1-002 Exam Braindumps
CompTIA PenTest+ Questions 31–35 (page: 8)

Updated On: 10-Feb-2026

A penetration tester has been contracted to review wireless security. The tester has deployed a malicious wireless AP that mimics the con guration of the target enterprise WiFi. The penetration tester now wants to try to force nearby wireless stations to connect to the malicious AP.
Which of the following steps should the tester take NEXT?

  1. Send deauthentication frames to the stations.
  2. Perform jamming on all 2.4GHz and 5GHz channels.
  3. Set the malicious AP to broadcast within dynamic frequency selection channels.
  4. Modify the malicious AP con guration to not use a pre-shared key.

Answer(s): C



A security engineer identi ed a new server on the network and wants to scan the host to determine if it is running an approved version of Linux and a patched version of Apache.
Which of the following commands will accomplish this task?

  1. nmap "f "sV "p80 192.168.1.20
  2. nmap "sS "sL "p80 192.168.1.20
  3. nmap "A "T4 "p80 192.168.1.20
  4. nmap "O "v "p80 192.168.1.20

Answer(s): C


Reference:

https://nmap.org/book/man-version-detection.html



Which of the following expressions in Python increase a variable val by one (Choose two.)

  1. val++
  2. +val
  3. val=(val+1)
  4. ++val
  5. val=val++
  6. val+=1

Answer(s): D,F


Reference:

https://stackover ow.com/questions/1485841/behaviour-of-increment-and-decrement-operators-in-python



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?

  1. Website scraping
  2. Website cloning
  3. Domain enumeration
  4. URL enumeration

Answer(s): A



Appending string values onto another string is called:

  1. compilation
  2. connection
  3. concatenation
  4. conjunction

Answer(s): C


Reference:

https://docs.microsoft.com/en-us/dotnet/csharp/how-to/concatenate-multiple-strings



Viewing page 8 of 23
Viewing questions 36 - 40 out of 110 questions


Post your Comments and Discuss CompTIA PT1-002 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!