Python › Module 4 › Lesson 4
Quiz — Python for Security Final
Final 10-question quiz across Python basics, networking scripts, and automation
Opening
Python for Security — Final Quiz
Basics, sockets, requests, scanners, secrets, parsers, regex, hashing, and ethics—ten checks across the topic. Next: Cryptography Basics.
Knowledge Check
Python helps security teams mainly by:
Multiple choice
Knowledge Check
TCP connect scanners rely on:
Multiple choice
Knowledge Check
True or False: Scan only hosts you own or are authorized to test.
True or False
Knowledge Check
requests.get is for:
Multiple choice
Knowledge Check
Select good practices:
Select all that apply
Knowledge Check
with open(path) as f: is preferred because:
Multiple choice
Knowledge Check
True or False: Regex can extract IPs from log lines.
True or False
Knowledge Check
SHA-256 file hashing helps detect:
Multiple choice
Knowledge Check
localhost (127.0.0.1) is ideal for:
Multiple choice
Knowledge Check
Best closing habit for security scripting?
Multiple choice
Answer all 10 knowledge checks to continue. (0/10 answered)