CompTIACompTIA
PT0-003 · Question #268
PT0-003 Question #268: Real Exam Question with Answer & Explanation
Sign in or unlock PT0-003 to reveal the answer and full explanation for question #268. The question stem and answer options stay visible for context.
Submitted by yasin.bd· Mar 6, 2026Reconnaissance and enumeration
Question
A penetration tester creates the following Python script that can be used to enumerate information about email accounts on a target mail server: Which of the following logic constructs would permit the script to continue despite failure?
Options
- AAdd a do/while loop.
- BAdd an iterator.
- CAdd a try/except block.
- DAdd an conditional.
Unlock PT0-003 to see the answer
You've previewed enough free PT0-003 questions. Unlock PT0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Python scripting#Error handling#Script resilience#Enumeration tools