Free CompTIA PT0-002 Exam Braindumps (page: 25)

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): C,F



An assessor wants to run an Nmap scan as quietly as possible. Which of the following commands will give the LEAST chance of detection?

  1. nmap ג€"T3 192.168.0.1
  2. nmap ג€"P0 192.168.0.1
  3. nmap ג€"T0 192.168.0.1
  4. nmap ג€"A 192.168.0.1

Answer(s): C



A penetration tester wrote the following script to be used in one engagement:
Which of the following actions will this script perform?

  1. Look for open ports.
  2. Listen for a reverse shell.
  3. Attempt to flood open ports.
  4. Create an encrypted tunnel.

Answer(s): A



A final penetration test report has been submitted to the board for review and accepted. The report has three findings rated high. Which of the following should be the NEXT step?

  1. Perform a new penetration test.
  2. Remediate the findings.
  3. Provide the list of common vulnerabilities and exposures.
  4. Broaden the scope of the penetration test.

Answer(s): B






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

PT0-002 Exam Discussions & Posts