exam questions

Exam PT0-001 All Questions

View all questions & answers for the PT0-001 exam

Exam PT0-001 topic 1 question 143 discussion

Actual exam question from CompTIA's PT0-001
Question #: 143
Topic #: 1
[All PT0-001 Questions]

DRAG DROP -
Instructions:
Analyze the code segments to determine which sections are needed to complete a port scanning script.
Drag the appropriate elements into the correct locations to complete the script.
If at any time you would like to bring back the initial state of the simulation, please click the reset all button.
During a penetration test, you gain access to a system with a limited user interface. This machine appears to have access to an isolated network that you would like to port scan.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
QualityRich
Highly Voted 4 years, 1 month ago
1 = #1/usr/bin/python 2 = ports = [21,22] 3 = for port in ports: 4 = port_scan(sys.argv[1], ports)
upvoted 17 times
...
Dave1212
Highly Voted 4 years, 1 month ago
Careful, the last answer is incorrect. Note the function was defined in the question as: def port_scan() and not run_scan()
upvoted 7 times
mdmdmd
4 years, 1 month ago
and the correct one is?
upvoted 1 times
0liver
4 years, 1 month ago
I have a full recording off the test about 40 new questions are on the exam that no dumbs website has I failed the exam. As prep away and certbus did not have the new questions
upvoted 1 times
CookieMonster50
4 years, 1 month ago
@oliver are you saying the new questions are not on this review?
upvoted 1 times
[Removed]
4 years ago
I had only 15 from here and 50 new and didn't pass
upvoted 1 times
DrChats
4 years ago
@Ron85, did you get the 'contributor access' and go through ALL 195 questions
upvoted 1 times
...
...
...
deeee
3 years, 10 months ago
can you share the recording
upvoted 1 times
...
...
...
...
Cock
Most Recent 3 years, 5 months ago
It was on the exam. This question is not complete. Distinguish between port_scan and run_scan
upvoted 6 times
...
Please note that it was defined as port_scan!!! The rest of this answer looks right because are looking at a python script.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...